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

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: nits 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 return gfx::Rect();
397 }
398
395 bool Panel::IsPanel() const { 399 bool Panel::IsPanel() const {
396 return true; 400 return true;
397 } 401 }
398 402
399 void Panel::DisableInactiveFrame() { 403 void Panel::DisableInactiveFrame() {
400 NOTIMPLEMENTED(); 404 NOTIMPLEMENTED();
401 } 405 }
402 406
403 void Panel::ConfirmSetDefaultSearchProvider(WebContents* web_contents, 407 void Panel::ConfirmSetDefaultSearchProvider(WebContents* web_contents,
404 TemplateURL* template_url, 408 TemplateURL* template_url,
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 native_panel_->ContentSizeFromWindowSize(max_size_)); 649 native_panel_->ContentSizeFromWindowSize(max_size_));
646 } 650 }
647 651
648 void Panel::OnWindowSizeAvailable() { 652 void Panel::OnWindowSizeAvailable() {
649 ConfigureAutoResize(browser()->GetSelectedWebContents()); 653 ConfigureAutoResize(browser()->GetSelectedWebContents());
650 } 654 }
651 655
652 void Panel::DestroyBrowser() { 656 void Panel::DestroyBrowser() {
653 native_panel_->DestroyPanelBrowser(); 657 native_panel_->DestroyPanelBrowser();
654 } 658 }
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