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_; |