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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.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
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_VIEWS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 bool IsTabStripEditable() const override; 309 bool IsTabStripEditable() const override;
310 bool IsToolbarVisible() const override; 310 bool IsToolbarVisible() const override;
311 gfx::Rect GetRootWindowResizerRect() const override; 311 gfx::Rect GetRootWindowResizerRect() const override;
312 void ConfirmAddSearchProvider(TemplateURL* template_url, 312 void ConfirmAddSearchProvider(TemplateURL* template_url,
313 Profile* profile) override; 313 Profile* profile) override;
314 void ShowUpdateChromeDialog() override; 314 void ShowUpdateChromeDialog() override;
315 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override; 315 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override;
316 void ShowBookmarkAppBubble( 316 void ShowBookmarkAppBubble(
317 const WebApplicationInfo& web_app_info, 317 const WebApplicationInfo& web_app_info,
318 const ShowBookmarkAppBubbleCallback& callback) override; 318 const ShowBookmarkAppBubbleCallback& callback) override;
319 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble(
320 content::WebContents* contents,
321 autofill::SaveCardBubbleController* controller) override;
319 void ShowTranslateBubble(content::WebContents* contents, 322 void ShowTranslateBubble(content::WebContents* contents,
320 translate::TranslateStep step, 323 translate::TranslateStep step,
321 translate::TranslateErrors::Type error_type, 324 translate::TranslateErrors::Type error_type,
322 bool is_user_gesture) override; 325 bool is_user_gesture) override;
323 bool IsProfileResetBubbleSupported() const override; 326 bool IsProfileResetBubbleSupported() const override;
324 GlobalErrorBubbleViewBase* ShowProfileResetBubble( 327 GlobalErrorBubbleViewBase* ShowProfileResetBubble(
325 const base::WeakPtr<ProfileResetGlobalError>& global_error) override; 328 const base::WeakPtr<ProfileResetGlobalError>& global_error) override;
326 #if defined(ENABLE_ONE_CLICK_SIGNIN) 329 #if defined(ENABLE_ONE_CLICK_SIGNIN)
327 void ShowOneClickSigninBubble( 330 void ShowOneClickSigninBubble(
328 OneClickSigninBubbleType type, 331 OneClickSigninBubbleType type,
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 scoped_ptr<ImmersiveModeController> immersive_mode_controller_; 702 scoped_ptr<ImmersiveModeController> immersive_mode_controller_;
700 703
701 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; 704 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_;
702 705
703 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 706 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
704 707
705 DISALLOW_COPY_AND_ASSIGN(BrowserView); 708 DISALLOW_COPY_AND_ASSIGN(BrowserView);
706 }; 709 };
707 710
708 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 711 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/autofill/save_card_bubble_views.cc ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698