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

Side by Side Diff: chrome/browser/ui/gtk/browser_window_gtk.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_GTK_BROWSER_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 virtual void Copy(); 128 virtual void Copy();
129 virtual void Paste(); 129 virtual void Paste();
130 virtual void ToggleTabStripMode(); 130 virtual void ToggleTabStripMode();
131 virtual void ToggleUseCompactNavigationBar(); 131 virtual void ToggleUseCompactNavigationBar();
132 virtual void PrepareForInstant(); 132 virtual void PrepareForInstant();
133 virtual void ShowInstant(TabContentsWrapper* preview); 133 virtual void ShowInstant(TabContentsWrapper* preview);
134 virtual void HideInstant(bool instant_is_active); 134 virtual void HideInstant(bool instant_is_active);
135 virtual gfx::Rect GetInstantBounds(); 135 virtual gfx::Rect GetInstantBounds();
136 virtual WindowOpenDisposition GetDispositionForPopupBounds( 136 virtual WindowOpenDisposition GetDispositionForPopupBounds(
137 const gfx::Rect& bounds); 137 const gfx::Rect& bounds);
138 virtual FindBar* CreateFindBar() OVERRIDE;
138 139
139 // Overridden from NotificationObserver: 140 // Overridden from NotificationObserver:
140 virtual void Observe(int type, 141 virtual void Observe(int type,
141 const NotificationSource& source, 142 const NotificationSource& source,
142 const NotificationDetails& details); 143 const NotificationDetails& details);
143 144
144 // Overridden from TabStripModelObserver: 145 // Overridden from TabStripModelObserver:
145 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); 146 virtual void TabDetachedAt(TabContentsWrapper* contents, int index);
146 virtual void ActiveTabChanged(TabContentsWrapper* old_contents, 147 virtual void ActiveTabChanged(TabContentsWrapper* old_contents,
147 TabContentsWrapper* new_contents, 148 TabContentsWrapper* new_contents,
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 // be called. This should only be enabled in tests where the debounce timeout 508 // be called. This should only be enabled in tests where the debounce timeout
508 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the 509 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the
509 // autocomplete popup before the results can be read) and the final window 510 // autocomplete popup before the results can be read) and the final window
510 // position is unimportant. 511 // position is unimportant.
511 bool debounce_timer_disabled_; 512 bool debounce_timer_disabled_;
512 513
513 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 514 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
514 }; 515 };
515 516
516 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 517 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698