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

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

Issue 7538010: Make BrowserWindow::CreateFindBar non-static so that it can be overridden by Panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove underscore. 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
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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 NOTIMPLEMENTED(); 401 NOTIMPLEMENTED();
402 return gfx::Rect(); 402 return gfx::Rect();
403 } 403 }
404 404
405 WindowOpenDisposition Panel::GetDispositionForPopupBounds( 405 WindowOpenDisposition Panel::GetDispositionForPopupBounds(
406 const gfx::Rect& bounds) { 406 const gfx::Rect& bounds) {
407 NOTIMPLEMENTED(); 407 NOTIMPLEMENTED();
408 return NEW_POPUP; 408 return NEW_POPUP;
409 } 409 }
410 410
411 FindBar* Panel::CreateFindBar() {
412 return native_panel_->CreatePanelFindBar();
413 }
414
411 #if defined(OS_CHROMEOS) 415 #if defined(OS_CHROMEOS)
412 void Panel::ShowKeyboardOverlay(gfx::NativeWindow owning_window) { 416 void Panel::ShowKeyboardOverlay(gfx::NativeWindow owning_window) {
413 NOTIMPLEMENTED(); 417 NOTIMPLEMENTED();
414 } 418 }
415 #endif 419 #endif
416 420
417 Browser* Panel::browser() const { 421 Browser* Panel::browser() const {
418 return native_panel_->GetPanelBrowser(); 422 return native_panel_->GetPanelBrowser();
419 } 423 }
420 424
421 void Panel::DestroyBrowser() { 425 void Panel::DestroyBrowser() {
422 native_panel_->DestroyPanelBrowser(); 426 native_panel_->DestroyPanelBrowser();
423 } 427 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698