Chromium Code Reviews| Index: content/browser/renderer_host/render_widget_host_impl.h |
| diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h |
| index 1013175301a5e7f43c09e9a1479318ea72fde531..b26ce58d9c49b60b5aaa01d6eaef1680f344e9b4 100644 |
| --- a/content/browser/renderer_host/render_widget_host_impl.h |
| +++ b/content/browser/renderer_host/render_widget_host_impl.h |
| @@ -181,6 +181,15 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost, |
| RenderWidgetHost::InputEventObserver* observer) override; |
| void GetScreenInfo(content::ScreenInfo* result) override; |
| void HandleCompositorProto(const std::vector<uint8_t>& proto) override; |
| + void SendOrBatch(IPC::Message* message) override; |
| + |
| + // Begin batch edit mode. |
| + void BeginBatchEdit(); |
| + // End batch edit mode. |
| + void EndBatchEdit(); |
| + // Deletes the current selection plus the specified number of characters |
| + // before and after the selection or caret. |
| + void ExtendSelectionAndDelete(size_t before, size_t after); |
| // Notification that the screen info has changed. |
| void NotifyScreenInfoChanged(); |
| @@ -840,6 +849,11 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost, |
| std::unique_ptr<device::PowerSaveBlocker> power_save_blocker_; |
| #endif |
| + // Messages that will be sent at once in a batch edit. |
| + std::vector<IPC::Message> batch_edit_messages_; |
| + // Whether or not we are in the batch edit mode. |
| + bool in_batch_edit_mode_; |
|
aelias_OOO_until_Jul13
2016/09/09 04:50:20
nit: in_ime_batch_edit_
Changwan Ryu
2016/09/09 06:28:47
Done.
|
| + |
| base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |