Chromium Code Reviews| 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_NATIVE_WIDGET_AURA_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_vector.h" | 8 #include "base/memory/scoped_vector.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "ui/aura/client/activation_change_observer.h" | 10 #include "ui/aura/client/activation_change_observer.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 49 // Called internally by NativeWidgetAura and DesktopNativeWidgetAura to | 49 // Called internally by NativeWidgetAura and DesktopNativeWidgetAura to |
| 50 // associate |native_widget| with |window|. | 50 // associate |native_widget| with |window|. |
| 51 static void RegisterNativeWidgetForWindow( | 51 static void RegisterNativeWidgetForWindow( |
| 52 internal::NativeWidgetPrivate* native_widget, | 52 internal::NativeWidgetPrivate* native_widget, |
| 53 aura::Window* window); | 53 aura::Window* window); |
| 54 | 54 |
| 55 // Overridden from internal::NativeWidgetPrivate: | 55 // Overridden from internal::NativeWidgetPrivate: |
| 56 virtual void InitNativeWidget(const Widget::InitParams& params) OVERRIDE; | 56 virtual void InitNativeWidget(const Widget::InitParams& params) OVERRIDE; |
| 57 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; | 57 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; |
| 58 virtual bool ShouldUseNativeFrame() const OVERRIDE; | 58 virtual bool ShouldUseNativeFrame() const OVERRIDE; |
| 59 virtual void FrameTypeChanged() OVERRIDE; | 59 virtual void FrameTypeChanged(Widget::FrameType new_type) OVERRIDE; |
|
sky
2014/02/04 01:03:18
Why can't whoever needs this use Widget::frame_typ
Matt Giuca
2014/02/06 00:28:51
Done.
Umm... feeling kind of silly that I didn't
| |
| 60 virtual Widget* GetWidget() OVERRIDE; | 60 virtual Widget* GetWidget() OVERRIDE; |
| 61 virtual const Widget* GetWidget() const OVERRIDE; | 61 virtual const Widget* GetWidget() const OVERRIDE; |
| 62 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 62 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
| 63 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; | 63 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; |
| 64 virtual Widget* GetTopLevelWidget() OVERRIDE; | 64 virtual Widget* GetTopLevelWidget() OVERRIDE; |
| 65 virtual const ui::Compositor* GetCompositor() const OVERRIDE; | 65 virtual const ui::Compositor* GetCompositor() const OVERRIDE; |
| 66 virtual ui::Compositor* GetCompositor() OVERRIDE; | 66 virtual ui::Compositor* GetCompositor() OVERRIDE; |
| 67 virtual ui::Layer* GetLayer() OVERRIDE; | 67 virtual ui::Layer* GetLayer() OVERRIDE; |
| 68 virtual void ReorderNativeViews() OVERRIDE; | 68 virtual void ReorderNativeViews() OVERRIDE; |
| 69 virtual void ViewRemoved(View* view) OVERRIDE; | 69 virtual void ViewRemoved(View* view) OVERRIDE; |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 229 | 229 |
| 230 scoped_ptr<DropHelper> drop_helper_; | 230 scoped_ptr<DropHelper> drop_helper_; |
| 231 int last_drop_operation_; | 231 int last_drop_operation_; |
| 232 | 232 |
| 233 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 233 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
| 234 }; | 234 }; |
| 235 | 235 |
| 236 } // namespace views | 236 } // namespace views |
| 237 | 237 |
| 238 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 238 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |