| Index: chrome/browser/views/chrome_views_delegate.cc
|
| ===================================================================
|
| --- chrome/browser/views/chrome_views_delegate.cc (revision 16089)
|
| +++ chrome/browser/views/chrome_views_delegate.cc (working copy)
|
| @@ -19,8 +19,7 @@
|
|
|
| void ChromeViewsDelegate::SaveWindowPlacement(const std::wstring& window_name,
|
| const gfx::Rect& bounds,
|
| - bool maximized,
|
| - bool always_on_top) {
|
| + bool maximized) {
|
| if (!g_browser_process->local_state())
|
| return;
|
|
|
| @@ -32,7 +31,6 @@
|
| window_preferences->SetInteger(L"right", bounds.right());
|
| window_preferences->SetInteger(L"bottom", bounds.bottom());
|
| window_preferences->SetBoolean(L"maximized", maximized);
|
| - window_preferences->SetBoolean(L"always_on_top", always_on_top);
|
| }
|
|
|
| bool ChromeViewsDelegate::GetSavedWindowBounds(const std::wstring& window_name,
|
| @@ -65,18 +63,6 @@
|
| maximized;
|
| }
|
|
|
| -bool ChromeViewsDelegate::GetSavedAlwaysOnTopState(
|
| - const std::wstring& window_name,
|
| - bool* always_on_top) const {
|
| - if (!g_browser_process->local_state())
|
| - return false;
|
| -
|
| - const DictionaryValue* dictionary =
|
| - g_browser_process->local_state()->GetDictionary(window_name.c_str());
|
| - return dictionary && dictionary->GetBoolean(L"always_on_top", always_on_top) &&
|
| - always_on_top;
|
| -}
|
| -
|
| #if defined(OS_WIN)
|
| HICON ChromeViewsDelegate::GetDefaultWindowIcon() const {
|
| return LoadIcon(GetModuleHandle(L"chrome.dll"),
|
|
|