| Index: content/browser/renderer_host/legacy_render_widget_host_win.h
|
| diff --git a/content/browser/renderer_host/legacy_render_widget_host_win.h b/content/browser/renderer_host/legacy_render_widget_host_win.h
|
| index 32d387540589b83e9e43894982add95ca361474e..5c58e15b797f9eb47afc39356193844c7fa532ff 100644
|
| --- a/content/browser/renderer_host/legacy_render_widget_host_win.h
|
| +++ b/content/browser/renderer_host/legacy_render_widget_host_win.h
|
| @@ -24,6 +24,7 @@ class DirectManipulationHelper;
|
| } // namespace gfx
|
|
|
| namespace ui {
|
| +class AXFakeCaretWin;
|
| class WindowEventTarget;
|
| }
|
|
|
| @@ -120,6 +121,9 @@ class CONTENT_EXPORT LegacyRenderWidgetHostHWND
|
| host_ = host;
|
| }
|
|
|
| + // Changes the position of the fake caret.
|
| + void MoveCaretTo(const gfx::Rect& bounds);
|
| +
|
| protected:
|
| void OnFinalMessage(HWND hwnd) override;
|
|
|
| @@ -159,6 +163,9 @@ class CONTENT_EXPORT LegacyRenderWidgetHostHWND
|
|
|
| RenderWidgetHostViewAura* host_;
|
|
|
| + // Some assistive software need to track the location of the caret.
|
| + std::unique_ptr<ui::AXFakeCaretWin> ax_fake_caret_;
|
| +
|
| // This class provides functionality to register the legacy window as a
|
| // Direct Manipulation consumer. This allows us to support smooth scroll
|
| // in Chrome on Windows 10.
|
|
|