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

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 other os's 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 16 matching lines...) Expand all
27 class DropHelper; 27 class DropHelper;
28 class NativeWidgetHelperAura; 28 class NativeWidgetHelperAura;
29 class TooltipManagerAura; 29 class TooltipManagerAura;
30 30
31 class VIEWS_EXPORT NativeWidgetAura : public internal::NativeWidgetPrivate, 31 class VIEWS_EXPORT NativeWidgetAura : public internal::NativeWidgetPrivate,
32 public internal::InputMethodDelegate, 32 public internal::InputMethodDelegate,
33 public aura::WindowDelegate, 33 public aura::WindowDelegate,
34 public aura::client::ActivationDelegate, 34 public aura::client::ActivationDelegate,
35 public aura::client::DragDropDelegate { 35 public aura::client::DragDropDelegate {
36 public: 36 public:
37 explicit NativeWidgetAura(internal::NativeWidgetDelegate* delegate); 37 explicit NativeWidgetAura(internal::NativeWidgetDelegate* delegate,
38 gfx::NativeView parent = NULL);
38 39
39 // TODO(beng): Find a better place for this, and the similar method on 40 // TODO(beng): Find a better place for this, and the similar method on
40 // NativeWidgetWin. 41 // NativeWidgetWin.
41 static gfx::Font GetWindowTitleFont(); 42 static gfx::Font GetWindowTitleFont();
42 43
43 // Overridden from internal::NativeWidgetPrivate: 44 // Overridden from internal::NativeWidgetPrivate:
44 virtual void InitNativeWidget(const Widget::InitParams& params) OVERRIDE; 45 virtual void InitNativeWidget(const Widget::InitParams& params) OVERRIDE;
45 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; 46 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE;
46 virtual bool ShouldUseNativeFrame() const OVERRIDE; 47 virtual bool ShouldUseNativeFrame() const OVERRIDE;
47 virtual void FrameTypeChanged() OVERRIDE; 48 virtual void FrameTypeChanged() OVERRIDE;
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 208
208 scoped_ptr<DropHelper> drop_helper_; 209 scoped_ptr<DropHelper> drop_helper_;
209 int last_drop_operation_; 210 int last_drop_operation_;
210 211
211 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 212 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
212 }; 213 };
213 214
214 } // namespace views 215 } // namespace views
215 216
216 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 217 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698