Searched refs:button (Results 1 - 25 of 820) sorted by relevance

1234567891011>>

/external/chromium_org/ui/views/controls/button/
H A Dlabel_button_unittest.cc5 #include "ui/views/controls/button/label_button.h"
33 LabelButton button(NULL, text);
35 EXPECT_TRUE(button.GetImage(Button::STATE_NORMAL).isNull());
36 EXPECT_TRUE(button.GetImage(Button::STATE_HOVERED).isNull());
37 EXPECT_TRUE(button.GetImage(Button::STATE_PRESSED).isNull());
38 EXPECT_TRUE(button.GetImage(Button::STATE_DISABLED).isNull());
40 EXPECT_EQ(text, button.GetText());
41 EXPECT_EQ(gfx::ALIGN_LEFT, button.GetHorizontalAlignment());
42 EXPECT_FALSE(button.is_default());
43 EXPECT_EQ(button
[all...]
H A Dimage_button_unittest.cc8 #include "ui/views/controls/button/image_button.h"
26 ImageButton button(NULL);
29 EXPECT_TRUE(button.GetImageToPaint().isNull());
32 EXPECT_EQ("16x14", button.GetPreferredSize().ToString());
35 button.SetMinimumImageSize(gfx::Size(5, 15));
36 EXPECT_EQ("5x15", button.minimum_image_size().ToString());
37 EXPECT_EQ("16x15", button.GetPreferredSize().ToString());
41 button.SetImage(CustomButton::STATE_NORMAL, &normal_image);
44 EXPECT_FALSE(button.GetImageToPaint().isNull());
45 EXPECT_EQ(10, button
[all...]
H A Dcustom_button_unittest.cc5 #include "ui/views/controls/button/custom_button.h"
13 #include "ui/views/controls/button/checkbox.h"
14 #include "ui/views/controls/button/image_button.h"
15 #include "ui/views/controls/button/label_button.h"
16 #include "ui/views/controls/button/menu_button.h"
17 #include "ui/views/controls/button/radio_button.h"
38 void PerformGesture(CustomButton* button, ui::EventType event_type) { argument
42 button->OnGestureEvent(&gesture_event);
70 TestCustomButton* button = new TestCustomButton(NULL); local
71 widget->SetContentsView(button);
127 TestCustomButton* button = new TestCustomButton(NULL); local
[all...]
/external/chromium_org/chrome/common/extensions/docs/static/js/
H A Dplatform_chooser.js10 Array.prototype.forEach.call(platformChooser.getElementsByTagName('button'),
11 function(button) {
12 button.addEventListener('click', function(event) {
13 window.location.assign(button.getAttribute('data-href'));
H A Dsidebar.js18 var button = toggleable.parentNode.querySelector('.button');
19 var toggleIndicator = button.querySelector('.toggleIndicator');
31 button.setAttribute('href', 'javascript:void(0)');
32 button.addEventListener('click', toggle);
/external/chromium_org/chrome/browser/resources/chromeos/first_run/
H A Dstep.css22 .step button.blue-button {
26 .step button.white-button {
30 .step .controls button {
34 .step .controls button:first-of-type {
38 .step .controls button:last-of-type {
/external/chromium_org/chrome/browser/resources/
H A Dprofile_signin_confirmation.css5 #button-row {
14 #button-row button {
/external/chromium_org/third_party/WebKit/ManualTests/accessibility/resources/
H A DAppletTest.java35 JButton button = new JButton("button");
38 button.setBounds(10,10,100,30);
41 add(button);
/external/chromium_org/ui/webui/resources/css/
H A Dmenu_button.css9 button.menu-button.drop-down {
21 button.menu-button.drop-down:hover {
26 button.menu-button.drop-down[menu-shown],
27 button.menu-button.drop-down:focus {
33 button.menu-button
[all...]
/external/chromium_org/chrome/browser/resources/chromeos/login/
H A Dheader_bar.css18 Otherwise if opacity: 0.8 is set here it will affect button text as well.
43 #login-header-bar button,
44 #login-header-bar button:active,
45 #login-header-bar button:focus,
46 #login-header-bar button:hover {
58 #login-header-bar button:not(.button-restricted),
59 #login-header-bar button:active:not(.button-restricted),
60 #login-header-bar button
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A DsplitView.css83 .split-view button.sidebar-show-hide-button {
92 .split-view button.left-sidebar-show-hide-button,
93 .split-view button.top-sidebar-show-hide-button {
98 .split-view button.left-sidebar-show-hide-button:active,
99 .split-view button.top-sidebar-show-hide-button
[all...]
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dbrowser_command_handler_x11.cc27 int button = xevent->type == GenericEvent ? ui::EventButtonFromNative(xevent) local
28 : xevent->xbutton.button;
33 if (button == kBackMouseButton || button == kForwardMouseButton) {
39 if (button == kBackMouseButton && controller.CanGoBack())
41 else if (button == kForwardMouseButton && controller.CanGoForward())
/external/chromium_org/third_party/WebKit/Source/core/loader/
H A DNavigationPolicy.cpp38 bool navigationPolicyFromMouseEvent(unsigned short button, bool ctrl, bool shift, bool alt, bool meta, NavigationPolicy* policy) argument
41 const bool newTabModifier = (button == 1) || meta;
43 const bool newTabModifier = (button == 1) || ctrl;
/external/chromium_org/chrome/browser/resources/history/
H A Dalert_overlay.css5 .overlay .page .button-strip > button {
/external/chromium_org/chrome/browser/ui/cocoa/website_settings/
H A Dwebsite_settings_utils_cocoa.h10 NSSize SizeForWebsiteSettingsButtonTitle(NSPopUpButton* button,
/external/chromium_org/ui/webui/resources/css/apps/
H A Dcommon.css5 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
[all...]
/external/chromium_org/tools/site_compare/drivers/win32/
H A Dmouse.py10 clicking with any button, and dragging.
47 def PressButton(down, button='left'):
48 """Simulate a mouse button press or release at the current mouse location.
51 down: whether the button is pressed or released
52 button: which button is pressed
58 # Put the mouse_event flags in a convenient dictionary by button
65 # hit the button
66 win32api.mouse_event(flags[button][down], 0, 0)
69 def ClickButton(button
[all...]
/external/chromium_org/ui/app_list/views/
H A Dsearch_result_actions_view.cc13 #include "ui/views/controls/button/blue_button.h"
14 #include "ui/views/controls/button/image_button.h"
66 views::ImageButton* button = new views::ImageButton(this); local
67 button->SetBorder(views::Border::CreateEmptyBorder(0, 9, 0, 9));
68 button->SetAccessibleName(action.tooltip_text);
69 button->SetImageAlignment(views::ImageButton::ALIGN_CENTER,
71 button->SetImage(views::CustomButton::STATE_NORMAL, &action.base_image);
72 button->SetImage(views::CustomButton::STATE_HOVERED, &action.hover_image);
73 button->SetImage(views::CustomButton::STATE_PRESSED, &action.pressed_image);
74 button
80 views::BlueButton* button = new views::BlueButton(this, action.label_text); local
[all...]
/external/chromium-trace/trace-viewer/src/tracing/tracks/
H A Dtrack.css6 .track-button {
16 .track-button:hover {
23 .track-close-button {
29 .track-collapse-button {
H A Dprocess_track_base.css22 .process-track-header > expand-button {
27 .process-track-header > expand-button.expand-button-expanded {
32 .process-track-header> expand-button:not(.expand-button-expanded) {
/external/chromium_org/chrome/browser/resources/chromeos/
H A Dbluetooth_pair_device.css5 .close-button {
/external/chromium_org/chrome/browser/resources/options/chromeos/
H A Dpointer_overlay.js48 * button that activates the overlay is also updated to stay in sync. A
54 var button = $('pointer-settings-button');
58 button.textContent = title;
59 button.hidden = false;
62 button.hidden = true;
/external/chromium_org/chrome/browser/resources/print_preview/settings/
H A Dadvanced_options_settings.css5 #advanced-options-settings .advanced-options-settings-button {
/external/chromium_org/chrome/browser/ui/
H A Dconfirm_bubble_model.cc21 base::string16 ConfirmBubbleModel::GetButtonLabel(BubbleButton button) const {
22 return l10n_util::GetStringUTF16((button == BUTTON_OK) ? IDS_OK : IDS_CANCEL);
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
H A DRadioButtonGroupScope.cpp72 void RadioButtonGroup::setCheckedButton(HTMLInputElement* button) argument
75 if (oldCheckedButton == button)
77 m_checkedButton = button;
82 void RadioButtonGroup::add(HTMLInputElement* button) argument
84 ASSERT(button->type() == InputTypeNames::radio);
85 if (!m_members.add(button).isNewEntry)
88 if (button->isRequired())
90 if (button->checked())
91 setCheckedButton(button);
97 // A radio button no
103 updateCheckedState(HTMLInputElement* button) argument
123 requiredAttributeChanged(HTMLInputElement* button) argument
138 remove(HTMLInputElement* button) argument
171 HTMLInputElement* button = *it; local
[all...]

Completed in 587 milliseconds

1234567891011>>