Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Side by Side Diff: ash/shell.h

Issue 2070143003: Add MD ink drop ripple to app list button (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@b612539_shelf_button_ripple
Patch Set: Rebased Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_SHELL_H_ 5 #ifndef ASH_SHELL_H_
6 #define ASH_SHELL_H_ 6 #define ASH_SHELL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 // list should be shown. If this is NULL, the active root window 252 // list should be shown. If this is NULL, the active root window
253 // will be used. 253 // will be used.
254 void ShowAppList(aura::Window* anchor); 254 void ShowAppList(aura::Window* anchor);
255 255
256 // Dismisses the app list. 256 // Dismisses the app list.
257 void DismissAppList(); 257 void DismissAppList();
258 258
259 // Shows the app list if it's not visible. Dismisses it otherwise. 259 // Shows the app list if it's not visible. Dismisses it otherwise.
260 void ToggleAppList(aura::Window* anchor); 260 void ToggleAppList(aura::Window* anchor);
261 261
262 // Returns app list actual visibility. This might differ from
263 // GetAppListTargetVisibility() when hiding animation is still in flight.
264 bool IsApplistVisible() const;
bruthig 2016/06/17 17:58:45 You might want to run this change by jamescook@ so
mohsen 2016/06/18 06:25:15 Sure. Will send the patch to jamescook@ ASAP. But,
265
262 // Returns app list target visibility. 266 // Returns app list target visibility.
263 bool GetAppListTargetVisibility() const; 267 bool GetAppListTargetVisibility() const;
264 268
265 // Returns true if a system-modal dialog window is currently open. 269 // Returns true if a system-modal dialog window is currently open.
266 bool IsSystemModalWindowOpen() const; 270 bool IsSystemModalWindowOpen() const;
267 271
268 // For testing only: set simulation that a modal window is open 272 // For testing only: set simulation that a modal window is open
269 void SimulateModalWindowOpenForTesting(bool modal_window_open) { 273 void SimulateModalWindowOpenForTesting(bool modal_window_open) {
270 simulate_modal_window_open_for_testing_ = modal_window_open; 274 simulate_modal_window_open_for_testing_ = modal_window_open;
271 } 275 }
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 bool in_mus_ = false; 791 bool in_mus_ = false;
788 792
789 std::unique_ptr<KeyboardUI> keyboard_ui_; 793 std::unique_ptr<KeyboardUI> keyboard_ui_;
790 794
791 DISALLOW_COPY_AND_ASSIGN(Shell); 795 DISALLOW_COPY_AND_ASSIGN(Shell);
792 }; 796 };
793 797
794 } // namespace ash 798 } // namespace ash
795 799
796 #endif // ASH_SHELL_H_ 800 #endif // ASH_SHELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698