Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Side by Side Diff: content/renderer/render_view_impl.h

Issue 222783004: Move textual replacement to WebContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 838 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 849
850 // Called when the "pinned to left/right edge" state needs to be updated. 850 // Called when the "pinned to left/right edge" state needs to be updated.
851 void UpdateScrollState(blink::WebFrame* frame); 851 void UpdateScrollState(blink::WebFrame* frame);
852 852
853 // IPC message handlers ------------------------------------------------------ 853 // IPC message handlers ------------------------------------------------------
854 // 854 //
855 // The documentation for these functions should be in 855 // The documentation for these functions should be in
856 // content/common/*_messages.h for the message that the function is handling. 856 // content/common/*_messages.h for the message that the function is handling.
857 void OnExecuteEditCommand(const std::string& name, const std::string& value); 857 void OnExecuteEditCommand(const std::string& name, const std::string& value);
858 void OnMoveCaret(const gfx::Point& point); 858 void OnMoveCaret(const gfx::Point& point);
859 void OnReplace(const base::string16& text);
860 void OnReplaceMisspelling(const base::string16& text);
861 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect); 859 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect);
862 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands); 860 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands);
863 void OnAllowBindings(int enabled_bindings_flags); 861 void OnAllowBindings(int enabled_bindings_flags);
864 void OnAllowScriptToClose(bool script_can_close); 862 void OnAllowScriptToClose(bool script_can_close);
865 void OnCancelDownload(int32 download_id); 863 void OnCancelDownload(int32 download_id);
866 void OnClearFocusedElement(); 864 void OnClearFocusedElement();
867 void OnClosePage(); 865 void OnClosePage();
868 void OnShowContextMenu(const gfx::Point& location); 866 void OnShowContextMenu(const gfx::Point& location);
869 void OnCopyImageAt(int x, int y); 867 void OnCopyImageAt(int x, int y);
870 void OnSetName(const std::string& name); 868 void OnSetName(const std::string& name);
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
1416 // use the Observer interface to filter IPC messages and receive frame change 1414 // use the Observer interface to filter IPC messages and receive frame change
1417 // notifications. 1415 // notifications.
1418 // --------------------------------------------------------------------------- 1416 // ---------------------------------------------------------------------------
1419 1417
1420 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1418 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1421 }; 1419 };
1422 1420
1423 } // namespace content 1421 } // namespace content
1424 1422
1425 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1423 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698