chrome/browser/chromeos/input_method/candidate_window_view.cc
// Specify the alignment and initialize the control.
Specify the alignment and initialize the control.
Specify the alignment and initialize the control .
InformationTextArea(gfx::HorizontalAlignment align, int minWidth)
      : minWidth_(minWidth) {
    label_ = new views::Label;
    label_->SetHorizontalAlignment(align);
    const gfx::Insets kInsets(2, 2, 2, 4);
    views::View* contents = WrapWithPadding(label_, kInsets);
    SetContents(contents);
    contents->set_border(
        views::Border::CreateSolidBorder(1, kFrameColor));
    contents->set_background(
        views::Background::CreateVerticalGradientBackground(
            kFooterTopColor,
            kFooterBottomColor));
    label_->SetBackgroundColor(contents->background()->get_color());
  }
InformationTextArea ( gfx :: HorizontalAlignment align , int minWidth ) : minWidth_ ( minWidth ) { label_ = new views :: Label ; label_ -> SetHorizontalAlignment ( align ) ; const gfx :: Insets kInsets ( 2 , 2 , 2 , 4 ) ; views :: View * contents = WrapWithPadding ( label_ , kInsets ) ; SetContents ( contents ) ; contents -> set_border ( views :: Border :: CreateSolidBorder ( 1 , kFrameColor ) ) ; contents -> set_background ( views :: Background :: CreateVerticalGradientBackground ( kFooterTopColor , kFooterBottomColor ) ) ; label_ -> SetBackgroundColor ( contents -> background ( ) -> get_color ( ) ) ; }
Specify the alignment and initialize the control.
Specify the alignment and initialize the control .