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

Side by Side Diff: ui/views/widget/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: Merge 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_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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 virtual void Show() OVERRIDE; 98 virtual void Show() OVERRIDE;
99 virtual void Hide() OVERRIDE; 99 virtual void Hide() OVERRIDE;
100 virtual void ShowMaximizedWithBounds( 100 virtual void ShowMaximizedWithBounds(
101 const gfx::Rect& restored_bounds) OVERRIDE; 101 const gfx::Rect& restored_bounds) OVERRIDE;
102 virtual void ShowWithWindowState(ui::WindowShowState state) OVERRIDE; 102 virtual void ShowWithWindowState(ui::WindowShowState state) OVERRIDE;
103 virtual bool IsVisible() const OVERRIDE; 103 virtual bool IsVisible() const OVERRIDE;
104 virtual void Activate() OVERRIDE; 104 virtual void Activate() OVERRIDE;
105 virtual void Deactivate() OVERRIDE; 105 virtual void Deactivate() OVERRIDE;
106 virtual bool IsActive() const OVERRIDE; 106 virtual bool IsActive() const OVERRIDE;
107 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; 107 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE;
108 virtual bool IsAlwaysOnTop() const OVERRIDE;
108 virtual void Maximize() OVERRIDE; 109 virtual void Maximize() OVERRIDE;
109 virtual void Minimize() OVERRIDE; 110 virtual void Minimize() OVERRIDE;
110 virtual bool IsMaximized() const OVERRIDE; 111 virtual bool IsMaximized() const OVERRIDE;
111 virtual bool IsMinimized() const OVERRIDE; 112 virtual bool IsMinimized() const OVERRIDE;
112 virtual void Restore() OVERRIDE; 113 virtual void Restore() OVERRIDE;
113 virtual void SetFullscreen(bool fullscreen) OVERRIDE; 114 virtual void SetFullscreen(bool fullscreen) OVERRIDE;
114 virtual bool IsFullscreen() const OVERRIDE; 115 virtual bool IsFullscreen() const OVERRIDE;
115 virtual void SetOpacity(unsigned char opacity) OVERRIDE; 116 virtual void SetOpacity(unsigned char opacity) OVERRIDE;
116 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; 117 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE;
117 virtual void FlashFrame(bool flash_frame) OVERRIDE; 118 virtual void FlashFrame(bool flash_frame) OVERRIDE;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 233
233 scoped_ptr<DropHelper> drop_helper_; 234 scoped_ptr<DropHelper> drop_helper_;
234 int last_drop_operation_; 235 int last_drop_operation_;
235 236
236 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 237 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
237 }; 238 };
238 239
239 } // namespace views 240 } // namespace views
240 241
241 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 242 #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