Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Side by Side Diff: ui/views/widget/native_widget_aura.h

Issue 11030017: Add context to gfx::Screen calls in support of simultaneous desktop+ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix some new gfx::Screen additions Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698