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

Side by Side Diff: components/mus/server_view_drawn_tracker_observer.h

Issue 1340983002: Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 3 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_MUS_SERVER_VIEW_DRAWN_TRACKER_OBSERVER_H_ 5 #ifndef COMPONENTS_MUS_SERVER_VIEW_DRAWN_TRACKER_OBSERVER_H_
6 #define COMPONENTS_MUS_SERVER_VIEW_DRAWN_TRACKER_OBSERVER_H_ 6 #define COMPONENTS_MUS_SERVER_VIEW_DRAWN_TRACKER_OBSERVER_H_
7 7
8 namespace view_manager { 8 namespace mus {
9 9
10 class ServerView; 10 class ServerView;
11 11
12 class ServerViewDrawnTrackerObserver { 12 class ServerViewDrawnTrackerObserver {
13 public: 13 public:
14 // Invoked when the drawn state changes. If |is_drawn| is false |ancestor| 14 // Invoked when the drawn state changes. If |is_drawn| is false |ancestor|
15 // identifies where the change occurred. In the case of a remove |ancestor| is 15 // identifies where the change occurred. In the case of a remove |ancestor| is
16 // the parent of the view that was removed. In the case of a visibility change 16 // the parent of the view that was removed. In the case of a visibility change
17 // |ancestor| is the parent of the view whose visibility changed. 17 // |ancestor| is the parent of the view whose visibility changed.
18 virtual void OnDrawnStateChanged(ServerView* ancestor, 18 virtual void OnDrawnStateChanged(ServerView* ancestor,
19 ServerView* view, 19 ServerView* view,
20 bool is_drawn) {} 20 bool is_drawn) {}
21 21
22 protected: 22 protected:
23 virtual ~ServerViewDrawnTrackerObserver() {} 23 virtual ~ServerViewDrawnTrackerObserver() {}
24 }; 24 };
25 25
26 } // namespace view_manager 26 } // namespace mus
27 27
28 #endif // COMPONENTS_MUS_SERVER_VIEW_DRAWN_TRACKER_OBSERVER_H_ 28 #endif // COMPONENTS_MUS_SERVER_VIEW_DRAWN_TRACKER_OBSERVER_H_
OLDNEW
« no previous file with comments | « components/mus/server_view_drawn_tracker.cc ('k') | components/mus/server_view_drawn_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698