/external/chromium/chrome/browser/ui/cocoa/toolbar/ |
D | toolbar_button_unittest.mm | 59 button_ = button.get(); 61 [button_ setTag:IDC_HOME]; 62 [button_ setTarget:button_]; 63 [button_ setAction:@selector(doAction:)]; 64 [[test_window() contentView] addSubview:button_]; 66 NSRect bounds = [button_ bounds]; 92 TestableToolbarButton* button_; 105 TEST_VIEW(ToolbarButtonTest, button_) 110 [button_ otherMouseDown:other_down_in_view]; 111 EXPECT_EQ(NSOffState, [button_ state]); [all …]
|
D | reload_button_unittest.mm | 29 button_ = button.get(); 32 [button_ setTag:IDC_RELOAD]; 33 [button_ awakeFromNib]; 35 [[test_window() contentView] addSubview:button_]; 38 ReloadButton* button_; 41 TEST_VIEW(ReloadButtonTest, button_) 45 EXPECT_TRUE([[button_ trackingAreas] containsObject:[button_ trackingArea]]); 47 EXPECT_FALSE([button_ isMouseInside]); 48 [button_ mouseEntered:nil]; 49 EXPECT_TRUE([button_ isMouseInside]); [all …]
|
D | back_forward_menu_controller.mm | 32 button_ = button; 39 [button_ setAttachedMenu:backForwardMenu_]; 40 [button_ setOpenMenuOnClick:NO];
|
D | back_forward_menu_controller.h | 29 MenuButton* button_; // Weak; comes from nib. variable
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | hover_image_button_unittest.mm | 24 button_ = button.get(); 25 [[test_window() contentView] addSubview:button_]; 32 HoverImageButton* button_; 40 [button_ setDefaultImage:image]; 41 [button_ setHoverImage:hover]; 43 [button_ mouseEntered:nil]; 44 [button_ drawRect:[button_ frame]]; 45 EXPECT_EQ([button_ image], hover); 46 [button_ mouseExited:nil]; 47 [button_ drawRect:[button_ frame]]; [all …]
|
D | profile_menu_button_unittest.mm | 18 button_ = button.get(); 19 [[test_window() contentView] addSubview:button_]; 22 ProfileMenuButton* button_; 74 TEST_VIEW(ProfileMenuButtonTest, button_); 77 NSRect mouseRect = NSInsetRect([button_ frame], 1, 1); 83 EXPECT_NSEQ([button_ hitTest:topRight], button_); 84 EXPECT_NSEQ([button_ hitTest:bottomRight], NULL); 85 EXPECT_NSEQ([button_ hitTest:outsidePoint], NULL); 88 [button_ setProfileDisplayName:@"Test"]; 89 [button_ setShouldShowProfileDisplayName:YES]; [all …]
|
D | menu_button_unittest.mm | 66 button_ = button.get(); 69 [button_ setCell:cell.get()]; 70 [[test_window() contentView] addSubview:button_]; 82 MenuButton* button_; 85 TEST_VIEW(MenuButtonTest, button_); 92 [button_ setAttachedMenu:menu]; 93 EXPECT_TRUE([button_ attachedMenu]); 105 [button_ setAttachedMenu:menu]; 106 [button_ setOpenMenuOnClick:YES]; 112 [button_ performClick:nil];
|
/external/chromium/chrome/browser/ui/gtk/ |
D | hover_controller_gtk.cc | 15 button_(button) { in HoverControllerGtk() 16 g_object_ref(button_); in HoverControllerGtk() 17 gtk_chrome_button_set_hover_state(GTK_CHROME_BUTTON(button_), 0); in HoverControllerGtk() 19 signals_.Connect(button_, "enter-notify-event", in HoverControllerGtk() 21 signals_.Connect(button_, "leave-notify-event", in HoverControllerGtk() 23 signals_.Connect(button_, "destroy", in HoverControllerGtk() 25 signals_.Connect(button_, "hierarchy-changed", in HoverControllerGtk() 29 if (g_object_get_data(G_OBJECT(button_), kHoverControllerGtkKey)) in HoverControllerGtk() 58 gtk_chrome_button_set_hover_state(GTK_CHROME_BUTTON(button_), -1.0); in Destroy() 60 g_object_set_data(G_OBJECT(button_), kHoverControllerGtkKey, NULL); in Destroy() [all …]
|
D | back_forward_button_gtk.cc | 45 button_.reset(new CustomDrawButton( in BackForwardButtonGtk() 74 button_->UnsetPaintOverride(); in StoppedShowing() 83 button_->SetPaintOverride(GTK_STATE_ACTIVE); in ShowBackForwardMenu()
|
D | back_forward_button_gtk.h | 31 GtkWidget* widget() { return button_->widget(); } in widget() 53 scoped_ptr<CustomDrawButton> button_; variable
|
D | hover_controller_gtk.h | 25 GtkWidget* button() { return button_; } in button() 60 GtkWidget* button_; variable
|
D | browser_actions_toolbar_gtk.cc | 95 button_.reset(new CustomDrawButton( in BrowserActionButton() 143 GtkWidget* button() { return button_->widget(); } in button() 219 button_->UnsetPaintOverride(); in StoppedShowing() 279 action->button_->SetPaintOverride(GTK_STATE_ACTIVE); in OnButtonPress() 329 scoped_ptr<CustomDrawButton> button_; member in BrowserActionButton
|
/external/chromium/chrome/browser/ui/cocoa/wrench_menu/ |
D | wrench_menu_button_cell_unittest.mm | 28 button_.reset([[TestWrenchMenuButton alloc] initWithFrame:frame]); 29 [button_ setBezelStyle:NSSmallSquareBezelStyle]; 30 [[button_ cell] setControlSize:NSSmallControlSize]; 31 [button_ setTitle:@"Allays"]; 32 [button_ setButtonType:NSMomentaryPushInButton]; 35 scoped_nsobject<NSButton> button_; 39 ASSERT_TRUE(button_.get()); 40 [[test_window() contentView] addSubview:button_.get()]; 41 [button_ setNeedsDisplay:YES]; 45 ASSERT_TRUE(button_.get()); [all …]
|
D | menu_tracked_button_unittest.mm | 37 button_.reset( 40 [button_ setTarget:listener()]; 41 [button_ setAction:@selector(doThat:)]; 72 NSButton* button() { return button_.get(); } 75 scoped_nsobject<MenuTrackedButton> button_;
|
/external/chromium/chrome/browser/ui/views/infobars/ |
D | translate_message_infobar.cc | 15 button_(NULL) { in TranslateMessageInfoBar() 30 if (button_) { in Layout() 31 gfx::Size button_size = button_->GetPreferredSize(); in Layout() 32 button_->SetBounds(label_->bounds().right() + kButtonInLabelSpacing, in Layout() 47 button_ = CreateTextButton(this, button_text, false); in ViewHierarchyChanged() 48 AddChildView(button_); in ViewHierarchyChanged() 59 if (sender == button_) in ButtonPressed() 66 return (button_ != NULL) ? in ContentMinimumWidth() 67 (button_->GetPreferredSize().width() + kButtonInLabelSpacing) : 0; in ContentMinimumWidth()
|
D | translate_message_infobar.h | 25 views::TextButton* button_; variable
|
/external/chromium/chrome/browser/ui/cocoa/extensions/ |
D | chevron_menu_button_unittest.mm | 19 button_ = button.get(); 20 [[test_window() contentView] addSubview:button_]; 23 ChevronMenuButton* button_; 27 TEST_VIEW(ChevronMenuButtonTest, button_); 31 EXPECT_TRUE([[button_ cell] isKindOfClass:[ChevronMenuButtonCell class]]); 36 ChevronMenuButtonCell* cell = [button_ cell]; 43 [button_ display]; 47 [button_ display];
|
D | extension_install_dialog_controller.h | 39 scoped_nsobject<NSString> button_; variable
|
D | extension_install_dialog_controller.mm | 93 button_.reset([l10n_util::GetNSString(ExtensionInstallUI::kButtonIds[type]) 134 [okButton_ setTitle:button_.get()];
|
/external/chromium/chrome/browser/chromeos/status/ |
D | input_method_menu_button.cc | 38 : InputMethodMenu(pref_service, screen_mode, false), button_(button) {} in MenuImpl() 46 button_->UpdateUI(input_method_id, name, tooltip, num_active_input_methods); in UpdateUI() 49 return button_->ShouldSupportConfigUI(); in ShouldSupportConfigUI() 52 button_->OpenConfigUI(); in OpenConfigUI() 55 chromeos::InputMethodMenuButton* button_; member in __anon09d1297d0111::MenuImpl
|
/external/chromium/chrome/browser/automation/ |
D | ui_controls_internal.cc | 10 : button_(button), state_(state), followup_(followup) { in ClickTask() 17 SendMouseEventsNotifyWhenDone(button_, state_, followup_); in Run() 19 SendMouseEvents(button_, state_); in Run()
|
D | ui_controls_internal.h | 24 MouseButton button_;
|
/external/chromium/chrome/browser/ui/views/ |
D | browser_actions_container.cc | 289 button_ = new BrowserActionButton(extension, panel); in BrowserActionView() 290 button_->SetDragController(panel_); in BrowserActionView() 291 AddChildView(button_); in BrowserActionView() 292 button_->UpdateState(); in BrowserActionView() 296 RemoveChildView(button_); in ~BrowserActionView() 297 button_->Destroy(); in ~BrowserActionView() 303 SkBitmap icon = button_->extension()->browser_action()->GetIcon(tab_id); in GetIconWithBadge() 305 icon = button_->default_icon(); in GetIconWithBadge() 312 button_->extension()->browser_action()->PaintBadge(canvas, bounds, tab_id); in GetIconWithBadge() 326 button_->SetBounds(0, ToolbarView::kVertSpacing, width(), in Layout()
|
D | browser_actions_container.h | 164 BrowserActionButton* button() { return button_; } in button() 184 BrowserActionButton* button_; variable
|