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

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

Issue 354933002: Connect X11 ConfigureNotify events to Mojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed double-notification for node bounds changes Created 6 years, 5 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
« no previous file with comments | « mojo/services/view_manager/node.cc ('k') | mojo/services/view_manager/root_node_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/view_manager/node_delegate.h
diff --git a/mojo/services/view_manager/node_delegate.h b/mojo/services/view_manager/node_delegate.h
index d63acc91998842d8bcca105d217181fde2df0f0a..ca4254ed62c87364f24f35d0b3cfa43db2634309 100644
--- a/mojo/services/view_manager/node_delegate.h
+++ b/mojo/services/view_manager/node_delegate.h
@@ -11,6 +11,10 @@ namespace ui {
class Event;
}
+namespace gfx {
+class Rect;
+}
+
namespace mojo {
namespace view_manager {
namespace service {
@@ -25,6 +29,10 @@ class MOJO_VIEW_MANAGER_EXPORT NodeDelegate {
const Node* new_parent,
const Node* old_parent) = 0;
+ virtual void OnNodeBoundsChanged(const Node* node,
+ const gfx::Rect& old_bounds,
+ const gfx::Rect& new_bounds) = 0;
+
// Invoked when the View associated with a node changes.
virtual void OnNodeViewReplaced(const Node* node,
const View* new_view,
« no previous file with comments | « mojo/services/view_manager/node.cc ('k') | mojo/services/view_manager/root_node_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698