Chromium Code Reviews| Index: blimp/engine/session/tab.h |
| diff --git a/blimp/engine/session/tab.h b/blimp/engine/session/tab.h |
| index e6cb86c822caec02bcf63c846d39148f2fc78a5a..f49e0ff6b70d6cd01543eb22ffbf757ed8979078 100644 |
| --- a/blimp/engine/session/tab.h |
| +++ b/blimp/engine/session/tab.h |
| @@ -14,6 +14,7 @@ |
| namespace content { |
| class RenderViewHost; |
| class WebContents; |
| +struct FormFieldData; |
| } |
| namespace blimp { |
| @@ -69,6 +70,10 @@ class Tab : public content::WebContentsObserver, |
| content::RenderWidgetHost* render_widget_host, |
| const std::vector<uint8_t>& message) override; |
| + // Text input related methods. |
| + void ShowIme(); |
|
David Trainor- moved to gerrit
2016/11/03 04:25:49
ShowFormInputUI/HideFormInputUI?
|
| + void HideIme(); |
| + |
| private: |
| // content::WebContentsObserver implementation. |
| void RenderViewCreated(content::RenderViewHost* render_view_host) override; |
| @@ -76,6 +81,9 @@ class Tab : public content::WebContentsObserver, |
| content::RenderViewHost* new_host) override; |
| void RenderViewDeleted(content::RenderViewHost* render_view_host) override; |
| + // Sends text input field related information to the client. |
| + void GetFocusedFormFieldData(const content::FormFieldData& field_data); |
| + |
| std::unique_ptr<content::WebContents> web_contents_; |
| const int tab_id_; |
| EngineRenderWidgetFeature* render_widget_feature_; |
| @@ -84,6 +92,8 @@ class Tab : public content::WebContentsObserver, |
| // Tracks the page load status for a tab. |
| PageLoadTracker page_load_tracker_; |
| + base::WeakPtrFactory<Tab> weak_factory_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(Tab); |
| }; |