| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 CONTENT_BROWSER_FRAME_HOST_INPUT_LEGACY_IPC_FRAME_INPUT_HANDLER_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_INPUT_LEGACY_IPC_FRAME_INPUT_HANDLER_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_INPUT_LEGACY_IPC_FRAME_INPUT_HANDLER_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_INPUT_LEGACY_IPC_FRAME_INPUT_HANDLER_H_ |
| 7 | 7 |
| 8 #include "content/browser/frame_host/render_frame_host_impl.h" | 8 #include "content/browser/frame_host/render_frame_host_impl.h" |
| 9 #include "content/common/input/input_handler.mojom.h" | 9 #include "content/common/input/input_handler.mojom.h" |
| 10 | 10 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 void PasteAndMatchStyle() override; | 40 void PasteAndMatchStyle() override; |
| 41 void Replace(const base::string16& word) override; | 41 void Replace(const base::string16& word) override; |
| 42 void ReplaceMisspelling(const base::string16& word) override; | 42 void ReplaceMisspelling(const base::string16& word) override; |
| 43 void Delete() override; | 43 void Delete() override; |
| 44 void SelectAll() override; | 44 void SelectAll() override; |
| 45 void CollapseSelection() override; | 45 void CollapseSelection() override; |
| 46 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override; | 46 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override; |
| 47 void AdjustSelectionByCharacterOffset(int32_t start, int32_t end) override; | 47 void AdjustSelectionByCharacterOffset(int32_t start, int32_t end) override; |
| 48 void MoveRangeSelectionExtent(const gfx::Point& extent) override; | 48 void MoveRangeSelectionExtent(const gfx::Point& extent) override; |
| 49 | 49 |
| 50 void HitTestFrameAt(const gfx::PointF& point, |
| 51 HitTestFrameAtCallback callback) override; |
| 52 |
| 50 private: | 53 private: |
| 51 void SendInput(std::unique_ptr<IPC::Message> message); | 54 void SendInput(std::unique_ptr<IPC::Message> message); |
| 52 | 55 |
| 53 RenderFrameHostImpl* frame_host_; | 56 RenderFrameHostImpl* frame_host_; |
| 54 int routing_id_; | 57 int routing_id_; |
| 55 | 58 |
| 56 DISALLOW_COPY_AND_ASSIGN(LegacyIPCFrameInputHandler); | 59 DISALLOW_COPY_AND_ASSIGN(LegacyIPCFrameInputHandler); |
| 57 }; | 60 }; |
| 58 | 61 |
| 59 } // namespace content | 62 } // namespace content |
| 60 | 63 |
| 61 #endif // CONTENT_BROWSER_FRAME_HOST_INPUT_LEGACY_IPC_FRAME_INPUT_HANDLER_H_ | 64 #endif // CONTENT_BROWSER_FRAME_HOST_INPUT_LEGACY_IPC_FRAME_INPUT_HANDLER_H_ |
| OLD | NEW |