Index: chrome/browser/ui/views/autofill/card_unmask_prompt_views.h |
diff --git a/chrome/browser/ui/views/autofill/card_unmask_prompt_views.h b/chrome/browser/ui/views/autofill/card_unmask_prompt_views.h |
index d7f6af7dd2d0696544b9f545df2b6d988a464763..4cc27d03d45b399e2ec9a19d25ce8c55cfd7e353 100644 |
--- a/chrome/browser/ui/views/autofill/card_unmask_prompt_views.h |
+++ b/chrome/browser/ui/views/autofill/card_unmask_prompt_views.h |
@@ -6,7 +6,7 @@ |
#define CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEWS_H_ |
#include "chrome/browser/ui/autofill/autofill_dialog_models.h" |
-#include "chrome/browser/ui/autofill/card_unmask_prompt_view.h" |
+#include "components/autofill/core/browser/ui/card_unmask_prompt_view.h" |
#include "ui/gfx/animation/animation_delegate.h" |
#include "ui/gfx/animation/slide_animation.h" |
#include "ui/views/controls/combobox/combobox_listener.h" |
@@ -14,6 +14,10 @@ |
#include "ui/views/controls/textfield/textfield_controller.h" |
#include "ui/views/window/dialog_delegate.h" |
+namespace content { |
+class WebContents; |
+} |
+ |
namespace views { |
class Checkbox; |
class ImageView; |
@@ -33,13 +37,12 @@ class CardUnmaskPromptViews : public CardUnmaskPromptView, |
views::LinkListener, |
gfx::AnimationDelegate { |
public: |
- explicit CardUnmaskPromptViews(CardUnmaskPromptController* controller); |
- |
+ CardUnmaskPromptViews(CardUnmaskPromptController* controller, |
+ content::WebContents* web_contents); |
~CardUnmaskPromptViews() override; |
- void Show(); |
- |
// CardUnmaskPromptView |
+ void Show() override; |
void ControllerGone() override; |
void DisableAndWaitForVerification() override; |
void GotVerificationResult(const base::string16& error_message, |
@@ -117,6 +120,7 @@ class CardUnmaskPromptViews : public CardUnmaskPromptView, |
void ClosePrompt(); |
CardUnmaskPromptController* controller_; |
+ content::WebContents* web_contents_; |
views::View* main_contents_; |