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

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

Issue 739793003: Close bubbles not on UpdateToolbar but when the activated tab is changed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 void ConfirmAddSearchProvider(TemplateURL* template_url, 99 void ConfirmAddSearchProvider(TemplateURL* template_url,
100 Profile* profile) override {} 100 Profile* profile) override {}
101 void ShowUpdateChromeDialog() override {} 101 void ShowUpdateChromeDialog() override {}
102 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override {} 102 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override {}
103 void ShowBookmarkAppBubble(const WebApplicationInfo& web_app_info, 103 void ShowBookmarkAppBubble(const WebApplicationInfo& web_app_info,
104 const std::string& extension_id) override {} 104 const std::string& extension_id) override {}
105 void ShowTranslateBubble(content::WebContents* contents, 105 void ShowTranslateBubble(content::WebContents* contents,
106 translate::TranslateStep step, 106 translate::TranslateStep step,
107 translate::TranslateErrors::Type error_type, 107 translate::TranslateErrors::Type error_type,
108 bool is_user_gesture) override {} 108 bool is_user_gesture) override {}
109 void CloseTranslateBubble() override {}
109 #if defined(ENABLE_ONE_CLICK_SIGNIN) 110 #if defined(ENABLE_ONE_CLICK_SIGNIN)
110 void ShowOneClickSigninBubble( 111 void ShowOneClickSigninBubble(
111 OneClickSigninBubbleType type, 112 OneClickSigninBubbleType type,
112 const base::string16& email, 113 const base::string16& email,
113 const base::string16& error_message, 114 const base::string16& error_message,
114 const StartSyncCallback& start_sync_callback) override {} 115 const StartSyncCallback& start_sync_callback) override {}
115 #endif 116 #endif
116 bool IsDownloadShelfVisible() const override; 117 bool IsDownloadShelfVisible() const override;
117 DownloadShelf* GetDownloadShelf() override; 118 DownloadShelf* GetDownloadShelf() override;
118 void ConfirmBrowserCloseWithPendingDownloads( 119 void ConfirmBrowserCloseWithPendingDownloads(
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 }; 195 };
195 196
196 namespace chrome { 197 namespace chrome {
197 198
198 // Helper that handle the lifetime of TestBrowserWindow instances. 199 // Helper that handle the lifetime of TestBrowserWindow instances.
199 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); 200 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params);
200 201
201 } // namespace chrome 202 } // namespace chrome
202 203
203 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 204 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698