OLD | NEW |
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_H_ | 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_NODE_H_ |
6 #define MOJO_SERVICES_VIEW_MANAGER_NODE_H_ | 6 #define MOJO_SERVICES_VIEW_MANAGER_NODE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 private: | 73 private: |
74 // WindowObserver overrides: | 74 // WindowObserver overrides: |
75 virtual void OnWindowHierarchyChanged( | 75 virtual void OnWindowHierarchyChanged( |
76 const aura::WindowObserver::HierarchyChangeParams& params) OVERRIDE; | 76 const aura::WindowObserver::HierarchyChangeParams& params) OVERRIDE; |
77 | 77 |
78 // WindowDelegate overrides: | 78 // WindowDelegate overrides: |
79 virtual gfx::Size GetMinimumSize() const OVERRIDE; | 79 virtual gfx::Size GetMinimumSize() const OVERRIDE; |
80 virtual gfx::Size GetMaximumSize() const OVERRIDE; | 80 virtual gfx::Size GetMaximumSize() const OVERRIDE; |
81 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, | 81 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, |
82 const gfx::Rect& new_bounds) OVERRIDE; | 82 const gfx::Rect& new_bounds) OVERRIDE; |
| 83 virtual void OnPropertyChanged(const void* key, intptr_t old) OVERRIDE; |
83 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; | 84 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; |
84 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; | 85 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; |
85 virtual bool ShouldDescendIntoChildForEventHandling( | 86 virtual bool ShouldDescendIntoChildForEventHandling( |
86 aura::Window* child, | 87 aura::Window* child, |
87 const gfx::Point& location) OVERRIDE; | 88 const gfx::Point& location) OVERRIDE; |
88 virtual bool CanFocus() OVERRIDE; | 89 virtual bool CanFocus() OVERRIDE; |
89 virtual void OnCaptureLost() OVERRIDE; | 90 virtual void OnCaptureLost() OVERRIDE; |
90 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 91 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
91 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 92 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
92 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; | 93 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; |
(...skipping 15 matching lines...) Expand all Loading... |
108 | 109 |
109 aura::Window window_; | 110 aura::Window window_; |
110 | 111 |
111 DISALLOW_COPY_AND_ASSIGN(Node); | 112 DISALLOW_COPY_AND_ASSIGN(Node); |
112 }; | 113 }; |
113 | 114 |
114 } // namespace service | 115 } // namespace service |
115 } // namespace mojo | 116 } // namespace mojo |
116 | 117 |
117 #endif // MOJO_SERVICES_VIEW_MANAGER_NODE_H_ | 118 #endif // MOJO_SERVICES_VIEW_MANAGER_NODE_H_ |
OLD | NEW |