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

Unified Diff: mojo/services/view_manager/display_manager.h

Issue 607233002: Nukes NativeViewportClient::OnCreated (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build 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 side-by-side diff with in-line comments
Download patch
Index: mojo/services/view_manager/display_manager.h
diff --git a/mojo/services/view_manager/display_manager.h b/mojo/services/view_manager/display_manager.h
index fd231ef7b5529cf568e6599a3b1237f1f0cbe984..21009f3d96c446472b6c73b8c1368f25eb52c55c 100644
--- a/mojo/services/view_manager/display_manager.h
+++ b/mojo/services/view_manager/display_manager.h
@@ -49,13 +49,13 @@ class MOJO_VIEW_MANAGER_EXPORT DisplayManager
bool in_setup() const { return in_setup_; }
private:
+ void OnCreatedNativeViewport(uint64_t native_viewport_id);
void OnSurfaceConnectionCreated(SurfacePtr surface, uint32_t id_namespace);
void Draw();
// NativeViewportClient implementation.
- virtual void OnCreated(uint64_t native_viewport_id) OVERRIDE;
virtual void OnDestroyed() OVERRIDE;
- virtual void OnBoundsChanged(SizePtr bounds) OVERRIDE;
+ virtual void OnSizeChanged(SizePtr size) OVERRIDE;
virtual void OnEvent(EventPtr event,
const mojo::Callback<void()>& callback) OVERRIDE;
@@ -67,7 +67,7 @@ class MOJO_VIEW_MANAGER_EXPORT DisplayManager
// Returns true if adding the root view's window to |window_tree_host_|.
bool in_setup_;
- gfx::Size bounds_;
+ gfx::Size size_;
gfx::Rect dirty_rect_;
base::Timer draw_timer_;
« no previous file with comments | « mojo/services/public/interfaces/native_viewport/native_viewport.mojom ('k') | mojo/services/view_manager/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698