OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_RENDERER_RENDER_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 unsigned action); | 639 unsigned action); |
640 void OnUndo(); | 640 void OnUndo(); |
641 void OnRedo(); | 641 void OnRedo(); |
642 void OnCut(); | 642 void OnCut(); |
643 void OnCopy(); | 643 void OnCopy(); |
644 void OnPaste(); | 644 void OnPaste(); |
645 void OnPasteAndMatchStyle(); | 645 void OnPasteAndMatchStyle(); |
646 void OnDelete(); | 646 void OnDelete(); |
647 void OnSelectAll(); | 647 void OnSelectAll(); |
648 void OnSelectRange(const gfx::Point& base, const gfx::Point& extent); | 648 void OnSelectRange(const gfx::Point& base, const gfx::Point& extent); |
| 649 void OnAdjustSelectionByCharacterOffset(int start_adjust, int end_adjust); |
649 void OnUnselect(); | 650 void OnUnselect(); |
650 void OnMoveRangeSelectionExtent(const gfx::Point& point); | 651 void OnMoveRangeSelectionExtent(const gfx::Point& point); |
651 void OnReplace(const base::string16& text); | 652 void OnReplace(const base::string16& text); |
652 void OnReplaceMisspelling(const base::string16& text); | 653 void OnReplaceMisspelling(const base::string16& text); |
653 void OnCSSInsertRequest(const std::string& css); | 654 void OnCSSInsertRequest(const std::string& css); |
654 void OnAddMessageToConsole(ConsoleMessageLevel level, | 655 void OnAddMessageToConsole(ConsoleMessageLevel level, |
655 const std::string& message); | 656 const std::string& message); |
656 void OnJavaScriptExecuteRequest(const base::string16& javascript, | 657 void OnJavaScriptExecuteRequest(const base::string16& javascript, |
657 int id, | 658 int id, |
658 bool notify_result); | 659 bool notify_result); |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1010 #endif | 1011 #endif |
1011 | 1012 |
1012 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1013 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1013 | 1014 |
1014 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1015 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1015 }; | 1016 }; |
1016 | 1017 |
1017 } // namespace content | 1018 } // namespace content |
1018 | 1019 |
1019 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1020 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |