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

Unified Diff: views/window/window_delegate.cc

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_delegate.cc
===================================================================
--- views/window/window_delegate.cc (revision 16089)
+++ views/window/window_delegate.cc (working copy)
@@ -23,14 +23,13 @@
}
void WindowDelegate::SaveWindowPlacement(const gfx::Rect& bounds,
- bool maximized,
- bool always_on_top) {
+ bool maximized) {
std::wstring window_name = GetWindowName();
if (!ViewsDelegate::views_delegate || window_name.empty())
return;
ViewsDelegate::views_delegate->SaveWindowPlacement(
- window_name, bounds, maximized, always_on_top);
+ window_name, bounds, maximized);
}
bool WindowDelegate::GetSavedWindowBounds(gfx::Rect* bounds) const {
@@ -51,16 +50,6 @@
window_name, maximized);
}
-bool WindowDelegate::GetSavedAlwaysOnTopState(bool* always_on_top) const {
- std::wstring window_name = GetWindowName();
- if (!ViewsDelegate::views_delegate || window_name.empty())
- return false;
-
- return ViewsDelegate::views_delegate->GetSavedAlwaysOnTopState(
- window_name, always_on_top);
-}
-
-
ClientView* WindowDelegate::CreateClientView(Window* window) {
return new ClientView(window, GetContentsView());
}

Powered by Google App Engine
This is Rietveld 408576698