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

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: Address groby@ comments for patch set 1. Created 5 years, 10 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..458cd46aee5a2977090efa86e068fa4b8ad22924 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
@@ -7,6 +7,7 @@
#include "base/mac/scoped_nsobject.h"
#include "base/memory/scoped_ptr.h"
+#include "chrome/browser/ui/autofill/autofill_dialog_models.h"
groby-ooo-7-16 2015/02/28 00:49:17 Why include this?
bondd 2015/03/02 23:04:04 Done.
#include "chrome/browser/ui/autofill/card_unmask_prompt_view.h"
#include "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h"
@@ -32,11 +33,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 +46,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