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

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

Issue 2687693002: Linux/Windows: Setting focus to the first profile in profile switcher (Closed)
Patch Set: Renaming |focus_first_profile| to |is_source_keyboard| Created 3 years, 10 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
« no previous file with comments | « chrome/browser/ui/webui/signin/login_ui_service.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/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.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 const security_state::SecurityInfo& security_info) override {} 125 const security_state::SecurityInfo& security_info) override {}
126 void CutCopyPaste(int command_id) override {} 126 void CutCopyPaste(int command_id) override {}
127 WindowOpenDisposition GetDispositionForPopupBounds( 127 WindowOpenDisposition GetDispositionForPopupBounds(
128 const gfx::Rect& bounds) override; 128 const gfx::Rect& bounds) override;
129 FindBar* CreateFindBar() override; 129 FindBar* CreateFindBar() override;
130 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() 130 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost()
131 override; 131 override;
132 void ShowAvatarBubbleFromAvatarButton( 132 void ShowAvatarBubbleFromAvatarButton(
133 AvatarBubbleMode mode, 133 AvatarBubbleMode mode,
134 const signin::ManageAccountsParams& manage_accounts_params, 134 const signin::ManageAccountsParams& manage_accounts_params,
135 signin_metrics::AccessPoint access_point) override {} 135 signin_metrics::AccessPoint access_point,
136 bool is_source_keyboard) override {}
136 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; 137 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override;
137 void ExecuteExtensionCommand(const extensions::Extension* extension, 138 void ExecuteExtensionCommand(const extensions::Extension* extension,
138 const extensions::Command& command) override; 139 const extensions::Command& command) override;
139 ExclusiveAccessContext* GetExclusiveAccessContext() override; 140 ExclusiveAccessContext* GetExclusiveAccessContext() override;
140 void ShowImeWarningBubble( 141 void ShowImeWarningBubble(
141 const extensions::Extension* extension, 142 const extensions::Extension* extension,
142 const base::Callback<void(ImeWarningBubblePermissionStatus status)>& 143 const base::Callback<void(ImeWarningBubblePermissionStatus status)>&
143 callback) override {} 144 callback) override {}
144 std::string GetWorkspace() const override; 145 std::string GetWorkspace() const override;
145 bool IsVisibleOnAllWorkspaces() const override; 146 bool IsVisibleOnAllWorkspaces() const override;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 203
203 namespace chrome { 204 namespace chrome {
204 205
205 // Helper that handle the lifetime of TestBrowserWindow instances. 206 // Helper that handle the lifetime of TestBrowserWindow instances.
206 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( 207 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams(
207 Browser::CreateParams* params); 208 Browser::CreateParams* params);
208 209
209 } // namespace chrome 210 } // namespace chrome
210 211
211 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 212 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/signin/login_ui_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698