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

Side by Side Diff: chrome/browser/ui/panels/panel.cc

Issue 7621061: Restoring a session should restore window minimization state (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing Mark's comments. 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
« no previous file with comments | « chrome/browser/ui/panels/panel.h ('k') | chrome/browser/ui/views/frame/browser_frame.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 "chrome/browser/ui/panels/panel.h" 5 #include "chrome/browser/ui/panels/panel.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/extensions/extension_prefs.h" 8 #include "chrome/browser/extensions/extension_prefs.h"
9 #include "chrome/browser/extensions/extension_service.h" 9 #include "chrome/browser/extensions/extension_service.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 156
157 gfx::Rect Panel::GetBounds() const { 157 gfx::Rect Panel::GetBounds() const {
158 return native_panel_->GetPanelBounds(); 158 return native_panel_->GetPanelBounds();
159 } 159 }
160 160
161 bool Panel::IsMaximized() const { 161 bool Panel::IsMaximized() const {
162 NOTIMPLEMENTED(); 162 NOTIMPLEMENTED();
163 return false; 163 return false;
164 } 164 }
165 165
166 bool Panel::IsMinimized() const {
167 NOTIMPLEMENTED();
168 return false;
169 }
170
166 void Panel::SetFullscreen(bool fullscreen) { 171 void Panel::SetFullscreen(bool fullscreen) {
167 NOTIMPLEMENTED(); 172 NOTIMPLEMENTED();
168 } 173 }
169 174
170 bool Panel::IsFullscreen() const { 175 bool Panel::IsFullscreen() const {
171 return false; 176 return false;
172 } 177 }
173 178
174 bool Panel::IsFullscreenBubbleVisible() const { 179 bool Panel::IsFullscreenBubbleVisible() const {
175 NOTIMPLEMENTED(); 180 NOTIMPLEMENTED();
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 } 438 }
434 #endif 439 #endif
435 440
436 Browser* Panel::browser() const { 441 Browser* Panel::browser() const {
437 return native_panel_->GetPanelBrowser(); 442 return native_panel_->GetPanelBrowser();
438 } 443 }
439 444
440 void Panel::DestroyBrowser() { 445 void Panel::DestroyBrowser() {
441 native_panel_->DestroyPanelBrowser(); 446 native_panel_->DestroyPanelBrowser();
442 } 447 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel.h ('k') | chrome/browser/ui/views/frame/browser_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698