OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
7 | 7 |
8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
9 #include "ui/aura/client/focus_change_observer.h" | 9 #include "ui/aura/client/focus_change_observer.h" |
10 #include "ui/aura/window_delegate.h" | 10 #include "ui/aura/window_delegate.h" |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 virtual ui::NativeTheme* GetNativeTheme() const OVERRIDE; | 179 virtual ui::NativeTheme* GetNativeTheme() const OVERRIDE; |
180 virtual void OnRootViewLayout() OVERRIDE; | 180 virtual void OnRootViewLayout() OVERRIDE; |
181 virtual bool IsTranslucentWindowOpacitySupported() const OVERRIDE; | 181 virtual bool IsTranslucentWindowOpacitySupported() const OVERRIDE; |
182 virtual void RepostNativeEvent(gfx::NativeEvent native_event) OVERRIDE; | 182 virtual void RepostNativeEvent(gfx::NativeEvent native_event) OVERRIDE; |
183 | 183 |
184 // Overridden from aura::WindowDelegate: | 184 // Overridden from aura::WindowDelegate: |
185 virtual gfx::Size GetMinimumSize() const OVERRIDE; | 185 virtual gfx::Size GetMinimumSize() const OVERRIDE; |
186 virtual gfx::Size GetMaximumSize() const OVERRIDE; | 186 virtual gfx::Size GetMaximumSize() const OVERRIDE; |
187 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, | 187 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, |
188 const gfx::Rect& new_bounds) OVERRIDE {} | 188 const gfx::Rect& new_bounds) OVERRIDE {} |
| 189 virtual void OnPropertyChanged(const void* key, intptr_t old) OVERRIDE {} |
189 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; | 190 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; |
190 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; | 191 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; |
191 virtual bool ShouldDescendIntoChildForEventHandling( | 192 virtual bool ShouldDescendIntoChildForEventHandling( |
192 aura::Window* child, | 193 aura::Window* child, |
193 const gfx::Point& location) OVERRIDE; | 194 const gfx::Point& location) OVERRIDE; |
194 virtual bool CanFocus() OVERRIDE; | 195 virtual bool CanFocus() OVERRIDE; |
195 virtual void OnCaptureLost() OVERRIDE; | 196 virtual void OnCaptureLost() OVERRIDE; |
196 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 197 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
197 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 198 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
198 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; | 199 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 | 314 |
314 // See class documentation for Widget in widget.h for a note about type. | 315 // See class documentation for Widget in widget.h for a note about type. |
315 Widget::InitParams::Type widget_type_; | 316 Widget::InitParams::Type widget_type_; |
316 | 317 |
317 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); | 318 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); |
318 }; | 319 }; |
319 | 320 |
320 } // namespace views | 321 } // namespace views |
321 | 322 |
322 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 323 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
OLD | NEW |