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

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

Issue 26427002: Add always-on-top property to app windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cache state of isAlwaysOnTop in widget. Fixed clobber in x11 window init. Created 7 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
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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 virtual void Show() OVERRIDE; 132 virtual void Show() OVERRIDE;
133 virtual void Hide() OVERRIDE; 133 virtual void Hide() OVERRIDE;
134 virtual void ShowMaximizedWithBounds( 134 virtual void ShowMaximizedWithBounds(
135 const gfx::Rect& restored_bounds) OVERRIDE; 135 const gfx::Rect& restored_bounds) OVERRIDE;
136 virtual void ShowWithWindowState(ui::WindowShowState state) OVERRIDE; 136 virtual void ShowWithWindowState(ui::WindowShowState state) OVERRIDE;
137 virtual bool IsVisible() const OVERRIDE; 137 virtual bool IsVisible() const OVERRIDE;
138 virtual void Activate() OVERRIDE; 138 virtual void Activate() OVERRIDE;
139 virtual void Deactivate() OVERRIDE; 139 virtual void Deactivate() OVERRIDE;
140 virtual bool IsActive() const OVERRIDE; 140 virtual bool IsActive() const OVERRIDE;
141 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; 141 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE;
142 virtual bool IsAlwaysOnTop() const OVERRIDE;
142 virtual void Maximize() OVERRIDE; 143 virtual void Maximize() OVERRIDE;
143 virtual void Minimize() OVERRIDE; 144 virtual void Minimize() OVERRIDE;
144 virtual bool IsMaximized() const OVERRIDE; 145 virtual bool IsMaximized() const OVERRIDE;
145 virtual bool IsMinimized() const OVERRIDE; 146 virtual bool IsMinimized() const OVERRIDE;
146 virtual void Restore() OVERRIDE; 147 virtual void Restore() OVERRIDE;
147 virtual void SetFullscreen(bool fullscreen) OVERRIDE; 148 virtual void SetFullscreen(bool fullscreen) OVERRIDE;
148 virtual bool IsFullscreen() const OVERRIDE; 149 virtual bool IsFullscreen() const OVERRIDE;
149 virtual void SetOpacity(unsigned char opacity) OVERRIDE; 150 virtual void SetOpacity(unsigned char opacity) OVERRIDE;
150 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; 151 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE;
151 virtual void FlashFrame(bool flash_frame) OVERRIDE; 152 virtual void FlashFrame(bool flash_frame) OVERRIDE;
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 294
294 // See class documentation for Widget in widget.h for a note about type. 295 // See class documentation for Widget in widget.h for a note about type.
295 Widget::InitParams::Type widget_type_; 296 Widget::InitParams::Type widget_type_;
296 297
297 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); 298 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura);
298 }; 299 };
299 300
300 } // namespace views 301 } // namespace views
301 302
302 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ 303 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698