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

Side by Side Diff: chrome/test/base/test_browser_window.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_TEST_BASE_TEST_BROWSER_WINDOW_H_ 5 #ifndef CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 #if defined(OS_MACOSX) 103 #if defined(OS_MACOSX)
104 virtual void OpenTabpose() OVERRIDE {} 104 virtual void OpenTabpose() OVERRIDE {}
105 #endif 105 #endif
106 106
107 virtual void PrepareForInstant() OVERRIDE {} 107 virtual void PrepareForInstant() OVERRIDE {}
108 virtual void ShowInstant(TabContentsWrapper* preview_contents) OVERRIDE {} 108 virtual void ShowInstant(TabContentsWrapper* preview_contents) OVERRIDE {}
109 virtual void HideInstant(bool instant_is_active) OVERRIDE {} 109 virtual void HideInstant(bool instant_is_active) OVERRIDE {}
110 virtual gfx::Rect GetInstantBounds() OVERRIDE; 110 virtual gfx::Rect GetInstantBounds() OVERRIDE;
111 virtual WindowOpenDisposition GetDispositionForPopupBounds( 111 virtual WindowOpenDisposition GetDispositionForPopupBounds(
112 const gfx::Rect& bounds) OVERRIDE; 112 const gfx::Rect& bounds) OVERRIDE;
113 virtual FindBar* CreateFindBar() OVERRIDE;
113 114
114 #if defined(OS_CHROMEOS) 115 #if defined(OS_CHROMEOS)
115 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE {} 116 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE {}
116 #endif 117 #endif
117 118
118 protected: 119 protected:
119 virtual void DestroyBrowser() OVERRIDE {} 120 virtual void DestroyBrowser() OVERRIDE {}
120 121
121 private: 122 private:
122 TestLocationBar location_bar_; 123 TestLocationBar location_bar_;
123 124
124 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); 125 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow);
125 }; 126 };
126 127
127 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 128 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698