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

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_cocoa.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_window.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('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_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
7 7
8 #include "base/mac/scoped_nsobject.h" 8 #include "base/mac/scoped_nsobject.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/extensions/extension_keybinding_registry.h" 10 #include "chrome/browser/extensions/extension_keybinding_registry.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 bool IsTabStripEditable() const override; 107 bool IsTabStripEditable() const override;
108 bool IsToolbarVisible() const override; 108 bool IsToolbarVisible() const override;
109 gfx::Rect GetRootWindowResizerRect() const override; 109 gfx::Rect GetRootWindowResizerRect() const override;
110 void ConfirmAddSearchProvider(TemplateURL* template_url, 110 void ConfirmAddSearchProvider(TemplateURL* template_url,
111 Profile* profile) override; 111 Profile* profile) override;
112 void ShowUpdateChromeDialog() override; 112 void ShowUpdateChromeDialog() override;
113 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override; 113 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override;
114 void ShowBookmarkAppBubble( 114 void ShowBookmarkAppBubble(
115 const WebApplicationInfo& web_app_info, 115 const WebApplicationInfo& web_app_info,
116 const ShowBookmarkAppBubbleCallback& callback) override; 116 const ShowBookmarkAppBubbleCallback& callback) override;
117 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble(
118 content::WebContents* contents,
119 autofill::SaveCardBubbleController* controller) override;
117 void ShowTranslateBubble(content::WebContents* contents, 120 void ShowTranslateBubble(content::WebContents* contents,
118 translate::TranslateStep step, 121 translate::TranslateStep step,
119 translate::TranslateErrors::Type error_type, 122 translate::TranslateErrors::Type error_type,
120 bool is_user_gesture) override; 123 bool is_user_gesture) override;
121 bool IsProfileResetBubbleSupported() const override; 124 bool IsProfileResetBubbleSupported() const override;
122 GlobalErrorBubbleViewBase* ShowProfileResetBubble( 125 GlobalErrorBubbleViewBase* ShowProfileResetBubble(
123 const base::WeakPtr<ProfileResetGlobalError>& global_error) override; 126 const base::WeakPtr<ProfileResetGlobalError>& global_error) override;
124 #if defined(ENABLE_ONE_CLICK_SIGNIN) 127 #if defined(ENABLE_ONE_CLICK_SIGNIN)
125 void ShowOneClickSigninBubble( 128 void ShowOneClickSigninBubble(
126 OneClickSigninBubbleType type, 129 OneClickSigninBubbleType type,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 NSWindow* window() const; // Accessor for the (current) |NSWindow|. 190 NSWindow* window() const; // Accessor for the (current) |NSWindow|.
188 191
189 Browser* browser_; // weak, owned by controller 192 Browser* browser_; // weak, owned by controller
190 BrowserWindowController* controller_; // weak, owns us 193 BrowserWindowController* controller_; // weak, owns us
191 base::scoped_nsobject<NSString> pending_window_title_; 194 base::scoped_nsobject<NSString> pending_window_title_;
192 ui::WindowShowState initial_show_state_; 195 ui::WindowShowState initial_show_state_;
193 NSInteger attention_request_id_; // identifier from requestUserAttention 196 NSInteger attention_request_id_; // identifier from requestUserAttention
194 }; 197 };
195 198
196 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 199 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698