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

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

Issue 7790010: Revert 98679 - 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, 3 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
« no previous file with comments | « views/desktop/desktop_views_delegate.h ('k') | views/desktop/desktop_window_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ui::WindowShowState show_state) { 38 bool maximized) {
39 } 39 }
40 40
41 bool DesktopViewsDelegate::GetSavedWindowPlacement( 41 bool DesktopViewsDelegate::GetSavedWindowBounds(const std::wstring& window_name,
42 const std::wstring& window_name, 42 gfx::Rect* bounds) const {
43 gfx::Rect* bounds,
44 ui::WindowShowState* show_state) const {
45 return false; 43 return false;
46 } 44 }
47 45
46 bool DesktopViewsDelegate::GetSavedMaximizedState(
47 const std::wstring& window_name,
48 bool* maximized) const {
49 return false;
50 }
51
48 void DesktopViewsDelegate::NotifyAccessibilityEvent( 52 void DesktopViewsDelegate::NotifyAccessibilityEvent(
49 views::View* view, ui::AccessibilityTypes::Event event_type) { 53 views::View* view, ui::AccessibilityTypes::Event event_type) {
50 } 54 }
51 55
52 void DesktopViewsDelegate::NotifyMenuItemFocused( 56 void DesktopViewsDelegate::NotifyMenuItemFocused(
53 const std::wstring& menu_name, 57 const std::wstring& menu_name,
54 const std::wstring& menu_item_name, 58 const std::wstring& menu_item_name,
55 int item_index, 59 int item_index,
56 int item_count, 60 int item_count,
57 bool has_submenu) { 61 bool has_submenu) {
(...skipping 10 matching lines...) Expand all
68 72
69 void DesktopViewsDelegate::ReleaseRef() { 73 void DesktopViewsDelegate::ReleaseRef() {
70 } 74 }
71 75
72 int DesktopViewsDelegate::GetDispositionForEvent(int event_flags) { 76 int DesktopViewsDelegate::GetDispositionForEvent(int event_flags) {
73 return 0; 77 return 0;
74 } 78 }
75 79
76 } // namespace desktop 80 } // namespace desktop
77 } // namespace views 81 } // namespace views
OLDNEW
« no previous file with comments | « views/desktop/desktop_views_delegate.h ('k') | views/desktop/desktop_window_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698