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/activation_delegate.h" | 9 #include "ui/aura/client/activation_delegate.h" |
10 #include "ui/aura/window_delegate.h" | 10 #include "ui/aura/window_delegate.h" |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; | 120 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; |
121 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; | 121 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; |
122 virtual Widget::MoveLoopResult RunMoveLoop( | 122 virtual Widget::MoveLoopResult RunMoveLoop( |
123 const gfx::Vector2d& drag_offset) OVERRIDE; | 123 const gfx::Vector2d& drag_offset) OVERRIDE; |
124 virtual void EndMoveLoop() OVERRIDE; | 124 virtual void EndMoveLoop() OVERRIDE; |
125 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; | 125 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; |
126 virtual ui::NativeTheme* GetNativeTheme() const OVERRIDE; | 126 virtual ui::NativeTheme* GetNativeTheme() const OVERRIDE; |
127 | 127 |
128 // Overridden from aura::WindowDelegate: | 128 // Overridden from aura::WindowDelegate: |
129 virtual gfx::Size GetMinimumSize() const OVERRIDE; | 129 virtual gfx::Size GetMinimumSize() const OVERRIDE; |
| 130 virtual gfx::Size GetMaximumSize() const OVERRIDE; |
130 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, | 131 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, |
131 const gfx::Rect& new_bounds) OVERRIDE; | 132 const gfx::Rect& new_bounds) OVERRIDE; |
132 virtual void OnFocus(aura::Window* old_focused_window) OVERRIDE; | 133 virtual void OnFocus(aura::Window* old_focused_window) OVERRIDE; |
133 virtual void OnBlur() OVERRIDE; | 134 virtual void OnBlur() OVERRIDE; |
134 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; | 135 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; |
135 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; | 136 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; |
136 virtual bool ShouldDescendIntoChildForEventHandling( | 137 virtual bool ShouldDescendIntoChildForEventHandling( |
137 aura::Window* child, | 138 aura::Window* child, |
138 const gfx::Point& location) OVERRIDE; | 139 const gfx::Point& location) OVERRIDE; |
139 virtual bool CanFocus() OVERRIDE; | 140 virtual bool CanFocus() OVERRIDE; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 internal::NativeWidgetDelegate* native_widget_delegate_; | 183 internal::NativeWidgetDelegate* native_widget_delegate_; |
183 | 184 |
184 scoped_ptr<aura::client::StackingClient> stacking_client_; | 185 scoped_ptr<aura::client::StackingClient> stacking_client_; |
185 | 186 |
186 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); | 187 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); |
187 }; | 188 }; |
188 | 189 |
189 } // namespace views | 190 } // namespace views |
190 | 191 |
191 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 192 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
OLD | NEW |