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

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

Issue 1344573002: Mandoline: Rename components/view_manager to components/mus (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
« no previous file with comments | « components/mus/server_view_delegate.h ('k') | components/mus/server_view_drawn_tracker.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 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_VIEW_MANAGER_SERVER_VIEW_DRAWN_TRACKER_H_ 5 #ifndef COMPONENTS_MUS_SERVER_VIEW_DRAWN_TRACKER_H_
6 #define COMPONENTS_VIEW_MANAGER_SERVER_VIEW_DRAWN_TRACKER_H_ 6 #define COMPONENTS_MUS_SERVER_VIEW_DRAWN_TRACKER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "components/view_manager/server_view_observer.h" 11 #include "components/mus/server_view_observer.h"
12 12
13 namespace view_manager { 13 namespace view_manager {
14 14
15 class ServerViewDrawnTrackerObserver; 15 class ServerViewDrawnTrackerObserver;
16 16
17 // ServerViewDrawnTracker notifies its observer any time the drawn state of 17 // ServerViewDrawnTracker notifies its observer any time the drawn state of
18 // the supplied view changes. 18 // the supplied view changes.
19 // 19 //
20 // NOTE: you must ensure this class is destroyed before the root. 20 // NOTE: you must ensure this class is destroyed before the root.
21 class ServerViewDrawnTracker : public ServerViewObserver { 21 class ServerViewDrawnTracker : public ServerViewObserver {
(...skipping 24 matching lines...) Expand all
46 ServerViewDrawnTrackerObserver* observer_; 46 ServerViewDrawnTrackerObserver* observer_;
47 bool drawn_; 47 bool drawn_;
48 // Set of views we're observing. This is |view_| and all its ancestors. 48 // Set of views we're observing. This is |view_| and all its ancestors.
49 std::set<ServerView*> views_; 49 std::set<ServerView*> views_;
50 50
51 DISALLOW_COPY_AND_ASSIGN(ServerViewDrawnTracker); 51 DISALLOW_COPY_AND_ASSIGN(ServerViewDrawnTracker);
52 }; 52 };
53 53
54 } // namespace view_manager 54 } // namespace view_manager
55 55
56 #endif // COMPONENTS_VIEW_MANAGER_SERVER_VIEW_DRAWN_TRACKER_H_ 56 #endif // COMPONENTS_MUS_SERVER_VIEW_DRAWN_TRACKER_H_
OLDNEW
« no previous file with comments | « components/mus/server_view_delegate.h ('k') | components/mus/server_view_drawn_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698