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

Side by Side Diff: mojo/services/view_manager/node_delegate.h

Issue 507563002: Removes usage of aura::Window from Node (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: conditional 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 | Annotate | Revision Log
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_VIEW_MANAGER_NODE_DELEGATE_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_NODE_DELEGATE_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_NODE_DELEGATE_H_ 6 #define MOJO_SERVICES_VIEW_MANAGER_NODE_DELEGATE_H_
7 7
8 #include "mojo/services/view_manager/view_manager_export.h" 8 #include "mojo/services/view_manager/view_manager_export.h"
9 9
10 namespace gfx { 10 namespace gfx {
(...skipping 13 matching lines...) Expand all
24 24
25 // Invoked when the hierarchy has changed. 25 // Invoked when the hierarchy has changed.
26 virtual void OnNodeHierarchyChanged(const Node* node, 26 virtual void OnNodeHierarchyChanged(const Node* node,
27 const Node* new_parent, 27 const Node* new_parent,
28 const Node* old_parent) = 0; 28 const Node* old_parent) = 0;
29 29
30 virtual void OnNodeBoundsChanged(const Node* node, 30 virtual void OnNodeBoundsChanged(const Node* node,
31 const gfx::Rect& old_bounds, 31 const gfx::Rect& old_bounds,
32 const gfx::Rect& new_bounds) = 0; 32 const gfx::Rect& new_bounds) = 0;
33 33
34 virtual void OnNodeBitmapChanged(const Node* node) = 0;
35
34 protected: 36 protected:
35 virtual ~NodeDelegate() {} 37 virtual ~NodeDelegate() {}
36 }; 38 };
37 39
38 } // namespace service 40 } // namespace service
39 } // namespace mojo 41 } // namespace mojo
40 42
41 #endif // MOJO_SERVICES_VIEW_MANAGER_NODE_DELEGATE_H_ 43 #endif // MOJO_SERVICES_VIEW_MANAGER_NODE_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698