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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_root_window_host_win.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_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_
7 7
8 #include "ui/aura/client/animation_host.h" 8 #include "ui/aura/client/animation_host.h"
9 #include "ui/aura/root_window_host.h" 9 #include "ui/aura/root_window_host.h"
10 #include "ui/views/views_export.h" 10 #include "ui/views/views_export.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual void Activate() OVERRIDE; 70 virtual void Activate() OVERRIDE;
71 virtual void Deactivate() OVERRIDE; 71 virtual void Deactivate() OVERRIDE;
72 virtual bool IsActive() const OVERRIDE; 72 virtual bool IsActive() const OVERRIDE;
73 virtual void Maximize() OVERRIDE; 73 virtual void Maximize() OVERRIDE;
74 virtual void Minimize() OVERRIDE; 74 virtual void Minimize() OVERRIDE;
75 virtual void Restore() OVERRIDE; 75 virtual void Restore() OVERRIDE;
76 virtual bool IsMaximized() const OVERRIDE; 76 virtual bool IsMaximized() const OVERRIDE;
77 virtual bool IsMinimized() const OVERRIDE; 77 virtual bool IsMinimized() const OVERRIDE;
78 virtual bool HasCapture() const OVERRIDE; 78 virtual bool HasCapture() const OVERRIDE;
79 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; 79 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE;
80 virtual bool IsAlwaysOnTop() const OVERRIDE;
80 virtual void SetWindowTitle(const string16& title) OVERRIDE; 81 virtual void SetWindowTitle(const string16& title) OVERRIDE;
81 virtual void ClearNativeFocus() OVERRIDE; 82 virtual void ClearNativeFocus() OVERRIDE;
82 virtual Widget::MoveLoopResult RunMoveLoop( 83 virtual Widget::MoveLoopResult RunMoveLoop(
83 const gfx::Vector2d& drag_offset, 84 const gfx::Vector2d& drag_offset,
84 Widget::MoveLoopSource source, 85 Widget::MoveLoopSource source,
85 Widget::MoveLoopEscapeBehavior escape_behavior) OVERRIDE; 86 Widget::MoveLoopEscapeBehavior escape_behavior) OVERRIDE;
86 virtual void EndMoveLoop() OVERRIDE; 87 virtual void EndMoveLoop() OVERRIDE;
87 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; 88 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE;
88 virtual bool ShouldUseNativeFrame() OVERRIDE; 89 virtual bool ShouldUseNativeFrame() OVERRIDE;
89 virtual void FrameTypeChanged() OVERRIDE; 90 virtual void FrameTypeChanged() OVERRIDE;
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 // Owned by TooltipController, but we need to forward events to it so we keep 266 // Owned by TooltipController, but we need to forward events to it so we keep
266 // a reference. 267 // a reference.
267 corewm::TooltipWin* tooltip_; 268 corewm::TooltipWin* tooltip_;
268 269
269 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); 270 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin);
270 }; 271 };
271 272
272 } // namespace views 273 } // namespace views
273 274
274 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ 275 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_root_window_host.h ('k') | ui/views/widget/desktop_aura/desktop_root_window_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698