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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_native_widget_aura.h

Issue 146363002: Linux Aura: Use system title bar is now set by preference, not flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build on Windows. 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_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "ui/aura/client/activation_change_observer.h" 9 #include "ui/aura/client/activation_change_observer.h"
10 #include "ui/aura/client/activation_delegate.h" 10 #include "ui/aura/client/activation_delegate.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 89
90 // Ensures that the correct window is activated/deactivated based on whether 90 // Ensures that the correct window is activated/deactivated based on whether
91 // we are being activated/deactivated. 91 // we are being activated/deactivated.
92 void HandleActivationChanged(bool active); 92 void HandleActivationChanged(bool active);
93 93
94 protected: 94 protected:
95 // Overridden from internal::NativeWidgetPrivate: 95 // Overridden from internal::NativeWidgetPrivate:
96 virtual void InitNativeWidget(const Widget::InitParams& params) OVERRIDE; 96 virtual void InitNativeWidget(const Widget::InitParams& params) OVERRIDE;
97 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; 97 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE;
98 virtual bool ShouldUseNativeFrame() const OVERRIDE; 98 virtual bool ShouldUseNativeFrame() const OVERRIDE;
99 virtual void FrameTypeChanged() OVERRIDE; 99 virtual void FrameTypeChanged(Widget::FrameType new_type) OVERRIDE;
100 virtual Widget* GetWidget() OVERRIDE; 100 virtual Widget* GetWidget() OVERRIDE;
101 virtual const Widget* GetWidget() const OVERRIDE; 101 virtual const Widget* GetWidget() const OVERRIDE;
102 virtual gfx::NativeView GetNativeView() const OVERRIDE; 102 virtual gfx::NativeView GetNativeView() const OVERRIDE;
103 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; 103 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE;
104 virtual Widget* GetTopLevelWidget() OVERRIDE; 104 virtual Widget* GetTopLevelWidget() OVERRIDE;
105 virtual const ui::Compositor* GetCompositor() const OVERRIDE; 105 virtual const ui::Compositor* GetCompositor() const OVERRIDE;
106 virtual ui::Compositor* GetCompositor() OVERRIDE; 106 virtual ui::Compositor* GetCompositor() OVERRIDE;
107 virtual ui::Layer* GetLayer() OVERRIDE; 107 virtual ui::Layer* GetLayer() OVERRIDE;
108 virtual void ReorderNativeViews() OVERRIDE; 108 virtual void ReorderNativeViews() OVERRIDE;
109 virtual void ViewRemoved(View* view) OVERRIDE; 109 virtual void ViewRemoved(View* view) OVERRIDE;
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 315
316 // See class documentation for Widget in widget.h for a note about type. 316 // See class documentation for Widget in widget.h for a note about type.
317 Widget::InitParams::Type widget_type_; 317 Widget::InitParams::Type widget_type_;
318 318
319 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); 319 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura);
320 }; 320 };
321 321
322 } // namespace views 322 } // namespace views
323 323
324 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ 324 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698