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

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

Issue 10915217: Hook up SetInstantPreviewHeight for ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move hidden notification, too. Created 8 years, 3 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/contents_container.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 virtual void Paste() OVERRIDE {} 122 virtual void Paste() OVERRIDE {}
123 #if defined(OS_MACOSX) 123 #if defined(OS_MACOSX)
124 virtual void OpenTabpose() OVERRIDE {} 124 virtual void OpenTabpose() OVERRIDE {}
125 virtual void EnterPresentationMode( 125 virtual void EnterPresentationMode(
126 const GURL& url, 126 const GURL& url,
127 FullscreenExitBubbleType bubble_type) OVERRIDE {} 127 FullscreenExitBubbleType bubble_type) OVERRIDE {}
128 virtual void ExitPresentationMode() OVERRIDE {} 128 virtual void ExitPresentationMode() OVERRIDE {}
129 virtual bool InPresentationMode() OVERRIDE; 129 virtual bool InPresentationMode() OVERRIDE;
130 #endif 130 #endif
131 131
132 virtual void ShowInstant(TabContents* preview_contents) OVERRIDE {} 132 virtual void ShowInstant(TabContents* preview_contents,
133 int height,
134 InstantSizeUnits units) OVERRIDE {}
133 virtual void HideInstant() OVERRIDE {} 135 virtual void HideInstant() OVERRIDE {}
134 virtual gfx::Rect GetInstantBounds() OVERRIDE; 136 virtual gfx::Rect GetInstantBounds() OVERRIDE;
135 virtual bool IsInstantTabShowing() OVERRIDE; 137 virtual bool IsInstantTabShowing() OVERRIDE;
136 virtual WindowOpenDisposition GetDispositionForPopupBounds( 138 virtual WindowOpenDisposition GetDispositionForPopupBounds(
137 const gfx::Rect& bounds) OVERRIDE; 139 const gfx::Rect& bounds) OVERRIDE;
138 virtual FindBar* CreateFindBar() OVERRIDE; 140 virtual FindBar* CreateFindBar() OVERRIDE;
139 virtual void ShowAvatarBubble(content::WebContents* web_contents, 141 virtual void ShowAvatarBubble(content::WebContents* web_contents,
140 const gfx::Rect& rect) OVERRIDE {} 142 const gfx::Rect& rect) OVERRIDE {}
141 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE {} 143 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE {}
142 144
143 protected: 145 protected:
144 virtual void DestroyBrowser() OVERRIDE {} 146 virtual void DestroyBrowser() OVERRIDE {}
145 147
146 private: 148 private:
147 TestLocationBar location_bar_; 149 TestLocationBar location_bar_;
148 150
149 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); 151 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow);
150 }; 152 };
151 153
152 namespace chrome { 154 namespace chrome {
153 155
154 // Helpers that handle the lifetime of TestBrowserWindow instances. 156 // Helpers that handle the lifetime of TestBrowserWindow instances.
155 Browser* CreateBrowserWithTestWindowForProfile(Profile* profile); 157 Browser* CreateBrowserWithTestWindowForProfile(Profile* profile);
156 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); 158 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params);
157 159
158 } // namespace chrome 160 } // namespace chrome
159 161
160 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 162 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/contents_container.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698