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

Side by Side Diff: chrome/browser/ui/browser_window.h

Issue 1396923003: Autofill: Replace "save credit card" infobar with a bubble (Views only). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: defined(TOOLKIT_VIEWS) -> defined(TOOLKIT_VIEWS) && !defined(OS_MACOSX). Created 5 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/browser_commands.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_BROWSER_UI_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "chrome/browser/lifetime/browser_close_manager.h" 9 #include "chrome/browser/lifetime/browser_close_manager.h"
10 #include "chrome/browser/signin/chrome_signin_helper.h" 10 #include "chrome/browser/signin/chrome_signin_helper.h"
(...skipping 19 matching lines...) Expand all
30 class GURL; 30 class GURL;
31 class LocationBar; 31 class LocationBar;
32 class Profile; 32 class Profile;
33 class ProfileResetGlobalError; 33 class ProfileResetGlobalError;
34 class StatusBubble; 34 class StatusBubble;
35 class TemplateURL; 35 class TemplateURL;
36 class ToolbarActionsBar; 36 class ToolbarActionsBar;
37 37
38 struct WebApplicationInfo; 38 struct WebApplicationInfo;
39 39
40 namespace autofill {
41 class SaveCardBubbleController;
42 class SaveCardBubbleView;
43 }
44
40 namespace content { 45 namespace content {
41 class WebContents; 46 class WebContents;
42 struct NativeWebKeyboardEvent; 47 struct NativeWebKeyboardEvent;
43 } 48 }
44 49
45 namespace extensions { 50 namespace extensions {
46 class Command; 51 class Command;
47 class Extension; 52 class Extension;
48 } 53 }
49 54
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 243
239 // Shows the Bookmark App bubble. 244 // Shows the Bookmark App bubble.
240 // See Extension::InitFromValueFlags::FROM_BOOKMARK for a description of 245 // See Extension::InitFromValueFlags::FROM_BOOKMARK for a description of
241 // bookmark apps. 246 // bookmark apps.
242 // 247 //
243 // |web_app_info| is the WebApplicationInfo being converted into an app. 248 // |web_app_info| is the WebApplicationInfo being converted into an app.
244 virtual void ShowBookmarkAppBubble( 249 virtual void ShowBookmarkAppBubble(
245 const WebApplicationInfo& web_app_info, 250 const WebApplicationInfo& web_app_info,
246 const ShowBookmarkAppBubbleCallback& callback) = 0; 251 const ShowBookmarkAppBubbleCallback& callback) = 0;
247 252
253 // Shows the "Save credit card" bubble.
254 virtual autofill::SaveCardBubbleView* ShowSaveCreditCardBubble(
255 content::WebContents* contents,
256 autofill::SaveCardBubbleController* controller) = 0;
257
248 // Shows the translate bubble. 258 // Shows the translate bubble.
249 // 259 //
250 // |is_user_gesture| is true when the bubble is shown on the user's deliberate 260 // |is_user_gesture| is true when the bubble is shown on the user's deliberate
251 // action. 261 // action.
252 virtual void ShowTranslateBubble( 262 virtual void ShowTranslateBubble(
253 content::WebContents* contents, 263 content::WebContents* contents,
254 translate::TranslateStep step, 264 translate::TranslateStep step,
255 translate::TranslateErrors::Type error_type, 265 translate::TranslateErrors::Type error_type,
256 bool is_user_gesture) = 0; 266 bool is_user_gesture) = 0;
257 267
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 // Returns object implementing ExclusiveAccessContext interface. 401 // Returns object implementing ExclusiveAccessContext interface.
392 virtual ExclusiveAccessContext* GetExclusiveAccessContext() = 0; 402 virtual ExclusiveAccessContext* GetExclusiveAccessContext() = 0;
393 403
394 protected: 404 protected:
395 friend class BrowserCloseManager; 405 friend class BrowserCloseManager;
396 friend class BrowserView; 406 friend class BrowserView;
397 virtual void DestroyBrowser() = 0; 407 virtual void DestroyBrowser() = 0;
398 }; 408 };
399 409
400 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 410 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_commands.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698