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

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

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 | « 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 GetSavedWindowPlacement( 64 virtual bool GetSavedWindowBounds(gfx::Rect* bounds) const OVERRIDE;
65 gfx::Rect* bounds,
66 ui::WindowShowState* show_state) const OVERRIDE;
67 virtual void Cut() OVERRIDE; 65 virtual void Cut() OVERRIDE;
68 virtual void Copy() OVERRIDE; 66 virtual void Copy() OVERRIDE;
69 virtual void Paste() OVERRIDE; 67 virtual void Paste() OVERRIDE;
70 virtual WindowOpenDisposition GetDispositionForPopupBounds( 68 virtual WindowOpenDisposition GetDispositionForPopupBounds(
71 const gfx::Rect& bounds) OVERRIDE; 69 const gfx::Rect& bounds) OVERRIDE;
72 70
73 // views::ContextMenuController implementation. 71 // views::ContextMenuController implementation.
74 virtual void ShowContextMenuForView(views::View* source, 72 virtual void ShowContextMenuForView(views::View* source,
75 const gfx::Point& p, 73 const gfx::Point& p,
76 bool is_mouse_gesture) OVERRIDE; 74 bool is_mouse_gesture) OVERRIDE;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 // Should the layout mode button be shown? We only show it if there are 145 // Should the layout mode button be shown? We only show it if there are
148 // multiple browsers open. 146 // multiple browsers open.
149 bool should_show_layout_mode_button_; 147 bool should_show_layout_mode_button_;
150 148
151 DISALLOW_COPY_AND_ASSIGN(BrowserView); 149 DISALLOW_COPY_AND_ASSIGN(BrowserView);
152 }; 150 };
153 151
154 } // namespace chromeos 152 } // namespace chromeos
155 153
156 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ 154 #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