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

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

Issue 9265018: Change grow box computation back to a method on BrowserWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cros build Created 8 years, 11 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 // during which extensions will avoid closing a window. 385 // during which extensions will avoid closing a window.
386 bool Panel::IsTabStripEditable() const { 386 bool Panel::IsTabStripEditable() const {
387 return true; 387 return true;
388 } 388 }
389 389
390 bool Panel::IsToolbarVisible() const { 390 bool Panel::IsToolbarVisible() const {
391 NOTIMPLEMENTED(); 391 NOTIMPLEMENTED();
392 return false; 392 return false;
393 } 393 }
394 394
395 gfx::Rect Panel::GetRootWindowResizerRect() const {
396 NOTIMPLEMENTED();
jennb 2012/01/20 20:17:04 No need for NOTIMPLEMENTED. Panels don't need to d
397 return gfx::Rect();
398 }
399
395 bool Panel::IsPanel() const { 400 bool Panel::IsPanel() const {
396 return true; 401 return true;
397 } 402 }
398 403
399 void Panel::DisableInactiveFrame() { 404 void Panel::DisableInactiveFrame() {
400 NOTIMPLEMENTED(); 405 NOTIMPLEMENTED();
401 } 406 }
402 407
403 void Panel::ConfirmSetDefaultSearchProvider(WebContents* web_contents, 408 void Panel::ConfirmSetDefaultSearchProvider(WebContents* web_contents,
404 TemplateURL* template_url, 409 TemplateURL* template_url,
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 native_panel_->ContentSizeFromWindowSize(max_size_)); 650 native_panel_->ContentSizeFromWindowSize(max_size_));
646 } 651 }
647 652
648 void Panel::OnWindowSizeAvailable() { 653 void Panel::OnWindowSizeAvailable() {
649 ConfigureAutoResize(browser()->GetSelectedWebContents()); 654 ConfigureAutoResize(browser()->GetSelectedWebContents());
650 } 655 }
651 656
652 void Panel::DestroyBrowser() { 657 void Panel::DestroyBrowser() {
653 native_panel_->DestroyPanelBrowser(); 658 native_panel_->DestroyPanelBrowser();
654 } 659 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel.h ('k') | chrome/browser/ui/panels/panel_window_controller_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698