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

Unified Diff: mojo/services/public/cpp/view_manager/view_observer.h

Issue 658923003: Remove dependency on ui from view_manager. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebase Created 6 years, 2 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/public/cpp/view_manager/view_observer.h
diff --git a/mojo/services/public/cpp/view_manager/view_observer.h b/mojo/services/public/cpp/view_manager/view_observer.h
index 1a2ab7e2283b176a43e499daaa16b258a6d54a59..ab52666ff8699171923d4a6b71e02f062d54a57a 100644
--- a/mojo/services/public/cpp/view_manager/view_observer.h
+++ b/mojo/services/public/cpp/view_manager/view_observer.h
@@ -12,10 +12,6 @@
#include "mojo/services/public/cpp/view_manager/view.h"
#include "mojo/services/public/interfaces/input_events/input_events.mojom.h"
-namespace gfx {
-class Rect;
-}
-
namespace mojo {
class View;
@@ -54,11 +50,11 @@ class ViewObserver {
virtual void OnViewDestroyed(View* view) {}
virtual void OnViewBoundsChanging(View* view,
- const gfx::Rect& old_bounds,
- const gfx::Rect& new_bounds) {}
+ const Rect& old_bounds,
+ const Rect& new_bounds) {}
virtual void OnViewBoundsChanged(View* view,
- const gfx::Rect& old_bounds,
- const gfx::Rect& new_bounds) {}
+ const Rect& old_bounds,
+ const Rect& new_bounds) {}
virtual void OnViewFocusChanged(View* gained_focus, View* lost_focus) {}

Powered by Google App Engine
This is Rietveld 408576698