| Index: content/public/browser/render_widget_host_view.h
|
| diff --git a/content/public/browser/render_widget_host_view.h b/content/public/browser/render_widget_host_view.h
|
| index ff3127b69e5307fec8eed08e388902514aeeb873..bfb12385dd2f367973dfbd7215a1ffad37c1349f 100644
|
| --- a/content/public/browser/render_widget_host_view.h
|
| +++ b/content/public/browser/render_widget_host_view.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <memory>
|
|
|
| +#include "base/callback.h"
|
| #include "base/strings/string16.h"
|
| #include "build/build_config.h"
|
| #include "content/common/content_export.h"
|
| @@ -31,6 +32,9 @@ namespace content {
|
|
|
| class RenderWidgetHost;
|
| class RenderWidgetHostViewFrameSubscriber;
|
| +struct FormFieldData;
|
| +
|
| +using ExtractFormFieldDataCallback = base::Callback<void(const FormFieldData&)>;
|
|
|
| // RenderWidgetHostView is an interface implemented by an object that acts as
|
| // the "View" portion of a RenderWidgetHost. The RenderWidgetHost and its
|
| @@ -91,6 +95,9 @@ class CONTENT_EXPORT RenderWidgetHostView {
|
| // text input system.
|
| virtual ui::TextInputClient* GetTextInputClient() = 0;
|
|
|
| + // Retrieves the text input info associated with the current form.
|
| + virtual void GetFocusedFormFieldData(ExtractFormFieldDataCallback& reply) = 0;
|
| +
|
| // Set focus to the associated View component.
|
| virtual void Focus() = 0;
|
| // Returns true if the View currently has the focus.
|
|
|