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

1234567891011>>

/external/chromium-trace/
H A Dscript.js357 this.onMousedown_.bind(this))},toggleToolbar:function(a){a?this.contentHost.firstChild?this.contentHost.insertBefore(this.contentHost.firstChild,this.toolbar_):this.contentHost.appendChild(this.toolbar_):this.toolbar_.parentElement&&this.contentHost.removeChild(this.toolbar_)},createToolBar_:function(){this.toolbar_=this.ownerDocument.createElement("div");this.toolbar_.className="tool-bar";this.exitButton_=this.ownerDocument.createElement("span");this.exitButton_.className="exit-button";this.exitButton_.textContent=
358 "x";this.exitButton_.title="Close Overlay (esc)";this.toolbar_.appendChild(this.exitButton_)},showOverlay:function(a){a.oldParent_=a.parentNode;this.contentHost.appendChild(a);this.contentHost.appendChild(this.tabCatcher);this.ownerDocument.body.classList.add("disabled-by-overlay");a.tabIndex=0;var c=a.querySelector("button, input, list, select, a");c||(c=a);c.focus();this.ownerDocument.addEventListener("focusin",this.onFocusIn_,!0);a.addEventListener("keydown",this.onKeydown_)},onMousedown_:function(a){a.target==
399 detach:function(){tracing.tracks.HeadingTrack.prototype.detach.call(this);this.viewport.removeEventListener("markersChange",this.viewportMarkersChange_)},viewportMarkersChange_:function(){2>this.viewport.markers.length?this.classList.remove("ruler-track-with-distance-measurements"):this.classList.add("ruler-track-with-distance-measurements")},onMouseDown:function(a){0===a.button&&this.placeAndBeginDraggingMarker(a.clientX)},placeAndBeginDraggingMarker:function(a){var c=window.devicePixelRatio||1;
464 document.createElement("expand-button");this.expandEl_.classList.add("expand-button-expanded");this.processNameEl_=ui.createSpan();this.headerEl_=ui.createDiv({className:"process-track-header"});this.headerEl_.appendChild(this.expandEl_);this.headerEl_.appendChild(this.processNameEl_);this.headerEl_.addEventListener("click",this.onHeaderClick_.bind(this));this.appendChild(this.headerEl_)},get processBase(){return this.processBase_},set processBase(b){if(this.processBase_=b)this.expanded=(new a(this.processBase_.model)).getSettingFor(this.processBase_,
465 "expanded",!0);this.updateContents_()},get expanded(){return this.expandEl_.classList.contains("expand-button-expanded")},set expanded(b){b=!!b;this.expandEl_.classList.contains("expand-button-expanded")!==b&&(b?(this.classList.add("expanded"),this.expandEl_.classList.add("expand-button-expanded")):(this.classList.remove("expanded"),this.expandEl_.classList.remove("expand-button-expanded")),this.viewport_.dispatchChangeEvent(),this.processBase_&&(new a(this.processBase_.model)).setSettingFor(this.processBase_,
481 base.exportTo("ui",function(){var d=ui.define("div");d.prototype={__proto__:HTMLDivElement.prototype,decorate:function(b){this.classList.add("mouse-mode-selector");this.parentEl_=b;b=base.instantiateTemplate("#mouse-mode-selector-template");this.appendChild(b);this.buttonsEl_=this.querySelector(".buttons");this.dragHandleEl_=this.querySelector(".drag-handle");this.panScanModeButton_=this.buttonsEl_.querySelector(".pan-scan-mode-button");thi
[all...]
/external/chromium-trace/trace-viewer/src/about_tracing/
H A Dtracing_controller.css16 .tracing-start-button {
/external/chromium-trace/trace-viewer/src/tracing/
H A Drecord_selection_dialog.css56 .group-selectors button {
H A Dtimeline_track_view.css11 .timeline-track-view .tool-button {
H A Dtimeline_track_view.js607 if (e.button != 0)
H A Dtimeline_view.css53 .timeline-view > .control > .controls > button,
128 .button.find-previous {
133 .button.find-next {
142 .button {
153 .button:hover {
160 .view-info-button {
166 .view-info-button:hover {
170 .view-import-errors-button {
175 .view-import-errors-button:hover {
H A Dtimeline_view_test.js65 return trackButtons.reduce(function(numVisible, button) {
66 var style = button.parentElement.style;
/external/chromium-trace/trace-viewer/src/tracing/tracks/
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) {
H A Druler_track.js58 if (e.button !== 0)
H A Dtrack.css6 .track-button {
16 .track-button:hover {
23 .track-close-button {
29 .track-collapse-button {
/external/chromium-trace/trace-viewer/src/ui/
H A Dinfo_bar.js54 var button = document.createElement('button');
55 button.textContent = text;
56 button.addEventListener('click', clickCallback);
57 this.buttonsEl_.appendChild(button);
58 return button;
H A Dinfo_bar_test.js22 var button = infoBar.addButton('More info...', function() {
25 button.click();
H A Dmouse_mode_selector.css35 .mouse-mode-selector .pan-scan-mode-button {
40 .mouse-mode-selector .pan-scan-mode-button.active {
44 .mouse-mode-selector .selection-mode-button {
49 .mouse-mode-selector .selection-mode-button.active {
53 .mouse-mode-selector .zoom-mode-button {
59 .mouse-mode-selector .zoom-mode-button.active {
H A Dmouse_tracker.js37 if (e.button !== 0)
H A Doverlay.css52 .overlay-root > .content-host .tool-bar .exit-button {
H A Dtool_button.css6 .tool-button {
15 .tool-button.active {
/external/chromium_org/ash/frame/caption_buttons/
H A Dframe_caption_button_container_view.cc43 // Hiding size button 250
45 // Delay 100 Slide minimize button 500
55 // Slide minimize button 500
57 // Delay 100 Show size button 250
122 // Ensure animation tracks visibility of size button.
292 void FrameCaptionButtonContainerView::SetButtonIcon(FrameCaptionButton* button, argument
296 // SetButtonIcon() with ANIMATE_NO to progress |button|'s crossfade animation
298 if (button->icon() == icon &&
299 (animate == ANIMATE_YES || !button->IsAnimatingImageSwap())) {
308 button
386 FrameCaptionButton* button = buttons[i]; local
410 FrameCaptionButton* button = buttons[i]; local
[all...]
H A Dframe_caption_button_container_view.h13 #include "ui/views/controls/button/button.h"
27 // action when a caption button is clicked.
36 // Whether the frame can be minimized (either via the maximize/restore button
37 // or via a dedicated button).
45 // the maximize/restore button or via a dedicated button).
77 // Sets the resource ids of the images to paint the button for |icon|. The
93 // Determines the window HT* code for the caption button at |point|. Returns
98 // Updates the size button'
[all...]
H A Dframe_size_button.cc21 // The default delay between the user pressing the size button and the buttons
22 // adjacent to the size button morphing into buttons for snapping left and
27 // "snap mode" and keep the button hovered/pressed.
32 // would hover/press |button| or keep it hovered/pressed.
33 bool HitTestButton(const ash::FrameCaptionButton* button, argument
35 gfx::Rect expanded_bounds_in_screen = button->GetBoundsInScreen();
36 if (button->state() == views::Button::STATE_HOVERED ||
37 button->state() == views::Button::STATE_PRESSED) {
64 // is enabled. Do not enable snapping if the minimize button is not visible.
65 // The close button i
[all...]
/external/chromium_org/ash/shelf/
H A Dshelf_button.cc210 ShelfButton* button = new ShelfButton(listener, host, shelf_layout_manager); local
211 button->Init();
212 return button;
471 // TODO: refactor the layers so each button doesn't require 2.
H A Dshelf_unittest.cc102 ShelfButton* button = test_api()->GetButton(index); local
103 EXPECT_EQ(ShelfButton::STATE_RUNNING, button->state());
128 ShelfButton* button = test_api()->GetButton(index); local
129 button->AddState(ShelfButton::STATE_HOVERED);
130 button->ShowContextMenu(gfx::Point(), ui::MENU_SOURCE_MOUSE);
131 EXPECT_FALSE(button->state() & ShelfButton::STATE_HOVERED);
140 // Add platform app button until overflow.
H A Dshelf_view.cc50 #include "ui/views/controls/button/image_button.h"
287 void ReflectItemStatus(const ShelfItem& item, ShelfButton* button) { argument
290 button->ClearState(ShelfButton::STATE_ACTIVE);
291 button->ClearState(ShelfButton::STATE_RUNNING);
292 button->ClearState(ShelfButton::STATE_ATTENTION);
295 button->ClearState(ShelfButton::STATE_ACTIVE);
296 button->AddState(ShelfButton::STATE_RUNNING);
297 button->ClearState(ShelfButton::STATE_ATTENTION);
300 button->AddState(ShelfButton::STATE_ACTIVE);
301 button
465 ShelfButton* button = static_cast<ShelfButton*>(view_model_->view_at(index)); local
874 ShelfButton* button = ShelfButton::Create(this, this, layout_manager_); local
1071 ShelfButton* button = static_cast<ShelfButton*>(drag_view_); local
1155 ShelfButton* button = static_cast<ShelfButton*>(drag_view_); local
1531 ShelfButton* button = static_cast<ShelfButton*>(view); local
1869 ShelfButton* button = static_cast<ShelfButton*>(view); local
[all...]
H A Dshelf_view_unittest.cc434 ShelfButton* button = test_api_->GetButton(button_index); local
437 button->GetBoundsInScreen().origin(), 0, 0);
438 button_host->PointerPressedOnButton(button, pointer, click_event);
439 return button;
445 ShelfButton* button = local
449 button->GetBoundsInScreen().origin(),
452 test_api_->ButtonPressed(button, release_event);
453 button_host->PointerReleasedOnButton(button, ShelfButtonHost::MOUSE, false);
459 ShelfButton* button = local
463 button
474 views::View* button = SimulateButtonPressed(pointer, button_index); local
490 ShelfButton* button = test_api_->GetButton(i); local
684 ShelfButton* button = GetButtonByID(id); local
951 ShelfButton* button = test_api_->GetButton(i); local
1114 views::View* button = (id_map.begin() + 1)->second; local
1165 ShelfButton* button = GetButtonByID(last_added); local
1186 ShelfButton* button = GetButtonByID(last_added); local
1305 ShelfButton* button = test_api_->GetButton(i); local
1330 ShelfButton* button = test_api_->GetButton(i); local
1356 ShelfButton* button = test_api_->GetButton(i); local
1470 ShelfButton* button = test_for_overflow_view.GetButton(ripped_index); local
1584 ShelfButton* button = test_api_for_overflow_view.GetButton( local
1649 ShelfButton* button = local
[all...]
/external/chromium_org/ash/system/chromeos/multi_user/
H A Duser_switch_util.cc42 ui::DialogButton button) const OVERRIDE;
43 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE;
105 ui::DialogButton button) const {
107 button == ui::DIALOG_BUTTON_OK ?
113 ui::DialogButton button) const {
114 return button == ui::DIALOG_BUTTON_OK || button == ui::DIALOG_BUTTON_CANCEL;
/external/chromium_org/ash/system/chromeos/network/
H A Dnetwork_state_list_detailed_view.cc390 TrayPopupHeaderButton* button,
396 button->SetVisible(false);
399 button->SetVisible(true);
401 button->SetEnabled(true);
402 button->SetToggled(true);
404 button->SetEnabled(true);
405 button->SetToggled(false);
407 button->SetEnabled(false);
408 button->SetToggled(false);
410 button
389 UpdateTechnologyButton( TrayPopupHeaderButton* button, const NetworkTypePattern& technology) argument
[all...]

Completed in 3117 milliseconds

1234567891011>>