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

Side by Side Diff: views/desktop/desktop_views_delegate.cc

Issue 7748036: Restoring a session should restore window minimization state on Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "views/desktop/desktop_views_delegate.h" 5 #include "views/desktop/desktop_views_delegate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "views/desktop/desktop_window_view.h" 8 #include "views/desktop/desktop_window_view.h"
9 9
10 namespace views { 10 namespace views {
(...skipping 17 matching lines...) Expand all
28 return NULL; 28 return NULL;
29 } 29 }
30 30
31 View* DesktopViewsDelegate::GetDefaultParentView() { 31 View* DesktopViewsDelegate::GetDefaultParentView() {
32 return DesktopWindowView::desktop_window_view; 32 return DesktopWindowView::desktop_window_view;
33 } 33 }
34 34
35 void DesktopViewsDelegate::SaveWindowPlacement(const Widget* widget, 35 void DesktopViewsDelegate::SaveWindowPlacement(const Widget* widget,
36 const std::wstring& window_name, 36 const std::wstring& window_name,
37 const gfx::Rect& bounds, 37 const gfx::Rect& bounds,
38 bool maximized) { 38 ui::WindowShowState show_state) {
39 } 39 }
40 40
41 bool DesktopViewsDelegate::GetSavedWindowBounds(const std::wstring& window_name, 41 bool DesktopViewsDelegate::GetSavedWindowBounds(const std::wstring& window_name,
42 gfx::Rect* bounds) const { 42 gfx::Rect* bounds) const {
43 return false; 43 return false;
44 } 44 }
45 45
46 bool DesktopViewsDelegate::GetSavedMaximizedState( 46 bool DesktopViewsDelegate::GetSavedWindowShowState(
47 const std::wstring& window_name, 47 const std::wstring& window_name,
48 bool* maximized) const { 48 ui::WindowShowState* show_state) const {
49 return false; 49 return false;
50 } 50 }
51 51
52 void DesktopViewsDelegate::NotifyAccessibilityEvent( 52 void DesktopViewsDelegate::NotifyAccessibilityEvent(
53 views::View* view, ui::AccessibilityTypes::Event event_type) { 53 views::View* view, ui::AccessibilityTypes::Event event_type) {
54 } 54 }
55 55
56 void DesktopViewsDelegate::NotifyMenuItemFocused( 56 void DesktopViewsDelegate::NotifyMenuItemFocused(
57 const std::wstring& menu_name, 57 const std::wstring& menu_name,
58 const std::wstring& menu_item_name, 58 const std::wstring& menu_item_name,
(...skipping 13 matching lines...) Expand all
72 72
73 void DesktopViewsDelegate::ReleaseRef() { 73 void DesktopViewsDelegate::ReleaseRef() {
74 } 74 }
75 75
76 int DesktopViewsDelegate::GetDispositionForEvent(int event_flags) { 76 int DesktopViewsDelegate::GetDispositionForEvent(int event_flags) {
77 return 0; 77 return 0;
78 } 78 }
79 79
80 } // namespace desktop 80 } // namespace desktop
81 } // namespace views 81 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698