/external/chromium_org/chrome/browser/ui/cocoa/autofill/ |
autofill_bubble_controller.mm | 49 label_.reset([[NSTextField alloc] init]); 50 [label_ setEditable:NO]; 51 [label_ setBordered:NO]; 52 [label_ setDrawsBackground:NO]; 53 [label_ setStringValue:message]; 55 labelFrame.size = [[label_ cell] cellSizeForBounds: 57 [label_ setFrame:labelFrame]; 58 [[self bubble] addSubview:label_]; 62 NSMaxX([label_ frame]), 63 NSHeight([label_ frame]) + info_bubble::kBubbleArrowHeight) [all...] |
autofill_suggestion_container.mm | 104 label_.reset([[NSTextView alloc] initWithFrame:NSZeroRect]); 105 [[label_ textContainer] setLineFragmentPadding:kLineFragmentPadding]; 106 [label_ setEditable:NO]; 107 [label_ setSelectable:NO]; 108 [label_ setDrawsBackground:NO]; 112 [paragraphStyle setLineSpacing:0.5 * [[label_ font] pointSize]]; 113 [label_ setDefaultParagraphStyle:paragraphStyle]; 124 @[ label_, inputField_, spacer_ ]]; 129 [label_ setString:@""]; 139 [[label_ textStorage] setAttributedString [all...] |
autofill_overlay_controller.mm | 35 base::scoped_nsobject<NSTextField> label_; 79 label_.reset([[NSTextField alloc] initWithFrame:NSZeroRect]); 80 [label_ setEditable:NO]; 81 [label_ setBordered:NO]; 82 [label_ setDrawsBackground:NO]; 83 [label_ setAlignment:NSCenterTextAlignment]; 84 [self addSubview:label_]; 90 return NSHeight([label_ frame]) + autofill::kArrowHeight + 96 [label_ setFont:message.font.GetNativeFont()]; 97 [label_ setStringValue:base::SysUTF16ToNSString(message.text)] [all...] |
/external/chromium/chrome/browser/ui/views/infobars/ |
translate_message_infobar.cc | 14 label_(NULL), 24 gfx::Size label_size = label_->GetPreferredSize(); 25 label_->SetBounds(StartX(), OffsetY(label_size), 32 button_->SetBounds(label_->bounds().right() + kButtonInLabelSpacing, 40 if (is_add && (child == this) && (label_ == NULL)) { 42 label_ = CreateLabel(delegate->GetMessageInfoBarText()); 43 AddChildView(label_);
|
translate_message_infobar.h | 24 views::Label* label_; member in class:TranslateMessageInfoBar
|
/external/chromium_org/chrome/browser/ui/views/infobars/ |
translate_message_infobar.cc | 14 label_(NULL), 24 gfx::Size label_size = label_->GetPreferredSize(); 25 label_->SetBounds(StartX(), OffsetY(label_size), 32 button_->SetBounds(label_->bounds().right() + kButtonInLabelSpacing, 39 if (details.is_add && (details.child == this) && (label_ == NULL)) { 41 label_ = CreateLabel(delegate->GetMessageInfoBarText()); 42 AddChildView(label_);
|
translate_message_infobar.h | 26 views::Label* label_; member in class:TranslateMessageInfoBar
|
/external/chromium_org/ash/system/monitor/ |
tray_monitor.cc | 26 label_(NULL) { 33 label_ = NULL; 39 label_ = view->label(); 40 label_->SetAutoColorReadabilityEnabled(false); 41 label_->SetEnabledColor(SK_ColorWHITE); 42 label_->SetBackgroundColor(SkColorSetARGB(0, 255, 255, 255)); 43 label_->SetShadowColors(SkColorSetARGB(64, 0, 0, 0), 45 label_->SetShadowOffset(0, 1); 46 label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); 47 label_->SetFont(label_->font().DeriveFont(-2)) [all...] |
/external/chromium/chrome/browser/ui/views/location_bar/ |
icon_label_bubble_view.cc | 30 label_ = new views::Label(); 31 AddChildView(label_); 32 label_->SetColor(color); 39 label_->SetFont(font); 43 label_->SetText(label); 56 size.Enlarge(label_->GetPreferredSize().width(), 0); 64 const int label_height = label_->GetPreferredSize().height(); 65 label_->SetBounds(GetPreLabelWidth(), (height() - label_height) / 2, 70 label_->SetElideInMiddle(elide_in_middle);
|
/external/chromium_org/ash/system/tray/ |
tray_item_more.cc | 25 label_(NULL), 33 label_ = new views::Label; 34 label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); 35 AddChildView(label_); 50 label_->SetText(label); 94 if (label_->bounds().Intersects(more_->bounds())) { 95 gfx::Rect bounds = label_->bounds(); 96 bounds.set_width(more_->x() - kTrayPopupPaddingBetweenItems - label_->x()); 97 label_->SetBoundsRect(bounds);
|
/external/chromium_org/ui/views/examples/ |
slider_example.cc | 19 label_(NULL) { 26 label_ = new Label(); 33 container->AddChildView(label_); 40 label_->SetText(ASCIIToUTF16(base::StringPrintf("%.3lf", value)));
|
/external/chromium_org/chrome/browser/chromeos/ui/ |
echo_dialog_view.cc | 31 : label_(NULL), 53 label_ = new views::StyledLabel(text, this); 58 label_->AddStyleRange( 65 label_->AddStyleRange(gfx::Range(offsets[1], offsets[1] + link.length()), 70 AddChildView(label_); 84 label_ = new views::StyledLabel(text, this); 89 label_->AddStyleRange(gfx::Range(offset, offset + link.length()), link_style); 93 AddChildView(label_); 164 label_->GetHeightForWidth(kDialogLabelPreferredWidth)); 171 label_->set_border(views::Border::CreateEmptyBorder [all...] |
/external/chromium_org/ash/system/chromeos/ |
tray_tracing.cc | 42 label_ = new views::Label(); 43 label_->SetMultiLine(true); 44 label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); 45 label_->SetText(bundle.GetLocalizedString(IDS_ASH_STATUS_TRAY_TRACING)); 46 AddChildView(label_); 59 views::Label* label_; member in class:ash::internal::tray::DefaultTracingView
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
icon_label_bubble_view.cc | 28 label_(new views::Label(base::string16(), font_list)), 45 label_->SetEnabledColor(text_color); 63 label_->SetBackgroundColor( 68 label_->SetElideBehavior(views::Label::ELIDE_IN_MIDDLE); 69 AddChildView(label_); 76 label_->SetText(label); 85 return GetSizeForLabelWidth(label_->GetPreferredSize().width()); 92 label_->SetBounds(pre_label_width, 0,
|
/external/chromium_org/media/base/ |
text_track_config.cc | 18 label_(label), 25 config.label() == label_ &&
|
/external/chromium_org/ui/views/controls/button/ |
label_button.cc | 43 label_(new Label()), 55 AddChildView(label_); 56 label_->SetAutoColorReadabilityEnabled(false); 57 label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); 79 return label_->text(); 84 label_->SetText(text); 90 label_->SetDisabledColor(color); 92 label_->SetEnabledColor(color); 97 return label_->is_multi_line(); 101 label_->SetMultiLine(text_multi_line) [all...] |
/external/chromium/chrome/browser/ui/cocoa/location_bar/ |
selected_keyword_decoration_unittest.mm | 45 EXPECT_NSEQ(kFullString, decoration_.label_); 52 EXPECT_NSEQ(kFullString, decoration_.label_); 58 EXPECT_NSEQ(kPartialString, decoration_.label_); 64 EXPECT_NSEQ(kFullString, decoration_.label_);
|
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/ |
selected_keyword_decoration_unittest.mm | 44 EXPECT_NSEQ(kFullString, decoration_.label_); 51 EXPECT_NSEQ(kFullString, decoration_.label_); 57 EXPECT_NSEQ(kPartialString, decoration_.label_); 63 EXPECT_NSEQ(kFullString, decoration_.label_);
|
/external/chromium_org/ash/shell/ |
bubble.cc | 25 label_(config.label) {} 29 views::Label* label = new views::Label(label_); 34 base::string16 label_; member in class:ash::shell::ExampleBubbleDelegateView
|
/external/chromium_org/chrome/browser/extensions/api/dial/ |
dial_device_data.cc | 38 std::string label_tmp(label_); 43 label_ = label_tmp; 50 device->device_label = label_;
|
/external/chromium_org/ui/message_center/views/ |
bounded_label.cc | 262 label_.reset(new InnerBoundedLabel(*this)); 263 label_->SetFontList(font_list); 264 label_->SetText(text); 269 label_.reset(new InnerBoundedLabel(*this)); 270 label_->SetText(text); 277 label_->SetEnabledColor(textColor); 278 label_->SetBackgroundColor(backgroundColor); 282 label_->SetLineHeight(height); 290 return label_->line_height(); 298 return visible() ? label_->GetLinesForWidthAndLimit(width, limit) : 0 [all...] |
/external/chromium/chrome/browser/speech/ |
speech_input_bubble_gtk.cc | 63 GtkWidget* label_; member in class:__anon2139::SpeechInputBubbleGtk 81 label_(NULL), 133 label_ = gtk_label_new(NULL); 134 gtk_util::SetLabelColor(label_, &kLabelTextColor); 135 gtk_box_pack_start(GTK_BOX(vbox), label_, FALSE, FALSE, local 198 gtk_label_set_text(GTK_LABEL(label_), 200 gtk_widget_show(label_); 208 gtk_label_set_text(GTK_LABEL(label_), 211 gtk_widget_show(label_); 213 gtk_widget_hide(label_); [all...] |
/external/chromium_org/ash/system/chromeos/screen_security/ |
screen_tray_item.cc | 49 label_(NULL), 72 if (label_->bounds().Intersects(stop_button_->bounds())) { 73 gfx::Rect label_bounds = label_->bounds(); 75 stop_button_->x() - kTrayPopupPaddingBetweenItems - label_->x()); 76 label_->SetBoundsRect(label_bounds); 97 label_ = new views::Label; 98 label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); 99 label_->SetMultiLine(true); 100 label_->SetText(label_text_); 101 AddChildView(label_); [all...] |
/external/chromium_org/chrome/browser/ui/gtk/ |
speech_recognition_bubble_gtk.cc | 72 GtkWidget* label_; member in class:__anon6106::SpeechRecognitionBubbleGtk 90 label_(NULL), 136 label_ = gtk_label_new(NULL); 137 gtk_util::SetLabelColor(label_, &kLabelTextColor); 138 gtk_box_pack_start(GTK_BOX(vbox), label_, FALSE, FALSE, local 221 gtk_label_set_text(GTK_LABEL(label_), 223 gtk_widget_show(label_); 231 gtk_label_set_text(GTK_LABEL(label_), 234 gtk_widget_show(label_); 236 gtk_widget_hide(label_); [all...] |
/external/chromium_org/content/renderer/media/ |
webinbandtexttrack_impl.cc | 19 label_(label), 43 return label_;
|