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

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

Issue 899443002: Create bookmark apps at the end of the process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback Created 5 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/common/web_application_info.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 97
98 bool IsBookmarkBarVisible() const override; 98 bool IsBookmarkBarVisible() const override;
99 bool IsBookmarkBarAnimating() const override; 99 bool IsBookmarkBarAnimating() const override;
100 bool IsTabStripEditable() const override; 100 bool IsTabStripEditable() const override;
101 bool IsToolbarVisible() const override; 101 bool IsToolbarVisible() const override;
102 gfx::Rect GetRootWindowResizerRect() const override; 102 gfx::Rect GetRootWindowResizerRect() const override;
103 void ConfirmAddSearchProvider(TemplateURL* template_url, 103 void ConfirmAddSearchProvider(TemplateURL* template_url,
104 Profile* profile) override {} 104 Profile* profile) override {}
105 void ShowUpdateChromeDialog() override {} 105 void ShowUpdateChromeDialog() override {}
106 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override {} 106 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override {}
107 void ShowBookmarkAppBubble(const WebApplicationInfo& web_app_info, 107 void ShowBookmarkAppBubble(
108 const std::string& extension_id) override {} 108 const WebApplicationInfo& web_app_info,
109 const ShowBookmarkAppBubbleCallback& callback) override {}
109 void ShowTranslateBubble(content::WebContents* contents, 110 void ShowTranslateBubble(content::WebContents* contents,
110 translate::TranslateStep step, 111 translate::TranslateStep step,
111 translate::TranslateErrors::Type error_type, 112 translate::TranslateErrors::Type error_type,
112 bool is_user_gesture) override {} 113 bool is_user_gesture) override {}
113 bool ShowSessionCrashedBubble() override; 114 bool ShowSessionCrashedBubble() override;
114 bool IsProfileResetBubbleSupported() const override; 115 bool IsProfileResetBubbleSupported() const override;
115 GlobalErrorBubbleViewBase* ShowProfileResetBubble( 116 GlobalErrorBubbleViewBase* ShowProfileResetBubble(
116 const base::WeakPtr<ProfileResetGlobalError>& global_error) override; 117 const base::WeakPtr<ProfileResetGlobalError>& global_error) override;
117 #if defined(ENABLE_ONE_CLICK_SIGNIN) 118 #if defined(ENABLE_ONE_CLICK_SIGNIN)
118 void ShowOneClickSigninBubble( 119 void ShowOneClickSigninBubble(
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 }; 193 };
193 194
194 namespace chrome { 195 namespace chrome {
195 196
196 // Helper that handle the lifetime of TestBrowserWindow instances. 197 // Helper that handle the lifetime of TestBrowserWindow instances.
197 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); 198 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params);
198 199
199 } // namespace chrome 200 } // namespace chrome
200 201
201 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 202 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/common/web_application_info.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698