Chromium Code Reviews| Index: chrome/browser/ui/autofill/create_card_unmask_prompt_view.h |
| diff --git a/chrome/browser/ui/autofill/create_card_unmask_prompt_view.h b/chrome/browser/ui/autofill/create_card_unmask_prompt_view.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..37a41eaabe769726662dca0d00f105ed29613b6e |
| --- /dev/null |
| +++ b/chrome/browser/ui/autofill/create_card_unmask_prompt_view.h |
| @@ -0,0 +1,25 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_UI_AUTOFILL_CREATE_CARD_UNMASK_PROMPT_VIEW_H_ |
| +#define CHROME_BROWSER_UI_AUTOFILL_CREATE_CARD_UNMASK_PROMPT_VIEW_H_ |
| + |
| +namespace content { |
| +class WebContents; |
| +} |
| + |
| +namespace autofill { |
| + |
| +class CardUnmaskPromptController; |
| + |
| +// A cross-platform function for creating the card unmask view. This function is |
|
Evan Stade
2015/05/14 21:44:39
nit: I'd make this comment something like "Factory
Justin Donnelly
2015/05/14 22:00:22
Done.
|
| +// defined here rather than on CardUnmaskPromptView itself because that |
| +// interface lives in components where WebContents is not allowed (because it's |
| +// not available on iOS). |
| +CardUnmaskPromptView* CreateCardUnmaskPromptView( |
| + CardUnmaskPromptController* controller, content::WebContents* web_contents); |
| + |
| +} // namespace autofill |
| + |
| +#endif // CHROME_BROWSER_UI_AUTOFILL_CREATE_CARD_UNMASK_PROMPT_VIEW_H_ |