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

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

Issue 557573002: Changes view manager to report visibility and drawn state (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 2 trunk Created 6 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 | « no previous file | mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.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 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_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ 5 #ifndef MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_CLIENT_IMPL_H_
6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ 6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_CLIENT_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 RectPtr old_bounds, 98 RectPtr old_bounds,
99 RectPtr new_bounds) OVERRIDE; 99 RectPtr new_bounds) OVERRIDE;
100 virtual void OnViewHierarchyChanged(Id view_id, 100 virtual void OnViewHierarchyChanged(Id view_id,
101 Id new_parent_id, 101 Id new_parent_id,
102 Id old_parent_id, 102 Id old_parent_id,
103 Array<ViewDataPtr> views) OVERRIDE; 103 Array<ViewDataPtr> views) OVERRIDE;
104 virtual void OnViewReordered(Id view_id, 104 virtual void OnViewReordered(Id view_id,
105 Id relative_view_id, 105 Id relative_view_id,
106 OrderDirection direction) OVERRIDE; 106 OrderDirection direction) OVERRIDE;
107 virtual void OnViewDeleted(Id view_id) OVERRIDE; 107 virtual void OnViewDeleted(Id view_id) OVERRIDE;
108 virtual void OnViewInputEvent(Id view, 108 virtual void OnViewVisibilityChanged(Id view_id, bool visible) OVERRIDE;
109 virtual void OnViewDrawnStateChanged(Id view_id, bool drawn) OVERRIDE;
110 virtual void OnViewInputEvent(Id view_id,
109 EventPtr event, 111 EventPtr event,
110 const Callback<void()>& callback) OVERRIDE; 112 const Callback<void()>& callback) OVERRIDE;
111 virtual void Embed( 113 virtual void Embed(
112 const String& url, 114 const String& url,
113 InterfaceRequest<ServiceProvider> service_provider) OVERRIDE; 115 InterfaceRequest<ServiceProvider> service_provider) OVERRIDE;
114 virtual void DispatchOnViewInputEvent(EventPtr event) OVERRIDE; 116 virtual void DispatchOnViewInputEvent(EventPtr event) OVERRIDE;
115 117
116 // Overridden from WindowManagerClient: 118 // Overridden from WindowManagerClient:
117 virtual void OnWindowManagerReady() OVERRIDE; 119 virtual void OnWindowManagerReady() OVERRIDE;
118 virtual void OnCaptureChanged(Id old_capture_view_id, 120 virtual void OnCaptureChanged(Id old_capture_view_id,
(...skipping 29 matching lines...) Expand all
148 ViewManagerService* service_; 150 ViewManagerService* service_;
149 151
150 WindowManagerServicePtr window_manager_; 152 WindowManagerServicePtr window_manager_;
151 153
152 DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl); 154 DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl);
153 }; 155 };
154 156
155 } // namespace mojo 157 } // namespace mojo
156 158
157 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ 159 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698