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

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

Issue 8298005: Fixes bug in instant where we would end up incorrectly using the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweak Created 9 years, 2 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_view.h » ('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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 bool Panel::InPresentationMode() { 467 bool Panel::InPresentationMode() {
468 NOTIMPLEMENTED(); 468 NOTIMPLEMENTED();
469 return false; 469 return false;
470 } 470 }
471 #endif 471 #endif
472 472
473 void Panel::ShowInstant(TabContentsWrapper* preview) { 473 void Panel::ShowInstant(TabContentsWrapper* preview) {
474 NOTIMPLEMENTED(); 474 NOTIMPLEMENTED();
475 } 475 }
476 476
477 void Panel::HideInstant(bool instant_is_active) { 477 void Panel::HideInstant() {
478 NOTIMPLEMENTED(); 478 NOTIMPLEMENTED();
479 } 479 }
480 480
481 gfx::Rect Panel::GetInstantBounds() { 481 gfx::Rect Panel::GetInstantBounds() {
482 NOTIMPLEMENTED(); 482 NOTIMPLEMENTED();
483 return gfx::Rect(); 483 return gfx::Rect();
484 } 484 }
485 485
486 WindowOpenDisposition Panel::GetDispositionForPopupBounds( 486 WindowOpenDisposition Panel::GetDispositionForPopupBounds(
487 const gfx::Rect& bounds) { 487 const gfx::Rect& bounds) {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 RequestRenderViewHostToDisableScrollbars(GetRenderViewHost()); 557 RequestRenderViewHostToDisableScrollbars(GetRenderViewHost());
558 } 558 }
559 559
560 Browser* Panel::browser() const { 560 Browser* Panel::browser() const {
561 return native_panel_->GetPanelBrowser(); 561 return native_panel_->GetPanelBrowser();
562 } 562 }
563 563
564 void Panel::DestroyBrowser() { 564 void Panel::DestroyBrowser() {
565 native_panel_->DestroyPanelBrowser(); 565 native_panel_->DestroyPanelBrowser();
566 } 566 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel.h ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698