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

Side by Side Diff: mojo/services/public/cpp/view_manager/view_observer.h

Issue 703273002: Update mojo sdk to rev 04a510fb37db10642e156957f9b2c11c2f6442ac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix content/child -> mojo/common linking Created 6 years, 1 month 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_PUBLIC_CPP_VIEW_MANAGER_VIEW_OBSERVER_H_ 5 #ifndef MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_OBSERVER_H_
6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_OBSERVER_H_ 6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_OBSERVER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 virtual void OnViewInputEvent(View* view, const EventPtr& event) {} 61 virtual void OnViewInputEvent(View* view, const EventPtr& event) {}
62 62
63 virtual void OnViewVisibilityChanging(View* view) {} 63 virtual void OnViewVisibilityChanging(View* view) {}
64 virtual void OnViewVisibilityChanged(View* view) {} 64 virtual void OnViewVisibilityChanged(View* view) {}
65 65
66 virtual void OnViewPropertyChanged(View* view, 66 virtual void OnViewPropertyChanged(View* view,
67 const std::string& name, 67 const std::string& name,
68 const std::vector<uint8_t>* old_data, 68 const std::vector<uint8_t>* old_data,
69 const std::vector<uint8_t>* new_data) {} 69 const std::vector<uint8_t>* new_data) {}
70 70
71 virtual void OnViewEmbeddedAppDisconnected(View* view) {}
72
71 // Sent when the drawn state changes. This is only sent for the root nodes 73 // Sent when the drawn state changes. This is only sent for the root nodes
72 // when embedded. 74 // when embedded.
73 virtual void OnViewDrawnChanging(View* view) {} 75 virtual void OnViewDrawnChanging(View* view) {}
74 virtual void OnViewDrawnChanged(View* view) {} 76 virtual void OnViewDrawnChanged(View* view) {}
75 77
76 protected: 78 protected:
77 virtual ~ViewObserver() {} 79 virtual ~ViewObserver() {}
78 }; 80 };
79 81
80 } // namespace mojo 82 } // namespace mojo
81 83
82 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_OBSERVER_H_ 84 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698