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

Side by Side Diff: third_party/mojo_services/src/view_manager/public/cpp/view_observer.h

Issue 954643002: Update mojo sdk to rev 3d23dae011859a2aae49f1d1adde705c8e85d819 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use run_renderer_in_process() Created 5 years, 9 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_OBSERVER_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_OBSERVER_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_OBSERVER_H_ 6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_OBSERVER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h"
11
12 #include "input_events/public/interfaces/input_events.mojom.h" 10 #include "input_events/public/interfaces/input_events.mojom.h"
13 #include "view_manager/public/cpp/view.h" 11 #include "view_manager/public/cpp/view.h"
14 12
15 namespace mojo { 13 namespace mojo {
16 14
17 class View; 15 class View;
18 16
19 // A note on -ing and -ed suffixes: 17 // A note on -ing and -ed suffixes:
20 // 18 //
21 // -ing methods are called before changes are applied to the local view model. 19 // -ing methods are called before changes are applied to the local view model.
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 virtual void OnViewDrawnChanging(View* view) {} 97 virtual void OnViewDrawnChanging(View* view) {}
100 virtual void OnViewDrawnChanged(View* view) {} 98 virtual void OnViewDrawnChanged(View* view) {}
101 99
102 protected: 100 protected:
103 virtual ~ViewObserver() {} 101 virtual ~ViewObserver() {}
104 }; 102 };
105 103
106 } // namespace mojo 104 } // namespace mojo
107 105
108 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_OBSERVER_H_ 106 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698