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

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

Issue 1473543002: Implement newly designed sign-in related histograms for desktop platorms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comments Created 5 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
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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 const GURL& url, 140 const GURL& url,
141 const SecurityStateModel::SecurityInfo& security_info) override {} 141 const SecurityStateModel::SecurityInfo& security_info) override {}
142 void CutCopyPaste(int command_id) override {} 142 void CutCopyPaste(int command_id) override {}
143 WindowOpenDisposition GetDispositionForPopupBounds( 143 WindowOpenDisposition GetDispositionForPopupBounds(
144 const gfx::Rect& bounds) override; 144 const gfx::Rect& bounds) override;
145 FindBar* CreateFindBar() override; 145 FindBar* CreateFindBar() override;
146 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() 146 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost()
147 override; 147 override;
148 void ShowAvatarBubbleFromAvatarButton( 148 void ShowAvatarBubbleFromAvatarButton(
149 AvatarBubbleMode mode, 149 AvatarBubbleMode mode,
150 const signin::ManageAccountsParams& manage_accounts_params) override {} 150 const signin::ManageAccountsParams& manage_accounts_params,
151 void ShowModalSigninWindow(AvatarBubbleMode mode) override {} 151 signin_metrics::AccessPoint access_point) override {}
152 void ShowModalSigninWindow(
153 AvatarBubbleMode mode,
154 signin_metrics::AccessPoint access_point) override {}
152 void CloseModalSigninWindow() override {} 155 void CloseModalSigninWindow() override {}
153 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; 156 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override;
154 void ExecuteExtensionCommand(const extensions::Extension* extension, 157 void ExecuteExtensionCommand(const extensions::Extension* extension,
155 const extensions::Command& command) override; 158 const extensions::Command& command) override;
156 ExclusiveAccessContext* GetExclusiveAccessContext() override; 159 ExclusiveAccessContext* GetExclusiveAccessContext() override;
157 160
158 protected: 161 protected:
159 void DestroyBrowser() override {} 162 void DestroyBrowser() override {}
160 163
161 private: 164 private:
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 217
215 namespace chrome { 218 namespace chrome {
216 219
217 // Helper that handle the lifetime of TestBrowserWindow instances. 220 // Helper that handle the lifetime of TestBrowserWindow instances.
218 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( 221 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams(
219 Browser::CreateParams* params); 222 Browser::CreateParams* params);
220 223
221 } // namespace chrome 224 } // namespace chrome
222 225
223 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 226 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698