| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_VIEW_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 834 bool SendAndRunNestedMessageLoop(IPC::SyncMessage* message); | 834 bool SendAndRunNestedMessageLoop(IPC::SyncMessage* message); |
| 835 | 835 |
| 836 // Called when the "pinned to left/right edge" state needs to be updated. | 836 // Called when the "pinned to left/right edge" state needs to be updated. |
| 837 void UpdateScrollState(blink::WebFrame* frame); | 837 void UpdateScrollState(blink::WebFrame* frame); |
| 838 | 838 |
| 839 // IPC message handlers ------------------------------------------------------ | 839 // IPC message handlers ------------------------------------------------------ |
| 840 // | 840 // |
| 841 // The documentation for these functions should be in | 841 // The documentation for these functions should be in |
| 842 // content/common/*_messages.h for the message that the function is handling. | 842 // content/common/*_messages.h for the message that the function is handling. |
| 843 | 843 |
| 844 void OnCopy(); | |
| 845 void OnCut(); | |
| 846 void OnDelete(); | 844 void OnDelete(); |
| 847 void OnExecuteEditCommand(const std::string& name, const std::string& value); | 845 void OnExecuteEditCommand(const std::string& name, const std::string& value); |
| 848 void OnMoveCaret(const gfx::Point& point); | 846 void OnMoveCaret(const gfx::Point& point); |
| 849 void OnPaste(); | |
| 850 void OnPasteAndMatchStyle(); | 847 void OnPasteAndMatchStyle(); |
| 851 void OnRedo(); | 848 void OnRedo(); |
| 852 void OnReplace(const base::string16& text); | 849 void OnReplace(const base::string16& text); |
| 853 void OnReplaceMisspelling(const base::string16& text); | 850 void OnReplaceMisspelling(const base::string16& text); |
| 854 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect); | 851 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect); |
| 855 void OnSelectAll(); | 852 void OnSelectAll(); |
| 856 void OnSelectRange(const gfx::Point& start, const gfx::Point& end); | 853 void OnSelectRange(const gfx::Point& start, const gfx::Point& end); |
| 857 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands); | 854 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands); |
| 858 void OnUndo(); | 855 void OnUndo(); |
| 859 void OnUnselect(); | 856 void OnUnselect(); |
| (...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1441 // use the Observer interface to filter IPC messages and receive frame change | 1438 // use the Observer interface to filter IPC messages and receive frame change |
| 1442 // notifications. | 1439 // notifications. |
| 1443 // --------------------------------------------------------------------------- | 1440 // --------------------------------------------------------------------------- |
| 1444 | 1441 |
| 1445 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1442 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1446 }; | 1443 }; |
| 1447 | 1444 |
| 1448 } // namespace content | 1445 } // namespace content |
| 1449 | 1446 |
| 1450 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1447 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |