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

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

Issue 11416047: Add mac UI for password generation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync Created 8 years 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) 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 132
133 virtual gfx::Rect GetInstantBounds() OVERRIDE; 133 virtual gfx::Rect GetInstantBounds() OVERRIDE;
134 virtual bool IsInstantTabShowing() OVERRIDE; 134 virtual bool IsInstantTabShowing() OVERRIDE;
135 virtual WindowOpenDisposition GetDispositionForPopupBounds( 135 virtual WindowOpenDisposition GetDispositionForPopupBounds(
136 const gfx::Rect& bounds) OVERRIDE; 136 const gfx::Rect& bounds) OVERRIDE;
137 virtual FindBar* CreateFindBar() OVERRIDE; 137 virtual FindBar* CreateFindBar() OVERRIDE;
138 virtual bool GetConstrainedWindowTopY(int* top_y) OVERRIDE; 138 virtual bool GetConstrainedWindowTopY(int* top_y) OVERRIDE;
139 virtual void ShowAvatarBubble(content::WebContents* web_contents, 139 virtual void ShowAvatarBubble(content::WebContents* web_contents,
140 const gfx::Rect& rect) OVERRIDE {} 140 const gfx::Rect& rect) OVERRIDE {}
141 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE {} 141 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE {}
142 virtual void ShowPasswordGenerationBubble(
143 const gfx::Rect& rect,
144 const content::PasswordForm& form,
145 autofill::PasswordGenerator* generator) OVERRIDE {}
142 146
143 protected: 147 protected:
144 virtual void DestroyBrowser() OVERRIDE {} 148 virtual void DestroyBrowser() OVERRIDE {}
145 149
146 private: 150 private:
147 TestDownloadShelf download_shelf_; 151 TestDownloadShelf download_shelf_;
148 TestLocationBar location_bar_; 152 TestLocationBar location_bar_;
149 153
150 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); 154 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow);
151 }; 155 };
152 156
153 namespace chrome { 157 namespace chrome {
154 158
155 // Helpers that handle the lifetime of TestBrowserWindow instances. 159 // Helpers that handle the lifetime of TestBrowserWindow instances.
156 Browser* CreateBrowserWithTestWindowForProfile(Profile* profile); 160 Browser* CreateBrowserWithTestWindowForProfile(Profile* profile);
157 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); 161 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params);
158 162
159 } // namespace chrome 163 } // namespace chrome
160 164
161 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 165 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698