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

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

Issue 2400503002: [Translate] Integrate TranslateEventProto UMA logging into TranslateManager. (Closed)
Patch Set: fix trybots Created 4 years, 1 month 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/views/frame/browser_view.cc ('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/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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 bool IsToolbarVisible() const override; 93 bool IsToolbarVisible() const override;
94 void ShowUpdateChromeDialog() override {} 94 void ShowUpdateChromeDialog() override {}
95 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override {} 95 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override {}
96 void ShowBookmarkAppBubble( 96 void ShowBookmarkAppBubble(
97 const WebApplicationInfo& web_app_info, 97 const WebApplicationInfo& web_app_info,
98 const ShowBookmarkAppBubbleCallback& callback) override {} 98 const ShowBookmarkAppBubbleCallback& callback) override {}
99 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( 99 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble(
100 content::WebContents* contents, 100 content::WebContents* contents,
101 autofill::SaveCardBubbleController* controller, 101 autofill::SaveCardBubbleController* controller,
102 bool user_gesture) override; 102 bool user_gesture) override;
103 void ShowTranslateBubble(content::WebContents* contents, 103 ShowTranslateBubbleResult ShowTranslateBubble(
104 translate::TranslateStep step, 104 content::WebContents* contents,
105 translate::TranslateErrors::Type error_type, 105 translate::TranslateStep step,
106 bool is_user_gesture) override {} 106 translate::TranslateErrors::Type error_type,
107 bool is_user_gesture) override;
107 #if BUILDFLAG(ENABLE_ONE_CLICK_SIGNIN) 108 #if BUILDFLAG(ENABLE_ONE_CLICK_SIGNIN)
108 void ShowOneClickSigninConfirmation( 109 void ShowOneClickSigninConfirmation(
109 const base::string16& email, 110 const base::string16& email,
110 const StartSyncCallback& start_sync_callback) override {} 111 const StartSyncCallback& start_sync_callback) override {}
111 #endif 112 #endif
112 bool IsDownloadShelfVisible() const override; 113 bool IsDownloadShelfVisible() const override;
113 DownloadShelf* GetDownloadShelf() override; 114 DownloadShelf* GetDownloadShelf() override;
114 void ConfirmBrowserCloseWithPendingDownloads( 115 void ConfirmBrowserCloseWithPendingDownloads(
115 int download_count, 116 int download_count,
116 Browser::DownloadClosePreventionType dialog_type, 117 Browser::DownloadClosePreventionType dialog_type,
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 204
204 namespace chrome { 205 namespace chrome {
205 206
206 // Helper that handle the lifetime of TestBrowserWindow instances. 207 // Helper that handle the lifetime of TestBrowserWindow instances.
207 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( 208 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams(
208 Browser::CreateParams* params); 209 Browser::CreateParams* params);
209 210
210 } // namespace chrome 211 } // namespace chrome
211 212
212 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 213 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/test/base/test_browser_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698