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

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

Issue 2000863002: MacViews: support Views credit card unmask prompt (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build break with autofill namespace Created 4 years, 6 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 2016 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/browser_dialogs.h"
6 #include "chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.h"
7 #include "chrome/browser/ui/views/autofill/card_unmask_prompt_views.h"
8
9 namespace autofill {
10
11 CardUnmaskPromptView* CreateCardUnmaskPromptView(
12 CardUnmaskPromptController* controller,
13 content::WebContents* web_contents) {
14 if (chrome::ToolkitViewsWebUIDialogsEnabled())
15 return new CardUnmaskPromptViews(controller, web_contents);
16 return new CardUnmaskPromptViewBridge(controller, web_contents);
17 }
18
19 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698