/external/chromium_org/ui/views/examples/ |
H A D | slider_example.cc | 19 label_(NULL) { 26 label_ = new Label(); 33 container->AddChildView(label_); 40 label_->SetText(base::ASCIIToUTF16(base::StringPrintf("%.3lf", value)));
|
H A D | slider_example.h | 34 Label* label_; member in class:views::examples::SliderExample
|
/external/chromium_org/ash/system/tray/ |
H A D | tray_item_more.cc | 24 label_(NULL), 32 label_ = new views::Label; 33 label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); 34 AddChildView(label_); 49 label_->SetText(label); 93 if (label_->bounds().Intersects(more_->bounds())) { 94 gfx::Rect bounds = label_->bounds(); 95 bounds.set_width(more_->x() - kTrayPopupPaddingBetweenItems - label_->x()); 96 label_->SetBoundsRect(bounds);
|
/external/chromium_org/chrome/browser/chromeos/ui/ |
H A D | 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_ [all...] |
H A D | kiosk_external_update_notification.cc | 55 void SetMessage(const base::string16& message) { label_->SetText(message); } 72 label_ = new views::Label; 73 label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); 75 label_->SetFontList(rb.GetFontList(ui::ResourceBundle::BoldFont)); 76 label_->SetEnabledColor(kTextColor); 77 label_->SetDisabledColor(kTextColor); 78 label_->SetAutoColorReadabilityEnabled(false); 79 label_->SetMultiLine(true); 80 AddChildView(label_); 95 views::Label* label_; // owne member in class:chromeos::KioskExternalUpdateNotificationView [all...] |
/external/chromium_org/ash/system/chromeos/session/ |
H A D | logout_confirmation_dialog.cc | 38 label_ = new views::Label; 39 label_->SetBorder(views::Border::CreateEmptyBorder( 41 label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); 42 label_->SetMultiLine(true); 43 AddChildView(label_); 100 label_->SetText(l10n_util::GetStringFUTF16( 107 label_->SetText(l10n_util::GetStringUTF16(
|
/external/chromium_org/ui/views/accessibility/ |
H A D | native_view_accessibility_unittest.cc | 37 label_.reset(new Label); 38 button_->AddChildView(label_.get()); 39 label_accessibility_ = NativeViewAccessibility::Create(label_.get()); 53 scoped_ptr<Label> label_; member in class:views::test::NativeViewAccessibilityTest 70 EXPECT_EQ(label_->GetNativeViewAccessible(),
|
/external/chromium_org/ash/shell/ |
H A D | 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/ash/system/chromeos/ |
H A D | tray_tracing.cc | 39 label_ = new views::Label(); 40 label_->SetMultiLine(true); 41 label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); 42 label_->SetText(bundle.GetLocalizedString(IDS_ASH_STATUS_TRAY_TRACING)); 43 AddChildView(label_); 56 views::Label* label_; member in class:ash::tray::DefaultTracingView
|
/external/chromium_org/chromeos/login/auth/ |
H A D | key.cc | 32 label_(other.label_) { 48 other.secret_ == secret_ && other.label_ == label_; 60 return label_; 64 label_ = label;
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
H A D | icon_label_bubble_view.cc | 26 label_(new views::Label(base::string16(), font_list)), 43 label_->SetEnabledColor(text_color); 61 label_->SetBackgroundColor( 66 label_->SetElideBehavior(gfx::ELIDE_MIDDLE); 67 AddChildView(label_); 74 label_->SetText(label); 83 return GetSizeForLabelWidth(label_->GetPreferredSize().width()); 90 label_->SetBounds(pre_label_width, 0,
|
/external/chromium_org/media/base/ |
H A D | text_track_config.cc | 18 label_(label), 25 config.label() == label_ &&
|
H A D | text_track_config.h | 35 const std::string& label() const { return label_; } 41 std::string label_; member in class:media::TextTrackConfig
|
/external/chromium_org/chrome/browser/ui/views/infobars/ |
H A D | confirm_infobar.cc | 29 label_(NULL), 45 labels.push_back(label_); 49 label_->SetPosition(gfx::Point(x, OffsetY(label_))); 50 if (!label_->text().empty()) 51 x = label_->bounds().right() + kEndOfLabelSpacing; 66 if (details.is_add && details.child == this && (label_ == NULL)) { 68 label_ = CreateLabel(delegate->GetMessageText()); 69 AddChildView(label_); 113 return label_ [all...] |
/external/chromium_org/ash/system/user/ |
H A D | tray_user.cc | 48 label_(NULL) { 122 label_ = NULL; 164 (need_label != (label_ != NULL))) { 167 label_ = new views::Label; 168 SetupLabelForTray(label_); 169 layout_view_->AddChildView(label_); 171 label_ = NULL; 182 label_->SetText( 185 label_->SetText(l10n_util::GetStringUTF16(IDS_ASH_STATUS_TRAY_GUEST_LABEL)); 195 // Update layout after setting label_ an [all...] |
/external/chromium_org/ash/system/chromeos/screen_security/ |
H A D | screen_tray_item.cc | 47 label_(NULL), 70 if (label_->bounds().Intersects(stop_button_->bounds())) { 71 gfx::Rect label_bounds = label_->bounds(); 73 stop_button_->x() - kTrayPopupPaddingBetweenItems - label_->x()); 74 label_->SetBoundsRect(label_bounds); 95 label_ = new views::Label; 96 label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); 97 label_->SetMultiLine(true); 98 label_->SetText(label_text_); 99 AddChildView(label_); [all...] |
/external/chromium_org/chrome/browser/chromeos/power/ |
H A D | idle_action_warning_dialog_view.cc | 63 label_(NULL) { 64 label_ = new FixedWidthLabel(kIdleActionWarningContentWidth); 65 label_->SetBorder( 70 AddChildView(label_); 118 label_->SetText(l10n_util::GetStringFUTF16(
|
/external/chromium_org/ui/views/controls/button/ |
H A D | label_button.cc | 64 label_(new Label()), 80 AddChildView(label_); 81 label_->SetFontList(cached_normal_font_list_); 82 label_->SetAutoColorReadabilityEnabled(false); 83 label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); 105 return label_->text(); 110 label_->SetText(text); 116 label_->SetDisabledColor(color); 118 label_->SetEnabledColor(color); 123 label_ [all...] |
/external/chromium_org/ui/message_center/views/ |
H A D | bounded_label_unittest.cc | 62 return label_->GetWrappedTextForTest(width, lines_); 67 label_->SetBounds(0, 0, width, font_list_.GetHeight() * lines_); 68 return label_->GetLinesForWidthAndLimit(width, lines_); 76 label_.reset(new BoundedLabel(text, font_list_)); 77 label_->SetLineLimit(lines_); 87 scoped_ptr<BoundedLabel> label_; member in class:message_center::test::BoundedLabelTest
|
H A D | bounded_label.cc | 265 label_.reset(new InnerBoundedLabel(*this)); 266 label_->SetFontList(font_list); 267 label_->SetText(text); 272 label_.reset(new InnerBoundedLabel(*this)); 273 label_->SetText(text); 280 label_->SetEnabledColor(textColor); 281 label_->SetBackgroundColor(backgroundColor); 285 label_->SetLineHeight(height); 293 label_->SetText(text); 297 return label_ [all...] |
/external/chromium_org/media/blink/ |
H A D | webinbandtexttrack_impl.cc | 19 label_(label), 43 return label_;
|
/external/chromium_org/tools/gn/ |
H A D | item.h | 30 const Label& label() const { return label_; } 57 Label label_; member in class:Item
|
/external/chromium_org/chrome/browser/extensions/api/dial/ |
H A D | dial_device_data.cc | 38 std::string label_tmp(label_); 43 label_ = label_tmp; 50 device->device_label = label_;
|
H A D | dial_device_data.h | 43 const std::string& label() const { return label_; } 45 label_ = label; 81 std::string label_; member in class:extensions::DialDeviceData
|
/external/chromium_org/ui/views/corewm/ |
H A D | tooltip_aura.cc | 54 label_.set_owned_by_client(); 55 label_.SetMultiLine(true); 59 label_.SetBorder(Border::CreateEmptyBorder( 190 TrimTooltipToFit(label_.font_list(), GetMaxWidth(location), &trimmed_text, 192 label_.SetText(trimmed_text); 196 widget_->SetContentsView(&label_); 200 label_.SizeToFit(max_width + label_.GetInsets().width()); 201 SetTooltipBounds(location, label_.size()); 204 label_ [all...] |