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

Side by Side Diff: chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.h

Issue 983833004: Autofill OSX: Rename initWithWebContents -> initWithBridge. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cup_03_add_contents_06
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.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) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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_CARD_UNMASK_PROMPT_VIEW_BRIDGE_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_CARD_UNMASK_PROMPT_VIEW_BRIDGE_H_
6 #define CHROME_BROWSER_UI_COCOA_CARD_UNMASK_PROMPT_VIEW_BRIDGE_H_ 6 #define CHROME_BROWSER_UI_COCOA_CARD_UNMASK_PROMPT_VIEW_BRIDGE_H_
7 7
8 #include "base/mac/scoped_nsobject.h" 8 #include "base/mac/scoped_nsobject.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/ui/autofill/card_unmask_prompt_view.h" 10 #include "chrome/browser/ui/autofill/card_unmask_prompt_view.h"
(...skipping 29 matching lines...) Expand all
40 base::scoped_nsobject<CardUnmaskPromptViewCocoa> view_controller_; 40 base::scoped_nsobject<CardUnmaskPromptViewCocoa> view_controller_;
41 41
42 // The controller |this| queries for logic and state. 42 // The controller |this| queries for logic and state.
43 CardUnmaskPromptController* controller_; 43 CardUnmaskPromptController* controller_;
44 }; 44 };
45 45
46 } // autofill 46 } // autofill
47 47
48 @interface CardUnmaskPromptViewCocoa : NSViewController<NSWindowDelegate> { 48 @interface CardUnmaskPromptViewCocoa : NSViewController<NSWindowDelegate> {
49 @private 49 @private
50 content::WebContents* webContents_;
51
52 // Owns |self|. 50 // Owns |self|.
53 autofill::CardUnmaskPromptViewBridge* bridge_; 51 autofill::CardUnmaskPromptViewBridge* bridge_;
54 } 52 }
55 53
56 // Designated initializer. |webContents| and |bridge| must not be NULL. 54 // Designated initializer. |bridge| must not be NULL.
57 - (id)initWithWebContents:(content::WebContents*)webContents 55 - (id)initWithBridge:(autofill::CardUnmaskPromptViewBridge*)bridge;
58 bridge:(autofill::CardUnmaskPromptViewBridge*)bridge;
59 56
60 // Closes the sheet and ends the modal loop. 57 // Closes the sheet and ends the modal loop.
61 - (IBAction)closeSheet:(id)sender; 58 - (IBAction)closeSheet:(id)sender;
62 59
63 @end 60 @end
64 61
65 #endif // CHROME_BROWSER_UI_COCOA_CARD_UNMASK_PROMPT_VIEW_BRIDGE_H_ 62 #endif // CHROME_BROWSER_UI_COCOA_CARD_UNMASK_PROMPT_VIEW_BRIDGE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698