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

Side by Side Diff: components/autofill/core/browser/autofill_driver.h

Issue 710453002: [Autofill] Componentize AutofillCCInfoBarDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Abstracting the call to WebContents::OpenURL() throuh the AutofillDriver. Created 6 years, 1 month 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "components/autofill/core/common/form_data.h" 10 #include "components/autofill/core/common/form_data.h"
11 #include "ui/base/window_open_disposition.h"
Ilya Sherman 2014/11/21 18:41:53 You'll need to add "+ui" to the DEPS file to accou
Pritam Nikam 2014/11/24 14:45:54 Done. Added dependency under |components/autofill
11 12
12 namespace base { 13 namespace base {
13 class SequencedWorkerPool; 14 class SequencedWorkerPool;
14 } 15 }
15 16
16 namespace net { 17 namespace net {
17 class URLRequestContextGetter; 18 class URLRequestContextGetter;
18 } 19 }
19 20
20 namespace autofill { 21 namespace autofill {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // Tells the renderer to clear the currently previewed Autofill results. 78 // Tells the renderer to clear the currently previewed Autofill results.
78 virtual void RendererShouldClearPreviewedForm() = 0; 79 virtual void RendererShouldClearPreviewedForm() = 0;
79 80
80 // Tells the renderer to set the node text. 81 // Tells the renderer to set the node text.
81 virtual void RendererShouldFillFieldWithValue( 82 virtual void RendererShouldFillFieldWithValue(
82 const base::string16& value) = 0; 83 const base::string16& value) = 0;
83 84
84 // Tells the renderer to preview the node with suggested text. 85 // Tells the renderer to preview the node with suggested text.
85 virtual void RendererShouldPreviewFieldWithValue( 86 virtual void RendererShouldPreviewFieldWithValue(
86 const base::string16& value) = 0; 87 const base::string16& value) = 0;
88
89 // Opens the link clicked with |disposition|.
90 virtual void LinkClicked(WindowOpenDisposition disposition) const = 0;
Ilya Sherman 2014/11/21 18:41:53 This is either too general a method signature, or
Pritam Nikam 2014/11/24 14:45:54 Done. Changed to: virtual void LinkClicked(const
87 }; 91 };
88 92
89 } // namespace autofill 93 } // namespace autofill
90 94
91 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_ 95 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698