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

Unified Diff: chrome/browser/ui/panels/native_panel.h

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/panels/native_panel.h
diff --git a/chrome/browser/ui/panels/native_panel.h b/chrome/browser/ui/panels/native_panel.h
index 71030466c9d3a41b82e4ce2492bcbf46df89ddd2..a67fe19f9589a65c31b1ef45c51f0c849e18b604 100644
--- a/chrome/browser/ui/panels/native_panel.h
+++ b/chrome/browser/ui/panels/native_panel.h
@@ -9,8 +9,8 @@
#include "chrome/browser/ui/panels/panel.h"
#include "ui/gfx/native_widget_types.h"
+class FindBar;
class NativePanelTesting;
-class Panel;
namespace gfx {
class Rect;
@@ -56,6 +56,7 @@ class NativePanel {
virtual gfx::NativeWindow GetNativePanelHandle() = 0;
virtual void UpdatePanelTitleBar() = 0;
virtual void ShowTaskManagerForPanel() = 0;
+ virtual FindBar* CreatePanelFindBar() = 0;
virtual void NotifyPanelOnUserChangedTheme() = 0;
virtual void DrawAttention() = 0;
virtual bool IsDrawingAttention() const = 0;

Powered by Google App Engine
This is Rietveld 408576698