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 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
595 bool SendAndRunNestedMessageLoop(IPC::SyncMessage* message); | 595 bool SendAndRunNestedMessageLoop(IPC::SyncMessage* message); |
596 | 596 |
597 // IPC message handlers ------------------------------------------------------ | 597 // IPC message handlers ------------------------------------------------------ |
598 // | 598 // |
599 // The documentation for these functions should be in | 599 // The documentation for these functions should be in |
600 // content/common/*_messages.h for the message that the function is handling. | 600 // content/common/*_messages.h for the message that the function is handling. |
601 void OnExecuteEditCommand(const std::string& name, const std::string& value); | 601 void OnExecuteEditCommand(const std::string& name, const std::string& value); |
602 void OnMoveCaret(const gfx::Point& point); | 602 void OnMoveCaret(const gfx::Point& point); |
603 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect); | 603 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect); |
604 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands); | 604 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands); |
| 605 void OnAdvanceFocusInForm(bool forward); |
605 void OnAllowBindings(int enabled_bindings_flags); | 606 void OnAllowBindings(int enabled_bindings_flags); |
606 void OnAllowScriptToClose(bool script_can_close); | 607 void OnAllowScriptToClose(bool script_can_close); |
607 void OnCancelDownload(int32 download_id); | 608 void OnCancelDownload(int32 download_id); |
608 void OnClearFocusedElement(); | 609 void OnClearFocusedElement(); |
609 void OnClosePage(); | 610 void OnClosePage(); |
610 void OnShowContextMenu(ui::MenuSourceType source_type, | 611 void OnShowContextMenu(ui::MenuSourceType source_type, |
611 const gfx::Point& location); | 612 const gfx::Point& location); |
612 void OnCopyImageAt(int x, int y); | 613 void OnCopyImageAt(int x, int y); |
613 void OnSaveImageAt(int x, int y); | 614 void OnSaveImageAt(int x, int y); |
614 void OnDeterminePageLanguage(); | 615 void OnDeterminePageLanguage(); |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1022 // use the Observer interface to filter IPC messages and receive frame change | 1023 // use the Observer interface to filter IPC messages and receive frame change |
1023 // notifications. | 1024 // notifications. |
1024 // --------------------------------------------------------------------------- | 1025 // --------------------------------------------------------------------------- |
1025 | 1026 |
1026 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1027 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1027 }; | 1028 }; |
1028 | 1029 |
1029 } // namespace content | 1030 } // namespace content |
1030 | 1031 |
1031 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1032 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |