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

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: Changed SetHasInkDrop to SetInkDropMode Created 4 years, 5 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 // list should be shown. If this is NULL, the active root window 241 // list should be shown. If this is NULL, the active root window
242 // will be used. 242 // will be used.
243 void ShowAppList(aura::Window* anchor); 243 void ShowAppList(aura::Window* anchor);
244 244
245 // Dismisses the app list. 245 // Dismisses the app list.
246 void DismissAppList(); 246 void DismissAppList();
247 247
248 // Shows the app list if it's not visible. Dismisses it otherwise. 248 // Shows the app list if it's not visible. Dismisses it otherwise.
249 void ToggleAppList(aura::Window* anchor); 249 void ToggleAppList(aura::Window* anchor);
250 250
251 // Returns app list actual visibility. This might differ from
252 // GetAppListTargetVisibility() when hiding animation is still in flight.
253 bool IsApplistVisible() const;
254
251 // Returns app list target visibility. 255 // Returns app list target visibility.
252 bool GetAppListTargetVisibility() const; 256 bool GetAppListTargetVisibility() const;
253 257
254 // Creates a default views::NonClientFrameView for use by windows in the 258 // Creates a default views::NonClientFrameView for use by windows in the
255 // Ash environment. 259 // Ash environment.
256 views::NonClientFrameView* CreateDefaultNonClientFrameView( 260 views::NonClientFrameView* CreateDefaultNonClientFrameView(
257 views::Widget* widget); 261 views::Widget* widget);
258 262
259 // Sets the work area insets of the display that contains |window|, 263 // Sets the work area insets of the display that contains |window|,
260 // this notifies observers too. 264 // this notifies observers too.
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 base::SequencedWorkerPool* blocking_pool_; 736 base::SequencedWorkerPool* blocking_pool_;
733 737
734 bool in_mus_ = false; 738 bool in_mus_ = false;
735 739
736 DISALLOW_COPY_AND_ASSIGN(Shell); 740 DISALLOW_COPY_AND_ASSIGN(Shell);
737 }; 741 };
738 742
739 } // namespace ash 743 } // namespace ash
740 744
741 #endif // ASH_SHELL_H_ 745 #endif // ASH_SHELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698