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

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

Issue 87503004: Pass the Translate error type to the bubble (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (rebasing) Created 7 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
« no previous file with comments | « chrome/browser/ui/views/translate/translate_bubble_view_unittest.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/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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 virtual bool IsTabStripEditable() const OVERRIDE; 97 virtual bool IsTabStripEditable() const OVERRIDE;
98 virtual bool IsToolbarVisible() const OVERRIDE; 98 virtual bool IsToolbarVisible() const OVERRIDE;
99 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; 99 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE;
100 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, 100 virtual void ConfirmAddSearchProvider(TemplateURL* template_url,
101 Profile* profile) OVERRIDE {} 101 Profile* profile) OVERRIDE {}
102 virtual void ShowUpdateChromeDialog() OVERRIDE {} 102 virtual void ShowUpdateChromeDialog() OVERRIDE {}
103 virtual void ShowBookmarkBubble(const GURL& url, 103 virtual void ShowBookmarkBubble(const GURL& url,
104 bool already_bookmarked) OVERRIDE {} 104 bool already_bookmarked) OVERRIDE {}
105 virtual void ShowTranslateBubble( 105 virtual void ShowTranslateBubble(
106 content::WebContents* contents, 106 content::WebContents* contents,
107 TranslateBubbleModel::ViewState view_state) OVERRIDE {} 107 TranslateBubbleModel::ViewState view_state,
108 TranslateErrors::Type error_type) OVERRIDE {}
108 #if defined(ENABLE_ONE_CLICK_SIGNIN) 109 #if defined(ENABLE_ONE_CLICK_SIGNIN)
109 virtual void ShowOneClickSigninBubble( 110 virtual void ShowOneClickSigninBubble(
110 OneClickSigninBubbleType type, 111 OneClickSigninBubbleType type,
111 const string16& email, 112 const string16& email,
112 const string16& error_message, 113 const string16& error_message,
113 const StartSyncCallback& start_sync_callback) OVERRIDE {} 114 const StartSyncCallback& start_sync_callback) OVERRIDE {}
114 #endif 115 #endif
115 virtual bool IsDownloadShelfVisible() const OVERRIDE; 116 virtual bool IsDownloadShelfVisible() const OVERRIDE;
116 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; 117 virtual DownloadShelf* GetDownloadShelf() OVERRIDE;
117 virtual void ConfirmBrowserCloseWithPendingDownloads( 118 virtual void ConfirmBrowserCloseWithPendingDownloads(
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 }; 191 };
191 192
192 namespace chrome { 193 namespace chrome {
193 194
194 // Helper that handle the lifetime of TestBrowserWindow instances. 195 // Helper that handle the lifetime of TestBrowserWindow instances.
195 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); 196 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params);
196 197
197 } // namespace chrome 198 } // namespace chrome
198 199
199 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 200 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/translate/translate_bubble_view_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698