Chromium Code Reviews| Index: chrome/browser/ui/panels/panel_browser_window_cocoa.h |
| diff --git a/chrome/browser/ui/panels/panel_browser_window_cocoa.h b/chrome/browser/ui/panels/panel_browser_window_cocoa.h |
| index fb2d0903531bba64227d80e965af9607384b8af3..74160a8385dd1f20cedc92dcad37cb3c2a7af8d0 100644 |
| --- a/chrome/browser/ui/panels/panel_browser_window_cocoa.h |
| +++ b/chrome/browser/ui/panels/panel_browser_window_cocoa.h |
| @@ -42,6 +42,7 @@ class PanelBrowserWindowCocoa : public NativePanel, |
| virtual gfx::NativeWindow GetNativePanelHandle() OVERRIDE; |
| virtual void UpdatePanelTitleBar() OVERRIDE; |
| virtual void ShowTaskManagerForPanel() OVERRIDE; |
| + virtual FindBar* CreatePanelFindBar() OVERRIDE; |
| virtual void NotifyPanelOnUserChangedTheme() OVERRIDE; |
| virtual void DrawAttention() OVERRIDE; |
| virtual bool IsDrawingAttention() const OVERRIDE; |
| @@ -67,6 +68,7 @@ class PanelBrowserWindowCocoa : public NativePanel, |
| gfx::Rect bounds_; |
| PanelWindowControllerCocoa* controller_; // Weak, owns us. |
| bool is_shown_; // Panel is hidden on creation, Show() changes that forever. |
| + bool has_find_bar_; // Find bar should only be created once per panel. |
|
Dmitry Titov
2011/08/08 20:08:31
Can we make this data member that is only used in
jennb
2011/08/08 21:21:21
As discussed, will not change. DCHECK is not the s
|
| DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowCocoa); |
| }; |