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

Unified Diff: mojo/aura/window_tree_host_mojo.h

Issue 294833002: Mojo: more idiomatic C++ bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more Created 6 years, 7 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/aura/window_tree_host_mojo.h
diff --git a/mojo/aura/window_tree_host_mojo.h b/mojo/aura/window_tree_host_mojo.h
index 1a02b7704821df288cc144760fac0fa84d840ed7..ed5246d386568edcf2237824e07e52abfcebabda 100644
--- a/mojo/aura/window_tree_host_mojo.h
+++ b/mojo/aura/window_tree_host_mojo.h
@@ -53,8 +53,8 @@ class WindowTreeHostMojo : public aura::WindowTreeHost,
// Overridden from NativeViewportClient:
virtual void OnCreated() OVERRIDE;
virtual void OnDestroyed() OVERRIDE;
- virtual void OnBoundsChanged(const Rect& bounds) OVERRIDE;
- virtual void OnEvent(const Event& event,
+ virtual void OnBoundsChanged(RectPtr bounds) OVERRIDE;
+ virtual void OnEvent(EventPtr event,
const mojo::Callback<void()>& callback) OVERRIDE;
static ContextFactoryMojo* context_factory_;

Powered by Google App Engine
This is Rietveld 408576698