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

Side by Side Diff: chrome/browser/chromeos/frame/browser_view.h

Issue 7748036: Restoring a session should restore window minimization state on Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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 | « no previous file | chrome/browser/chromeos/frame/browser_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 #ifndef CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 explicit BrowserView(Browser* browser); 54 explicit BrowserView(Browser* browser);
55 virtual ~BrowserView(); 55 virtual ~BrowserView();
56 56
57 // BrowserView implementation. 57 // BrowserView implementation.
58 virtual void Init() OVERRIDE; 58 virtual void Init() OVERRIDE;
59 virtual void Show() OVERRIDE; 59 virtual void Show() OVERRIDE;
60 virtual void ShowInactive() OVERRIDE; 60 virtual void ShowInactive() OVERRIDE;
61 virtual void FocusChromeOSStatus() OVERRIDE; 61 virtual void FocusChromeOSStatus() OVERRIDE;
62 virtual views::LayoutManager* CreateLayoutManager() const OVERRIDE; 62 virtual views::LayoutManager* CreateLayoutManager() const OVERRIDE;
63 virtual void ChildPreferredSizeChanged(View* child) OVERRIDE; 63 virtual void ChildPreferredSizeChanged(View* child) OVERRIDE;
64 virtual bool GetSavedWindowBounds(gfx::Rect* bounds) const OVERRIDE; 64 virtual bool GetSavedWindowPlacement(
65 gfx::Rect* bounds,
66 ui::WindowShowState* show_state) const OVERRIDE;
65 virtual void Cut() OVERRIDE; 67 virtual void Cut() OVERRIDE;
66 virtual void Copy() OVERRIDE; 68 virtual void Copy() OVERRIDE;
67 virtual void Paste() OVERRIDE; 69 virtual void Paste() OVERRIDE;
68 virtual WindowOpenDisposition GetDispositionForPopupBounds( 70 virtual WindowOpenDisposition GetDispositionForPopupBounds(
69 const gfx::Rect& bounds) OVERRIDE; 71 const gfx::Rect& bounds) OVERRIDE;
70 72
71 // views::ContextMenuController implementation. 73 // views::ContextMenuController implementation.
72 virtual void ShowContextMenuForView(views::View* source, 74 virtual void ShowContextMenuForView(views::View* source,
73 const gfx::Point& p, 75 const gfx::Point& p,
74 bool is_mouse_gesture) OVERRIDE; 76 bool is_mouse_gesture) OVERRIDE;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 // Should the layout mode button be shown? We only show it if there are 147 // Should the layout mode button be shown? We only show it if there are
146 // multiple browsers open. 148 // multiple browsers open.
147 bool should_show_layout_mode_button_; 149 bool should_show_layout_mode_button_;
148 150
149 DISALLOW_COPY_AND_ASSIGN(BrowserView); 151 DISALLOW_COPY_AND_ASSIGN(BrowserView);
150 }; 152 };
151 153
152 } // namespace chromeos 154 } // namespace chromeos
153 155
154 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ 156 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698