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_delegate.h" | 10 #include "ui/aura/client/activation_delegate.h" |
(...skipping 17 matching lines...) Expand all Loading... | |
28 class NativeWidgetAuraWindowObserver; | 28 class NativeWidgetAuraWindowObserver; |
29 class NativeWidgetHelperAura; | 29 class NativeWidgetHelperAura; |
30 class TooltipManagerAura; | 30 class TooltipManagerAura; |
31 | 31 |
32 class VIEWS_EXPORT NativeWidgetAura : public internal::NativeWidgetPrivate, | 32 class VIEWS_EXPORT NativeWidgetAura : public internal::NativeWidgetPrivate, |
33 public internal::InputMethodDelegate, | 33 public internal::InputMethodDelegate, |
34 public aura::WindowDelegate, | 34 public aura::WindowDelegate, |
35 public aura::client::ActivationDelegate, | 35 public aura::client::ActivationDelegate, |
36 public aura::client::DragDropDelegate { | 36 public aura::client::DragDropDelegate { |
37 public: | 37 public: |
38 explicit NativeWidgetAura(internal::NativeWidgetDelegate* delegate); | 38 explicit NativeWidgetAura(internal::NativeWidgetDelegate* delegate, |
39 gfx::NativeView parent = NULL); | |
oshima
2012/10/10 17:58:23
default argument is now allowed.
remove explicit (
scottmg
2012/10/10 19:04:47
Done.
| |
39 | 40 |
40 // TODO(beng): Find a better place for this, and the similar method on | 41 // TODO(beng): Find a better place for this, and the similar method on |
41 // NativeWidgetWin. | 42 // NativeWidgetWin. |
42 static gfx::Font GetWindowTitleFont(); | 43 static gfx::Font GetWindowTitleFont(); |
43 | 44 |
44 // Overridden from internal::NativeWidgetPrivate: | 45 // Overridden from internal::NativeWidgetPrivate: |
45 virtual void InitNativeWidget(const Widget::InitParams& params) OVERRIDE; | 46 virtual void InitNativeWidget(const Widget::InitParams& params) OVERRIDE; |
46 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; | 47 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; |
47 virtual bool ShouldUseNativeFrame() const OVERRIDE; | 48 virtual bool ShouldUseNativeFrame() const OVERRIDE; |
48 virtual void FrameTypeChanged() OVERRIDE; | 49 virtual void FrameTypeChanged() OVERRIDE; |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
208 | 209 |
209 scoped_ptr<DropHelper> drop_helper_; | 210 scoped_ptr<DropHelper> drop_helper_; |
210 int last_drop_operation_; | 211 int last_drop_operation_; |
211 | 212 |
212 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 213 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
213 }; | 214 }; |
214 | 215 |
215 } // namespace views | 216 } // namespace views |
216 | 217 |
217 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 218 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
OLD | NEW |