/external/chromium/chrome/browser/ui/gtk/ |
D | gtk_chrome_link_button.cc | 37 GtkChromeLinkButton* button) { in gtk_chrome_link_button_destroy_text_resources() argument 38 g_free(button->native_markup); in gtk_chrome_link_button_destroy_text_resources() 39 button->native_markup = NULL; in gtk_chrome_link_button_destroy_text_resources() 40 g_free(button->normal_markup); in gtk_chrome_link_button_destroy_text_resources() 41 button->normal_markup = NULL; in gtk_chrome_link_button_destroy_text_resources() 42 g_free(button->pressed_markup); in gtk_chrome_link_button_destroy_text_resources() 43 button->pressed_markup = NULL; in gtk_chrome_link_button_destroy_text_resources() 45 g_free(button->text); in gtk_chrome_link_button_destroy_text_resources() 46 button->text = NULL; in gtk_chrome_link_button_destroy_text_resources() 54 static void gtk_chrome_link_button_set_text(GtkChromeLinkButton* button) { in G_DEFINE_TYPE() [all …]
|
D | gtk_chrome_button.cc | 82 static void gtk_chrome_button_init(GtkChromeButton* button) { in gtk_chrome_button_init() argument 83 GtkChromeButtonPrivate* priv = GTK_CHROME_BUTTON_GET_PRIVATE(button); in gtk_chrome_button_init() 88 GTK_WIDGET_UNSET_FLAGS(button, GTK_CAN_FOCUS); in gtk_chrome_button_init() 137 void gtk_chrome_button_set_paint_state(GtkChromeButton* button, in gtk_chrome_button_set_paint_state() argument 139 g_return_if_fail(GTK_IS_CHROME_BUTTON(button)); in gtk_chrome_button_set_paint_state() 141 GtkChromeButtonPrivate *priv = GTK_CHROME_BUTTON_GET_PRIVATE(button); in gtk_chrome_button_set_paint_state() 144 gtk_widget_queue_draw(GTK_WIDGET(button)); in gtk_chrome_button_set_paint_state() 147 void gtk_chrome_button_unset_paint_state(GtkChromeButton* button) { in gtk_chrome_button_unset_paint_state() argument 148 g_return_if_fail(GTK_IS_CHROME_BUTTON(button)); in gtk_chrome_button_unset_paint_state() 150 GtkChromeButtonPrivate *priv = GTK_CHROME_BUTTON_GET_PRIVATE(button); in gtk_chrome_button_unset_paint_state() [all …]
|
/external/chromium_org/ui/views/controls/button/ |
D | label_button_unittest.cc | 30 LabelButton button(NULL, text); in TEST_F() local 32 EXPECT_TRUE(button.GetImage(Button::STATE_NORMAL).isNull()); in TEST_F() 33 EXPECT_TRUE(button.GetImage(Button::STATE_HOVERED).isNull()); in TEST_F() 34 EXPECT_TRUE(button.GetImage(Button::STATE_PRESSED).isNull()); in TEST_F() 35 EXPECT_TRUE(button.GetImage(Button::STATE_DISABLED).isNull()); in TEST_F() 37 EXPECT_EQ(text, button.GetText()); in TEST_F() 38 EXPECT_EQ(gfx::ALIGN_LEFT, button.GetHorizontalAlignment()); in TEST_F() 39 EXPECT_FALSE(button.is_default()); in TEST_F() 40 EXPECT_EQ(button.style(), Button::STYLE_TEXTBUTTON); in TEST_F() 41 EXPECT_EQ(Button::STATE_NORMAL, button.state()); in TEST_F() [all …]
|
D | image_button_unittest.cc | 27 ImageButton button(NULL); in TEST_F() local 30 EXPECT_TRUE(button.GetImageToPaint().isNull()); in TEST_F() 33 EXPECT_EQ("16x14", button.GetPreferredSize().ToString()); in TEST_F() 36 button.SetPreferredSize(gfx::Size(5, 15)); in TEST_F() 37 EXPECT_EQ("5x15", button.GetPreferredSize().ToString()); in TEST_F() 41 button.SetImage(CustomButton::STATE_NORMAL, &normal_image); in TEST_F() 44 EXPECT_FALSE(button.GetImageToPaint().isNull()); in TEST_F() 45 EXPECT_EQ(10, button.GetImageToPaint().width()); in TEST_F() 46 EXPECT_EQ(20, button.GetImageToPaint().height()); in TEST_F() 49 EXPECT_EQ("10x20", button.GetPreferredSize().ToString()); in TEST_F() [all …]
|
D | custom_button_unittest.cc | 42 void PerformGesture(CustomButton* button, ui::EventType event_type) { in PerformGesture() argument 47 button->OnGestureEvent(&gesture_event); in PerformGesture() 78 TestCustomButton* button = new TestCustomButton(NULL); in TEST_F() local 79 widget->SetContentsView(button); in TEST_F() 82 button->OnMousePressed(ui::MouseEvent(ui::ET_MOUSE_PRESSED, center, center, in TEST_F() 84 EXPECT_EQ(CustomButton::STATE_PRESSED, button->state()); in TEST_F() 86 button->OnMouseReleased(ui::MouseEvent(ui::ET_MOUSE_RELEASED, center, center, in TEST_F() 88 EXPECT_EQ(CustomButton::STATE_HOVERED, button->state()); in TEST_F() 90 button->SetEnabled(false); in TEST_F() 91 EXPECT_EQ(CustomButton::STATE_DISABLED, button->state()); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/gtk/ |
D | gtk_chrome_link_button.cc | 39 GtkChromeLinkButton* button) { in gtk_chrome_link_button_destroy_text_resources() argument 40 g_free(button->native_markup); in gtk_chrome_link_button_destroy_text_resources() 41 button->native_markup = NULL; in gtk_chrome_link_button_destroy_text_resources() 42 g_free(button->normal_markup); in gtk_chrome_link_button_destroy_text_resources() 43 button->normal_markup = NULL; in gtk_chrome_link_button_destroy_text_resources() 44 g_free(button->pressed_markup); in gtk_chrome_link_button_destroy_text_resources() 45 button->pressed_markup = NULL; in gtk_chrome_link_button_destroy_text_resources() 46 g_free(button->insensitive_markup); in gtk_chrome_link_button_destroy_text_resources() 47 button->insensitive_markup = NULL; in gtk_chrome_link_button_destroy_text_resources() 49 g_free(button->text); in gtk_chrome_link_button_destroy_text_resources() [all …]
|
D | gtk_chrome_button.cc | 82 static void gtk_chrome_button_init(GtkChromeButton* button) { in gtk_chrome_button_init() argument 83 GtkChromeButtonPrivate* priv = GTK_CHROME_BUTTON_GET_PRIVATE(button); in gtk_chrome_button_init() 88 gtk_widget_set_can_focus(GTK_WIDGET(button), FALSE); in gtk_chrome_button_init() 137 void gtk_chrome_button_set_paint_state(GtkChromeButton* button, in gtk_chrome_button_set_paint_state() argument 139 g_return_if_fail(GTK_IS_CHROME_BUTTON(button)); in gtk_chrome_button_set_paint_state() 141 GtkChromeButtonPrivate *priv = GTK_CHROME_BUTTON_GET_PRIVATE(button); in gtk_chrome_button_set_paint_state() 144 gtk_widget_queue_draw(GTK_WIDGET(button)); in gtk_chrome_button_set_paint_state() 147 void gtk_chrome_button_unset_paint_state(GtkChromeButton* button) { in gtk_chrome_button_unset_paint_state() argument 148 g_return_if_fail(GTK_IS_CHROME_BUTTON(button)); in gtk_chrome_button_unset_paint_state() 150 GtkChromeButtonPrivate *priv = GTK_CHROME_BUTTON_GET_PRIVATE(button); in gtk_chrome_button_unset_paint_state() [all …]
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/app/ |
D | style.css | 35 #calculator-buttons button { 42 #calculator-buttons button { 49 #calculator-buttons button { 55 #calculator-buttons button.add { 60 #calculator-buttons button.add[data-active="touch"], 61 #calculator-buttons button.add[data-active="mouse"]:active { 65 #calculator-buttons button.clear { 69 #calculator-buttons button.clear[data-active="touch"], 70 #calculator-buttons button.clear[data-active="mouse"]:active { 74 #calculator-buttons button.divide { [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
D | CheckedRadioButtons.cpp | 69 void RadioButtonGroup::setCheckedButton(HTMLInputElement* button) in setCheckedButton() argument 72 if (oldCheckedButton == button) in setCheckedButton() 74 m_checkedButton = button; in setCheckedButton() 79 void RadioButtonGroup::add(HTMLInputElement* button) in add() argument 81 ASSERT(button->isRadioButton()); in add() 82 if (!m_members.add(button).isNewEntry) in add() 85 if (button->isRequired()) in add() 87 if (button->checked()) in add() 88 setCheckedButton(button); in add() 96 button->setNeedsValidityCheck(); in add() [all …]
|
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_button_unittest.mm | 29 forDragOfButton:(BookmarkButton*)button { 48 - (BOOL)canDragBookmarkButtonToTrash:(BookmarkButton*)button { 52 - (void)didDragBookmarkToTrash:(BookmarkButton*)button { 56 - (void)bookmarkDragDidEnd:(BookmarkButton*)button 68 scoped_nsobject<BookmarkButton> button; 69 button.reset([[BookmarkButton alloc] initWithFrame:NSMakeRect(0,0,500,500)]); 75 scoped_nsobject<BookmarkButton> button; 78 button.reset([[BookmarkButton alloc] initWithFrame:NSMakeRect(0,0,500,500)]); 80 [button setCell:cell]; 82 EXPECT_TRUE([button isEmpty]); [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_button_unittest.mm | 30 forDragOfButton:(BookmarkButton*)button { 49 - (BOOL)canDragBookmarkButtonToTrash:(BookmarkButton*)button { 53 - (void)didDragBookmarkToTrash:(BookmarkButton*)button { 57 - (void)bookmarkDragDidEnd:(BookmarkButton*)button 69 base::scoped_nsobject<BookmarkButton> button; 70 button.reset([[BookmarkButton alloc] initWithFrame:NSMakeRect(0,0,500,500)]); 75 base::scoped_nsobject<BookmarkButton> button; 78 button.reset([[BookmarkButton alloc] initWithFrame:NSMakeRect(0,0,500,500)]); 80 [button setCell:cell]; 82 EXPECT_TRUE([button isEmpty]); [all …]
|
/external/chromium_org/chrome/browser/resources/chromeos/login/ |
D | header_bar.css | 18 Otherwise if opacity: 0.8 is set here it will affect button text as well. 39 #login-header-bar button, 40 #login-header-bar button:active, 41 #login-header-bar button:focus, 42 #login-header-bar button:hover { 54 #login-header-bar button:not(.button-restricted), 55 #login-header-bar button:active:not(.button-restricted), 56 #login-header-bar button:focus:not(.button-restricted), 57 #login-header-bar button:hover:not(.button-restricted) { 71 #login-header-bar #shutdown-button, [all …]
|
D | oobe_screen.css | 56 .animation .step-controls button { 134 #oobe.autolaunch #autolaunch-confirm-button, 135 #oobe.autolaunch #autolaunch-cancel-button, 136 #oobe.connect #continue-button, 137 #oobe.eula #accept-button, 138 #oobe.eula #back-button, 139 #oobe.kiosk-enable #kiosk-cancel-button, 140 #oobe.kiosk-enable #kiosk-enable-button, 141 #oobe.oauth-enrollment #oauth-enroll-cancel-button, 142 #oobe.oauth-enrollment #oauth-enroll-done-button, [all …]
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | ChromeClientImplTest.cpp | 103 …Policy getNavigationPolicyWithMouseEvent(int modifiers, WebMouseEvent::Button button, bool asPopup) in getNavigationPolicyWithMouseEvent() argument 108 event.button = button; in getNavigationPolicyWithMouseEvent() 134 WebMouseEvent::Button button = WebMouseEvent::ButtonLeft; in TEST_F() local 137 getNavigationPolicyWithMouseEvent(modifiers, button, asPopup)); in TEST_F() 143 WebMouseEvent::Button button = WebMouseEvent::ButtonLeft; in TEST_F() local 146 getNavigationPolicyWithMouseEvent(modifiers, button, asPopup)); in TEST_F() 152 WebMouseEvent::Button button = WebMouseEvent::ButtonLeft; in TEST_F() local 155 getNavigationPolicyWithMouseEvent(modifiers, button, asPopup)); in TEST_F() 161 WebMouseEvent::Button button = WebMouseEvent::ButtonLeft; in TEST_F() local 164 getNavigationPolicyWithMouseEvent(modifiers, button, asPopup)); in TEST_F() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/ |
D | SDL_nxevents.c | 217 if (check_boundary (this, event.button.x, event.button.y)) { in NX_PumpEvents() 218 SDL_PrivateMouseMotion (0, 0, event.button.x - OffsetX, in NX_PumpEvents() 219 event.button.y - OffsetY) ; in NX_PumpEvents() 222 SDL_PrivateMouseMotion (0, 0, event.button.x, event.button.y) ; in NX_PumpEvents() 230 int button = event.button.buttons ; in NX_PumpEvents() local 234 switch (button) { in NX_PumpEvents() 236 button = 1 ; in NX_PumpEvents() 239 button = 2 ; in NX_PumpEvents() 242 button = 3 ; in NX_PumpEvents() 245 button = 0 ; in NX_PumpEvents() [all …]
|
/external/chromium_org/ui/webui/resources/css/apps/ |
D | common.css | 5 button.white-button, 6 button.blue-button { 22 button.white-button { 24 url('chrome://resources/images/apps/button.png') 1x, 25 url('chrome://resources/images/2x/apps/button.png') 29 button.white-button:hover { 36 button.white-button:active { 43 button.white-button:focus { 50 button.white-button:focus:hover { 57 button.white-button:focus:active { [all …]
|
/external/chromium_org/ui/app_list/views/ |
D | search_result_actions_view.cc | 64 views::ImageButton* button = new views::ImageButton(this); in CreateImageButton() local 65 button->set_border(views::Border::CreateEmptyBorder(0, 9, 0, 9)); in CreateImageButton() 66 button->SetAccessibleName(action.tooltip_text); in CreateImageButton() 67 button->SetImageAlignment(views::ImageButton::ALIGN_CENTER, in CreateImageButton() 69 button->SetImage(views::CustomButton::STATE_NORMAL, &action.base_image); in CreateImageButton() 70 button->SetImage(views::CustomButton::STATE_HOVERED, &action.hover_image); in CreateImageButton() 71 button->SetImage(views::CustomButton::STATE_PRESSED, &action.pressed_image); in CreateImageButton() 72 button->SetTooltipText(action.tooltip_text); in CreateImageButton() 73 AddChildView(button); in CreateImageButton() 78 views::BlueButton* button = new views::BlueButton(this, action.label_text); in CreateBlueButton() local [all …]
|
/external/chromium_org/tools/site_compare/drivers/win32/ |
D | mouse.py | 47 def PressButton(down, button='left'): argument 66 win32api.mouse_event(flags[button][down], 0, 0) 69 def ClickButton(button='left', click_time=0): argument 79 PressButton(True, button) 81 PressButton(False, button) 84 def DoubleClickButton(button='left', click_time=0, time_between_clicks=0): argument 95 ClickButton(button, click_time) 97 ClickButton(button, click_time) 137 def ClickAtLocation(pos, button='left', click_time=0): argument 149 ClickButton(button, click_time) [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
D | draggable_button_unittest.mm | 50 base::scoped_nsobject<TestableDraggableButton> button( 53 [[test_window() contentView] addSubview:button.get()]; 54 [button setTarget:button]; 55 [button setAction:@selector(trigger:)]; 56 EXPECT_FALSE([button wasTriggered]); 67 EXPECT_TRUE([button wasTriggered]); // confirms target/action fired 71 base::scoped_nsobject<TestableDraggableButton> button( 74 [[test_window() contentView] addSubview:button.get()]; 99 [button mouseDown:downEvent]; 100 EXPECT_EQ(0U, [button dragCount]); [all …]
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | draggable_button_unittest.mm | 50 scoped_nsobject<TestableDraggableButton> button( 52 [[test_window() contentView] addSubview:button.get()]; 53 [button setTarget:button]; 54 [button setAction:@selector(trigger:)]; 55 EXPECT_FALSE([button wasTriggered]); 64 EXPECT_TRUE([button wasTriggered]); // confirms target/action fired 68 scoped_nsobject<TestableDraggableButton> button( 70 [[test_window() contentView] addSubview:button.get()]; 95 [button mouseDown:downEvent]; 96 EXPECT_EQ(0U, [button dragCount]); [all …]
|
/external/chromium_org/remoting/webapp/ |
D | menu_button.css | 6 .menu-button { 10 .menu-button button + ul { 17 .menu-button button.active + ul { 21 .menu-button button.active { 30 .menu-button button .kd-disclosureindicator { 36 .menu-button ul { 47 .menu-button li { 52 .menu-button li:hover { 56 .menu-button li.menu-separator { 63 .menu-button li.selected {
|
/external/chromium/chrome/browser/automation/ |
D | ui_controls_linux.cc | 185 event->button.send_event = false; in SendMouseEvents() 186 event->button.time = gtk_util::XTimeNow(); in SendMouseEvents() 193 event->button.window = grab_widget->window; in SendMouseEvents() 194 gdk_window_get_pointer(event->button.window, &x, &y, NULL); in SendMouseEvents() 196 event->button.window = gdk_window_at_pointer(&x, &y); in SendMouseEvents() 199 g_object_ref(event->button.window); in SendMouseEvents() 200 event->button.x = x; in SendMouseEvents() 201 event->button.y = y; in SendMouseEvents() 203 gdk_window_get_origin(event->button.window, &origin_x, &origin_y); in SendMouseEvents() 204 event->button.x_root = x + origin_x; in SendMouseEvents() [all …]
|
/external/chromium_org/chrome/browser/resources/chromeos/ |
D | about_sys.js | 14 function getValueDivForButton(button) { argument 15 return $(button.id.substr(0, button.id.length - 4)); 51 var button = getButtonForValueDiv(valueDivs[i]); 52 if (button && button.className != 'button-hidden') { 53 button.textContent = localStrings.getString('expandBtn'); 65 var button = getButtonForValueDiv(valueDivs[i]); 66 if (button && button.className != 'button-hidden') { 67 button.textContent = localStrings.getString('collapseBtn'); 79 var button = getButtonForValueDiv(valueDivs[i]); 80 button.onclick = changeCollapsedStatus; [all …]
|
/external/chromium_org/chrome/browser/resources/options/ |
D | password_manager_list.js | 76 var button = this.ownerDocument.createElement('button'); 77 button.hidden = true; 78 button.className = 'list-inline-button custom-appearance'; 79 button.textContent = loadTimeData.getString('passwordShowButton'); 80 button.addEventListener('click', this.onClick_.bind(this), true); 81 button.addEventListener('mousedown', function(event) { 87 passwordInputDiv.appendChild(button); 88 this.passwordShowButton = button; 97 var button = this.passwordShowButton; 99 if (!button) [all …]
|
/external/chromium_org/chrome/third_party/chromevox/chromevox/background/ |
D | options_widgets.css | 13 button:not(.custom-appearance):not(.link-button), 14 input[type='button']:not(.custom-appearance):not(.link-button), 15 input[type='submit']:not(.custom-appearance):not(.link-button), 32 button:not(.custom-appearance):not(.link-button), 33 input[type='button']:not(.custom-appearance):not(.link-button), 34 input[type='submit']:not(.custom-appearance):not(.link-button), 45 button:not(.custom-appearance):not(.link-button), 46 input[type='button']:not(.custom-appearance):not(.link-button), 47 input[type='submit']:not(.custom-appearance):not(.link-button) { 139 button:not(.custom-appearance):not(.link-button):enabled:hover, [all …]
|