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

Side by Side Diff: chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_tester_cocoa.mm

Issue 904613006: Autofill: First step toward CVC unmask prompt dialog on OSX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename new files and classes to include word 'View'. 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.h"
6 #include "chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_tester_cocoa. h"
7
8 namespace autofill {
9
10 scoped_ptr<CardUnmaskPromptViewTester> CardUnmaskPromptViewTester::For(
11 CardUnmaskPromptView* view) {
12 return scoped_ptr<CardUnmaskPromptViewTester>(
13 new CardUnmaskPromptViewTesterCocoa(
14 static_cast<CardUnmaskPromptViewBridge*>(view)));
15 }
16
17 CardUnmaskPromptViewTesterCocoa::CardUnmaskPromptViewTesterCocoa(
18 CardUnmaskPromptViewBridge* bridge)
19 : bridge_(bridge) {
20 }
21
22 CardUnmaskPromptViewTesterCocoa::~CardUnmaskPromptViewTesterCocoa() {
23 }
24
25 void CardUnmaskPromptViewTesterCocoa::CancelForTesting() {
26 bridge_->PerformClose();
27 }
28
29 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698