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

Side by Side Diff: chrome/browser/ui/panels/panel_browser_view.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 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 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 Panel::ExpansionState expansion_state) OVERRIDE; 77 Panel::ExpansionState expansion_state) OVERRIDE;
78 virtual bool ShouldBringUpPanelTitleBar(int mouse_x, 78 virtual bool ShouldBringUpPanelTitleBar(int mouse_x,
79 int mouse_y) const OVERRIDE; 79 int mouse_y) const OVERRIDE;
80 virtual void ClosePanel() OVERRIDE; 80 virtual void ClosePanel() OVERRIDE;
81 virtual void ActivatePanel() OVERRIDE; 81 virtual void ActivatePanel() OVERRIDE;
82 virtual void DeactivatePanel() OVERRIDE; 82 virtual void DeactivatePanel() OVERRIDE;
83 virtual bool IsPanelActive() const OVERRIDE; 83 virtual bool IsPanelActive() const OVERRIDE;
84 virtual gfx::NativeWindow GetNativePanelHandle() OVERRIDE; 84 virtual gfx::NativeWindow GetNativePanelHandle() OVERRIDE;
85 virtual void UpdatePanelTitleBar() OVERRIDE; 85 virtual void UpdatePanelTitleBar() OVERRIDE;
86 virtual void ShowTaskManagerForPanel() OVERRIDE; 86 virtual void ShowTaskManagerForPanel() OVERRIDE;
87 virtual FindBar* CreatePanelFindBar() OVERRIDE;
87 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE; 88 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE;
88 virtual void DrawAttention() OVERRIDE; 89 virtual void DrawAttention() OVERRIDE;
89 virtual bool IsDrawingAttention() const OVERRIDE; 90 virtual bool IsDrawingAttention() const OVERRIDE;
90 virtual Browser* GetPanelBrowser() const OVERRIDE; 91 virtual Browser* GetPanelBrowser() const OVERRIDE;
91 virtual void DestroyPanelBrowser() OVERRIDE; 92 virtual void DestroyPanelBrowser() OVERRIDE;
92 virtual NativePanelTesting* GetNativePanelTesting() OVERRIDE; 93 virtual NativePanelTesting* GetNativePanelTesting() OVERRIDE;
93 94
94 // Overridden from AnimationDelegate: 95 // Overridden from AnimationDelegate:
95 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE; 96 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
96 97
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 bool is_drawing_attention_; 130 bool is_drawing_attention_;
130 131
131 // Timestamp to prevent minimizing the panel when the user clicks the titlebar 132 // Timestamp to prevent minimizing the panel when the user clicks the titlebar
132 // to clear the attension state. 133 // to clear the attension state.
133 base::TimeTicks attention_cleared_time_; 134 base::TimeTicks attention_cleared_time_;
134 135
135 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView); 136 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView);
136 }; 137 };
137 138
138 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ 139 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698