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

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

Issue 1351013002: Revert of Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_OBSERVER_H_ 5 #ifndef COMPONENTS_MUS_SERVER_VIEW_OBSERVER_H_
6 #define COMPONENTS_MUS_SERVER_VIEW_OBSERVER_H_ 6 #define COMPONENTS_MUS_SERVER_VIEW_OBSERVER_H_
7 7
8 #include "components/mus/public/interfaces/mus_constants.mojom.h" 8 #include "components/mus/public/interfaces/view_manager_constants.mojom.h"
9 9
10 namespace gfx { 10 namespace gfx {
11 class Rect; 11 class Rect;
12 } 12 }
13 13
14 namespace mus { 14 namespace mojo {
15 class ViewportMetrics; 15 class ViewportMetrics;
16 } 16 }
17 17
18 namespace ui { 18 namespace ui {
19 struct TextInputState; 19 struct TextInputState;
20 } 20 }
21 21
22 namespace mus { 22 namespace view_manager {
23 23
24 class ServerView; 24 class ServerView;
25 25
26 // TODO(sky): rename to OnDid and OnWill everywhere. 26 // TODO(sky): rename to OnDid and OnWill everywhere.
27 class ServerViewObserver { 27 class ServerViewObserver {
28 public: 28 public:
29 // Invoked when a view is about to be destroyed; before any of the children 29 // Invoked when a view is about to be destroyed; before any of the children
30 // have been removed and before the view has been removed from its parent. 30 // have been removed and before the view has been removed from its parent.
31 virtual void OnWillDestroyView(ServerView* view) {} 31 virtual void OnWillDestroyView(ServerView* view) {}
32 32
(...skipping 25 matching lines...) Expand all
58 58
59 virtual void OnViewSharedPropertyChanged( 59 virtual void OnViewSharedPropertyChanged(
60 ServerView* view, 60 ServerView* view,
61 const std::string& name, 61 const std::string& name,
62 const std::vector<uint8_t>* new_data) {} 62 const std::vector<uint8_t>* new_data) {}
63 63
64 protected: 64 protected:
65 virtual ~ServerViewObserver() {} 65 virtual ~ServerViewObserver() {}
66 }; 66 };
67 67
68 } // namespace mus 68 } // namespace view_manager
69 69
70 #endif // COMPONENTS_MUS_SERVER_VIEW_OBSERVER_H_ 70 #endif // COMPONENTS_MUS_SERVER_VIEW_OBSERVER_H_
OLDNEW
« no previous file with comments | « components/mus/server_view_drawn_tracker_unittest.cc ('k') | components/mus/surfaces/surfaces_context_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698