Home
last modified time | relevance | path

Searched refs:button (Results 1 – 25 of 736) sorted by relevance

12345678910>>...30

/external/chromium/chrome/browser/ui/gtk/
Dgtk_chrome_link_button.cc37 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 …]
Dgtk_chrome_button.cc82 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 …]
Dmenu_bar_helper.cc61 void MenuBarHelper::Add(GtkWidget* button) { in Add() argument
62 buttons_.push_back(button); in Add()
65 void MenuBarHelper::Remove(GtkWidget* button) { in Remove() argument
67 find(buttons_.begin(), buttons_.end(), button); in Remove()
79 void MenuBarHelper::MenuStartedShowing(GtkWidget* button, GtkWidget* menu) { in MenuStartedShowing() argument
81 button_showing_menu_ = button; in MenuStartedShowing()
114 GtkWidget* button = buttons_[i]; in OnMenuMotionNotify() local
126 last_button, button, last_x, last_y, &x, &y)) { in OnMenuMotionNotify()
132 last_button = button; in OnMenuMotionNotify()
134 if (x >= 0 && y >= 0 && x < button->allocation.width && in OnMenuMotionNotify()
[all …]
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_button_unittest.mm29 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 …]
Dbookmark_bar_folder_hover_state.mm10 - (void)closeBookmarkFolderOnHoverButton:(BookmarkButton*)button;
11 - (void)openBookmarkFolderOnHoverButton:(BookmarkButton*)button;
23 - (NSDragOperation)draggingEnteredButton:(BookmarkButton*)button {
24 if ([button isFolder]) {
25 if (hoverButton_ == button) {
26 // CASE A: hoverButton_ == button implies we've dragged over
29 hoverButton_ != button) {
30 // CASE B: we have a hoverButton_ but it is different from the new button.
41 [self scheduleOpenBookmarkFolderOnHoverButton:button];
46 [self scheduleOpenBookmarkFolderOnHoverButton:button];
[all …]
/external/webkit/Tools/iExploder/iexploder-1.7.2/src/css-pseudo/
Dwebkit5 -webkit-file-upload-button
9 -webkit-inner-spin-button
10 -webkit-input-list-button
12 -webkit-input-speech-button
14 -webkit-media-controls-fullscreen-button
15 -webkit-media-controls-mute-button
17 -webkit-media-controls-play-button
18 -webkit-media-controls-return-to-realtime-button
19 -webkit-media-controls-rewind-button
20 -webkit-media-controls-seek-back-button
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/
DSDL_nxevents.c217 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/chrome/browser/ui/cocoa/
Ddraggable_button_unittest.mm50 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 …]
Dprofile_menu_button_unittest.mm15 scoped_nsobject<ProfileMenuButton> button([[ProfileMenuButton alloc]
18 button_ = button.get();
52 scoped_nsobject<ProfileMenuButton> button([[ProfileMenuButton alloc]
56 NSSize minSize = [button minControlSize];
57 EXPECT_TRUE(NSEqualSizes(minSize, [button desiredControlSize]));
59 [button setProfileDisplayName:@"Test"];
60 EXPECT_TRUE(NSEqualSizes(minSize, [button desiredControlSize]));
61 EXPECT_TRUE(NSEqualSizes(minSize, [button desiredControlSize]));
63 [button setShouldShowProfileDisplayName:YES];
64 EXPECT_TRUE(NSEqualSizes(minSize, [button minControlSize]));
[all …]
/external/chromium/chrome/browser/automation/
Dui_controls_linux.cc185 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/webkit/Source/WebCore/css/
DmediaControls.css57 audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-button {
58 -webkit-appearance: media-mute-button;
67 audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button {
68 -webkit-appearance: media-play-button;
115 audio::-webkit-media-controls-seek-back-button, video::-webkit-media-controls-seek-back-button {
116 -webkit-appearance: media-seek-back-button;
125 audio::-webkit-media-controls-seek-forward-button, video::-webkit-media-controls-seek-forward-butto…
126 -webkit-appearance: media-seek-forward-button;
135 audio::-webkit-media-controls-fullscreen-button, video::-webkit-media-controls-fullscreen-button {
136 -webkit-appearance: media-fullscreen-button;
[all …]
DmediaControlsEfl.css51 audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-button {
52 -webkit-appearance: media-mute-button;
61 audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button {
62 -webkit-appearance: media-play-button;
114 audio::-webkit-media-controls-seek-back-button, video::-webkit-media-controls-seek-back-button {
115 -webkit-appearance: media-seek-back-button;
124 audio::-webkit-media-controls-seek-forward-button, video::-webkit-media-controls-seek-forward-butto…
125 -webkit-appearance: media-seek-forward-button;
134 audio::-webkit-media-controls-fullscreen-button, video::-webkit-media-controls-fullscreen-button {
135 -webkit-appearance: media-fullscreen-button;
[all …]
DmediaControlsAndroid.css51 audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-button {
55 audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button {
56 -webkit-appearance: media-play-button;
97 audio::-webkit-media-controls-seek-back-button, video::-webkit-media-controls-seek-back-button {
98 -webkit-appearance: media-seek-back-button;
104 audio::-webkit-media-controls-seek-forward-button, video::-webkit-media-controls-seek-forward-butto…
105 -webkit-appearance: media-seek-forward-button;
111 audio::-webkit-media-controls-fullscreen-button, video::-webkit-media-controls-fullscreen-button {
112 -webkit-appearance: media-fullscreen-button;
118 audio::-webkit-media-controls-rewind-button, video::-webkit-media-controls-rewind-button {
[all …]
/external/webkit/Source/WebKit2/Shared/gtk/
DWebEventFactory.cpp69 unsigned button = 0; in buttonForEvent() local
73 button = WebMouseEvent::NoButton; in buttonForEvent()
75 button = WebMouseEvent::LeftButton; in buttonForEvent()
77 button = WebMouseEvent::MiddleButton; in buttonForEvent()
79 button = WebMouseEvent::RightButton; in buttonForEvent()
85 if (event->button.button == 1) in buttonForEvent()
86 button = WebMouseEvent::LeftButton; in buttonForEvent()
87 else if (event->button.button == 2) in buttonForEvent()
88 button = WebMouseEvent::MiddleButton; in buttonForEvent()
89 else if (event->button.button == 3) in buttonForEvent()
[all …]
/external/qemu/android/skin/
Dfile.c221 skin_button_free( SkinButton* button ) in skin_button_free() argument
223 if (button) { in skin_button_free()
224 skin_image_unref( &button->image ); in skin_button_free()
225 AFREE(button); in skin_button_free()
232 SkinButton* button; in skin_button_create_from() local
233 ANEW0(button); in skin_button_create_from()
234 if (button) { in skin_button_create_from()
239 button->name = node->name; in skin_button_create_from()
240 button->rect.pos.x = x; in skin_button_create_from()
241 button->rect.pos.y = y; in skin_button_create_from()
[all …]
/external/chromium/chrome/browser/ui/gtk/infobars/
Dbefore_translate_infobar_gtk.cc44 GtkWidget* button = gtk_button_new_with_label( in Init() local
46 g_signal_connect(button, "clicked",G_CALLBACK(&OnAcceptPressedThunk), this); in Init()
47 gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0); in Init()
49 button = gtk_button_new_with_label( in Init()
51 g_signal_connect(button, "clicked",G_CALLBACK(&OnDenyPressedThunk), this); in Init()
52 gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0); in Init()
60 button = gtk_button_new_with_label(label.c_str()); in Init()
61 g_signal_connect(button, "clicked", in Init()
63 gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0); in Init()
71 button = gtk_button_new_with_label(label.c_str()); in Init()
[all …]
/external/chromium/chrome/browser/ui/cocoa/toolbar/
Dtoolbar_button_unittest.mm57 scoped_nsobject<TestableToolbarButton> button(
59 button_ = button.get();
108 // Middle button being down doesn't swallow right button clicks. But
109 // ToolbarButton doesn't handle right button events.
123 // Middle button being down doesn't swallows left button clicks.
136 // Middle button mouse up without leading mouse down in the view.
142 // Middle button mouse dragged in the view and up without leading mouse down.
152 // Middle button clicking in the view.
160 // Middle button clicking outside of the view.
170 // Middle button being down in the view and up outside of the view.
[all …]
/external/chromium/chrome/browser/ui/cocoa/extensions/
Dbrowser_actions_controller.mm41 // Image used for the overflow button.
50 // The size of each button on the toolbar.
57 // Padding between Omnibox and first button. Since the buttons have a
72 // Creates and then adds the given extension's action button to the container
78 // Removes an action button for the given extension from the container. This
84 // the container, this method repositions each button according to the current
89 // off the screen. This method updates each button's opacity determined by the
90 // position of the button.
93 // Returns the existing button with the given extension backing it; nil if it
107 // Updates each button's opacity, the cursor rects and chevron position.
[all …]
/external/webkit/Source/WebKit/efl/DefaultTheme/widget/button/
Dbutton.edc23 name: "webkit/widget/button";
26 image: "widget/button/img_button_normal.png" COMP;
27 image: "widget/button/img_button_press.png" COMP;
28 image: "widget/button/img_button_hover.png" COMP;
29 image: "widget/button/img_button_focus.png" COMP;
42 set_state(PART:"button", "default", 0.0);
44 set_state(PART:"button", "focused", 0.0);
46 set_state(PART:"button", "pressed", 0.0);
49 set_state(PART:"button", "hovered", 0.0);
51 set_state(PART:"button", "pressed", 0.0);
[all …]
/external/chromium/chrome/browser/resources/shared/css/
Dbutton.css1 button, selector
2 input[type='button'],
16 button:hover,
17 input[type='button']:hover,
25 button:active,
26 input[type='button']:active,
33 button[disabled],
34 input[type='button'][disabled],
36 button[disabled]:hover,
37 input[type='button'][disabled]:hover,
/external/chromium/chrome/browser/resources/options/
Dpassword_manager_list.js61 var button = this.ownerDocument.createElement('button');
62 button.classList.add('hidden');
63 button.classList.add('password-button');
64 button.textContent = localStrings.getString('passwordShowButton');
65 button.addEventListener('click', this.onClick_, true);
66 passwordInputDiv.appendChild(button);
77 var button = input.nextSibling;
79 if (!button)
83 button.classList.remove('hidden');
86 button.classList.add('hidden');
[all …]
/external/chromium/chrome/browser/chromeos/
Dbrowser_main_chromeos.cc26 event->button.button == 1 && in WillProcessEvent()
27 event->button.state & GDK_MOD1_MASK) { in WillProcessEvent()
29 event->button.button = 3; in WillProcessEvent()
31 event->button.state &= ~(GDK_MOD1_MASK | GDK_BUTTON1_MASK); in WillProcessEvent()
33 event->button.state |= GDK_BUTTON3_MASK; in WillProcessEvent()
/external/webkit/Source/WebCore/html/shadow/
DMediaControlElements.cpp359 …RefPtr<MediaControlPanelMuteButtonElement> button = adoptRef(new MediaControlPanelMuteButtonElemen… in create() local
360 button->setType("button"); in create()
361 return button.release(); in create()
387 …RefPtr<MediaControlVolumeSliderMuteButtonElement> button = adoptRef(new MediaControlVolumeSliderMu… in create() local
388 button->setType("button"); in create()
389 return button.release(); in create()
407 …RefPtr<MediaControlPlayButtonElement> button = adoptRef(new MediaControlPlayButtonElement(mediaEle… in create() local
408 button->setType("button"); in create()
409 return button.release(); in create()
499 …RefPtr<MediaControlSeekForwardButtonElement> button = adoptRef(new MediaControlSeekForwardButtonEl… in create() local
[all …]
/external/chromium/chrome/browser/extensions/
Dbrowser_action_test_util_gtk.cc21 GtkWidget* button = NULL; in GetButton() local
26 button = gtk_bin_get_child(GTK_BIN(alignment)); in GetButton()
29 return button; in GetButton()
48 GtkWidget* button = GetButton(browser_, index); in HasIcon() local
49 return gtk_button_get_image(GTK_BUTTON(button)) != NULL; in HasIcon()
53 GtkWidget* button = GetButton(browser_, index); in Press() local
54 gtk_button_clicked(GTK_BUTTON(button)); in Press()
58 GtkWidget* button = GetButton(browser_, index); in GetTooltip() local
59 gchar* text = gtk_widget_get_tooltip_text(button); in GetTooltip()
/external/chromium/chrome/browser/ui/gtk/bookmarks/
Dbookmark_bar_gtk.cc489 GtkWidget* button = gtk_bin_get_child(GTK_BIN(item)); in BookmarkNodeChanged() local
490 bookmark_utils::ConfigureButtonForNode(node, model, button, theme_service_); in BookmarkNodeChanged()
790 GtkWidget* button = gtk_bin_get_child(GTK_BIN(item)); in OnItemAllocate() local
791 const BookmarkNode* node = GetNodeForToolButton(button); in OnItemAllocate()
868 GtkWidget* button = theme_service_->BuildChromeButton(); in CreateBookmarkButton() local
869 bookmark_utils::ConfigureButtonForNode(node, model_, button, theme_service_); in CreateBookmarkButton()
872 gtk_drag_source_set(button, GDK_BUTTON1_MASK, NULL, 0, in CreateBookmarkButton()
875 ui::SetSourceTargetListFromCodeMask(button, target_mask); in CreateBookmarkButton()
876 g_signal_connect(button, "drag-begin", in CreateBookmarkButton()
878 g_signal_connect(button, "drag-end", in CreateBookmarkButton()
[all …]

12345678910>>...30