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

Unified Diff: views/window/window_win.h

Issue 115378: Move Always On Top setting out of Window/WindowDelegate and into task manager... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: views/window/window_win.h
===================================================================
--- views/window/window_win.h (revision 16089)
+++ views/window/window_win.h (working copy)
@@ -80,6 +80,7 @@
virtual void DisableInactiveRendering();
virtual void UpdateWindowTitle();
virtual void UpdateWindowIcon();
+ virtual void SetIsAlwaysOnTop(bool always_on_top);
virtual NonClientFrameView* CreateFrameViewForWindow();
virtual void UpdateFrameAfterFrameChange();
virtual WindowDelegate* GetDelegate() const;
@@ -163,19 +164,9 @@
// bounds used when the window was created.
void SetInitialBounds(const gfx::Rect& create_bounds);
- // Restore saved always on stop state and add the always on top system menu
- // if needed.
- void InitAlwaysOnTopState();
-
- // Add an item for "Always on Top" to the System Menu.
- void AddAlwaysOnTopSystemMenuItem();
-
// If necessary, enables all ancestors.
void RestoreEnabledIfNecessary();
- // Update the window style to reflect the always on top state.
- void AlwaysOnTopChanged();
-
// Calculate the appropriate window styles for this window.
DWORD CalculateWindowStyle();
DWORD CalculateWindowExStyle();
@@ -245,12 +236,6 @@
// true.
bool restored_enabled_;
- // Whether the window is currently always on top.
- bool is_always_on_top_;
-
- // We need to own the text of the menu, the Windows API does not copy it.
- std::wstring always_on_top_menu_text_;
-
// True if we're in fullscreen mode.
bool fullscreen_;

Powered by Google App Engine
This is Rietveld 408576698