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

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

Issue 10870094: Constrained window sheet controller (test patch) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename 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/chrome_tests.gypi ('k') | chrome/test/base/test_browser_window.cc » ('j') | 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) OVERRIDE {}
133 virtual void HideInstant() OVERRIDE {} 133 virtual void HideInstant() OVERRIDE {}
134 virtual gfx::Rect GetInstantBounds() OVERRIDE; 134 virtual gfx::Rect GetInstantBounds() OVERRIDE;
135 virtual bool GetIsShowingInstant() OVERRIDE;
135 virtual WindowOpenDisposition GetDispositionForPopupBounds( 136 virtual WindowOpenDisposition GetDispositionForPopupBounds(
136 const gfx::Rect& bounds) OVERRIDE; 137 const gfx::Rect& bounds) OVERRIDE;
137 virtual FindBar* CreateFindBar() OVERRIDE; 138 virtual FindBar* CreateFindBar() OVERRIDE;
138 virtual void ShowAvatarBubble(content::WebContents* web_contents, 139 virtual void ShowAvatarBubble(content::WebContents* web_contents,
139 const gfx::Rect& rect) OVERRIDE {} 140 const gfx::Rect& rect) OVERRIDE {}
140 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE {} 141 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE {}
141 142
142 protected: 143 protected:
143 virtual void DestroyBrowser() OVERRIDE {} 144 virtual void DestroyBrowser() OVERRIDE {}
144 145
145 private: 146 private:
146 TestLocationBar location_bar_; 147 TestLocationBar location_bar_;
147 148
148 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); 149 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow);
149 }; 150 };
150 151
151 namespace chrome { 152 namespace chrome {
152 153
153 // Helpers that handle the lifetime of TestBrowserWindow instances. 154 // Helpers that handle the lifetime of TestBrowserWindow instances.
154 Browser* CreateBrowserWithTestWindowForProfile(Profile* profile); 155 Browser* CreateBrowserWithTestWindowForProfile(Profile* profile);
155 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); 156 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params);
156 157
157 } // namespace chrome 158 } // namespace chrome
158 159
159 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 160 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/base/test_browser_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698