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

Unified Diff: chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.h

Issue 929293005: Autofill: Add contents of CVC unmask prompt dialog on OSX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cup_01_initial_add
Patch Set: Fix failing browser test by calling test::SetCreditCardInfo. Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.h
diff --git a/chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.h b/chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.h
index 02ff9cf3370c6fbcec5c9f35a87ce08aa5fb5b99..fb6ed4901af048a0a614484c7921fefa3a36e60b 100644
--- a/chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.h
+++ b/chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.h
@@ -32,11 +32,12 @@ class CardUnmaskPromptViewBridge : public CardUnmaskPromptView,
// ConstrainedWindowMacDelegate implementation:
void OnConstrainedWindowClosed(ConstrainedWindowMac* window) override;
+ CardUnmaskPromptController* GetController();
void PerformClose();
private:
scoped_ptr<ConstrainedWindowMac> constrained_window_;
- base::scoped_nsobject<CardUnmaskPromptViewCocoa> sheet_controller_;
+ base::scoped_nsobject<CardUnmaskPromptViewCocoa> view_controller_;
// The controller |this| queries for logic and state.
CardUnmaskPromptController* controller_;
@@ -44,7 +45,7 @@ class CardUnmaskPromptViewBridge : public CardUnmaskPromptView,
} // autofill
-@interface CardUnmaskPromptViewCocoa : NSWindowController<NSWindowDelegate> {
+@interface CardUnmaskPromptViewCocoa : NSViewController<NSWindowDelegate> {
@private
content::WebContents* webContents_;

Powered by Google App Engine
This is Rietveld 408576698