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

Side by Side Diff: chrome/test/base/test_browser_window.h

Issue 8298005: Fixes bug in instant where we would end up incorrectly using the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweak Created 9 years, 2 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
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 virtual void Cut() OVERRIDE {} 98 virtual void Cut() OVERRIDE {}
99 virtual void Copy() OVERRIDE {} 99 virtual void Copy() OVERRIDE {}
100 virtual void Paste() OVERRIDE {} 100 virtual void Paste() OVERRIDE {}
101 #if defined(OS_MACOSX) 101 #if defined(OS_MACOSX)
102 virtual void OpenTabpose() OVERRIDE {} 102 virtual void OpenTabpose() OVERRIDE {}
103 virtual void SetPresentationMode(bool presentation_mode) OVERRIDE {} 103 virtual void SetPresentationMode(bool presentation_mode) OVERRIDE {}
104 virtual bool InPresentationMode() OVERRIDE; 104 virtual bool InPresentationMode() OVERRIDE;
105 #endif 105 #endif
106 106
107 virtual void ShowInstant(TabContentsWrapper* preview_contents) OVERRIDE {} 107 virtual void ShowInstant(TabContentsWrapper* preview_contents) OVERRIDE {}
108 virtual void HideInstant(bool instant_is_active) OVERRIDE {} 108 virtual void HideInstant() OVERRIDE {}
109 virtual gfx::Rect GetInstantBounds() OVERRIDE; 109 virtual gfx::Rect GetInstantBounds() OVERRIDE;
110 virtual WindowOpenDisposition GetDispositionForPopupBounds( 110 virtual WindowOpenDisposition GetDispositionForPopupBounds(
111 const gfx::Rect& bounds) OVERRIDE; 111 const gfx::Rect& bounds) OVERRIDE;
112 virtual FindBar* CreateFindBar() OVERRIDE; 112 virtual FindBar* CreateFindBar() OVERRIDE;
113 virtual void ShowAvatarBubble(TabContents* tab_contents, 113 virtual void ShowAvatarBubble(TabContents* tab_contents,
114 const gfx::Rect& rect) OVERRIDE {} 114 const gfx::Rect& rect) OVERRIDE {}
115 115
116 #if defined(OS_CHROMEOS) 116 #if defined(OS_CHROMEOS)
117 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE {} 117 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE {}
118 #endif 118 #endif
119 119
120 protected: 120 protected:
121 virtual void DestroyBrowser() OVERRIDE {} 121 virtual void DestroyBrowser() OVERRIDE {}
122 122
123 private: 123 private:
124 TestLocationBar location_bar_; 124 TestLocationBar location_bar_;
125 125
126 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); 126 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow);
127 }; 127 };
128 128
129 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 129 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698