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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 virtual void ClearNativeFocus() OVERRIDE; | 171 virtual void ClearNativeFocus() OVERRIDE; |
172 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; | 172 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; |
173 virtual Widget::MoveLoopResult RunMoveLoop( | 173 virtual Widget::MoveLoopResult RunMoveLoop( |
174 const gfx::Vector2d& drag_offset, | 174 const gfx::Vector2d& drag_offset, |
175 Widget::MoveLoopSource source, | 175 Widget::MoveLoopSource source, |
176 Widget::MoveLoopEscapeBehavior escape_behavior) OVERRIDE; | 176 Widget::MoveLoopEscapeBehavior escape_behavior) OVERRIDE; |
177 virtual void EndMoveLoop() OVERRIDE; | 177 virtual void EndMoveLoop() OVERRIDE; |
178 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; | 178 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; |
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 void RepostNativeEvent(gfx::NativeEvent native_event) OVERRIDE; | 182 virtual void RepostNativeEvent(gfx::NativeEvent native_event) OVERRIDE; |
182 | 183 |
183 // Overridden from aura::WindowDelegate: | 184 // Overridden from aura::WindowDelegate: |
184 virtual gfx::Size GetMinimumSize() const OVERRIDE; | 185 virtual gfx::Size GetMinimumSize() const OVERRIDE; |
185 virtual gfx::Size GetMaximumSize() const OVERRIDE; | 186 virtual gfx::Size GetMaximumSize() const OVERRIDE; |
186 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, | 187 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, |
187 const gfx::Rect& new_bounds) OVERRIDE {} | 188 const gfx::Rect& new_bounds) OVERRIDE {} |
188 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; | 189 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; |
189 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; | 190 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; |
190 virtual bool ShouldDescendIntoChildForEventHandling( | 191 virtual bool ShouldDescendIntoChildForEventHandling( |
(...skipping 122 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 |