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

Side by Side Diff: ui/wm/core/visibility_controller.h

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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
« no previous file with comments | « ui/wm/core/user_activity_detector_unittest.cc ('k') | ui/wm/core/window_animations.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 UI_WM_CORE_VISIBILITY_CONTROLLER_H_ 5 #ifndef UI_WM_CORE_VISIBILITY_CONTROLLER_H_
6 #define UI_WM_CORE_VISIBILITY_CONTROLLER_H_ 6 #define UI_WM_CORE_VISIBILITY_CONTROLLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "ui/aura/client/visibility_client.h" 10 #include "ui/aura/client/visibility_client.h"
(...skipping 11 matching lines...) Expand all
22 // Subclasses override if they want to call a different implementation of 22 // Subclasses override if they want to call a different implementation of
23 // this function. 23 // this function.
24 // TODO(beng): potentially replace by an actual window animator class in 24 // TODO(beng): potentially replace by an actual window animator class in
25 // window_animations.h. 25 // window_animations.h.
26 virtual bool CallAnimateOnChildWindowVisibilityChanged(aura::Window* window, 26 virtual bool CallAnimateOnChildWindowVisibilityChanged(aura::Window* window,
27 bool visible); 27 bool visible);
28 28
29 private: 29 private:
30 // Overridden from aura::client::VisibilityClient: 30 // Overridden from aura::client::VisibilityClient:
31 virtual void UpdateLayerVisibility(aura::Window* window, 31 virtual void UpdateLayerVisibility(aura::Window* window,
32 bool visible) OVERRIDE; 32 bool visible) override;
33 33
34 DISALLOW_COPY_AND_ASSIGN(VisibilityController); 34 DISALLOW_COPY_AND_ASSIGN(VisibilityController);
35 }; 35 };
36 36
37 // Suspends the animations for visibility changes during the lifetime of an 37 // Suspends the animations for visibility changes during the lifetime of an
38 // instance of this class. 38 // instance of this class.
39 // 39 //
40 // Example: 40 // Example:
41 // 41 //
42 // void ViewName::UnanimatedAction() { 42 // void ViewName::UnanimatedAction() {
(...skipping 22 matching lines...) Expand all
65 DISALLOW_COPY_AND_ASSIGN(SuspendChildWindowVisibilityAnimations); 65 DISALLOW_COPY_AND_ASSIGN(SuspendChildWindowVisibilityAnimations);
66 }; 66 };
67 67
68 // Tells |window| to animate visibility changes to its children. 68 // Tells |window| to animate visibility changes to its children.
69 void WM_EXPORT SetChildWindowVisibilityChangesAnimated( 69 void WM_EXPORT SetChildWindowVisibilityChangesAnimated(
70 aura::Window* window); 70 aura::Window* window);
71 71
72 } // namespace wm 72 } // namespace wm
73 73
74 #endif // UI_WM_CORE_VISIBILITY_CONTROLLER_H_ 74 #endif // UI_WM_CORE_VISIBILITY_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ui/wm/core/user_activity_detector_unittest.cc ('k') | ui/wm/core/window_animations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698