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

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

Issue 136093007: Widget::ShouldUseNativeFrame is now meaningful on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 6 years, 10 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_change_observer.h" 10 #include "ui/aura/client/activation_change_observer.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 bool ShouldWindowContentsBeTransparent() const OVERRIDE;
59 virtual void FrameTypeChanged() OVERRIDE; 60 virtual void FrameTypeChanged() OVERRIDE;
60 virtual Widget* GetWidget() OVERRIDE; 61 virtual Widget* GetWidget() OVERRIDE;
61 virtual const Widget* GetWidget() const OVERRIDE; 62 virtual const Widget* GetWidget() const OVERRIDE;
62 virtual gfx::NativeView GetNativeView() const OVERRIDE; 63 virtual gfx::NativeView GetNativeView() const OVERRIDE;
63 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; 64 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE;
64 virtual Widget* GetTopLevelWidget() OVERRIDE; 65 virtual Widget* GetTopLevelWidget() OVERRIDE;
65 virtual const ui::Compositor* GetCompositor() const OVERRIDE; 66 virtual const ui::Compositor* GetCompositor() const OVERRIDE;
66 virtual ui::Compositor* GetCompositor() OVERRIDE; 67 virtual ui::Compositor* GetCompositor() OVERRIDE;
67 virtual ui::Layer* GetLayer() OVERRIDE; 68 virtual ui::Layer* GetLayer() OVERRIDE;
68 virtual void ReorderNativeViews() OVERRIDE; 69 virtual void ReorderNativeViews() OVERRIDE;
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 230
230 scoped_ptr<DropHelper> drop_helper_; 231 scoped_ptr<DropHelper> drop_helper_;
231 int last_drop_operation_; 232 int last_drop_operation_;
232 233
233 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 234 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
234 }; 235 };
235 236
236 } // namespace views 237 } // namespace views
237 238
238 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 239 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698