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

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

Issue 10836053: Add IPCs/methods for additional IME actions. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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
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 878 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 #if defined(OS_MACOSX) 889 #if defined(OS_MACOSX)
890 void OnCopyToFindPboard(); 890 void OnCopyToFindPboard();
891 #endif 891 #endif
892 void OnCut(); 892 void OnCut();
893 void OnCSSInsertRequest(const string16& frame_xpath, 893 void OnCSSInsertRequest(const string16& frame_xpath,
894 const std::string& css); 894 const std::string& css);
895 void OnCustomContextMenuAction( 895 void OnCustomContextMenuAction(
896 const content::CustomContextMenuContext& custom_context, 896 const content::CustomContextMenuContext& custom_context,
897 unsigned action); 897 unsigned action);
898 void OnDelete(); 898 void OnDelete();
899 void OnDeleteSurroundingText(int before, int after);
899 void OnDeterminePageLanguage(); 900 void OnDeterminePageLanguage();
900 void OnDisableScrollbarsForSmallWindows( 901 void OnDisableScrollbarsForSmallWindows(
901 const gfx::Size& disable_scrollbars_size_limit); 902 const gfx::Size& disable_scrollbars_size_limit);
902 void OnDisassociateFromPopupCount(); 903 void OnDisassociateFromPopupCount();
903 void OnDragSourceEndedOrMoved(const gfx::Point& client_point, 904 void OnDragSourceEndedOrMoved(const gfx::Point& client_point,
904 const gfx::Point& screen_point, 905 const gfx::Point& screen_point,
905 bool ended, 906 bool ended,
906 WebKit::WebDragOperation drag_operation); 907 WebKit::WebDragOperation drag_operation);
907 void OnDragSourceSystemDragEnded(); 908 void OnDragSourceSystemDragEnded();
908 void OnDragTargetDrop(const gfx::Point& client_pt, 909 void OnDragTargetDrop(const gfx::Point& client_pt,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
944 CONTENT_EXPORT void OnNavigate(const ViewMsg_Navigate_Params& params); 945 CONTENT_EXPORT void OnNavigate(const ViewMsg_Navigate_Params& params);
945 void OnPaste(); 946 void OnPaste();
946 void OnPasteAndMatchStyle(); 947 void OnPasteAndMatchStyle();
947 #if defined(OS_MACOSX) 948 #if defined(OS_MACOSX)
948 void OnPluginImeCompositionCompleted(const string16& text, int plugin_id); 949 void OnPluginImeCompositionCompleted(const string16& text, int plugin_id);
949 #endif 950 #endif
950 void OnPostMessageEvent(const ViewMsg_PostMessage_Params& params); 951 void OnPostMessageEvent(const ViewMsg_PostMessage_Params& params);
951 void OnRedo(); 952 void OnRedo();
952 void OnReloadFrame(); 953 void OnReloadFrame();
953 void OnReplace(const string16& text); 954 void OnReplace(const string16& text);
955 void OnReplaceAll(const string16& text);
954 void OnResetPageEncodingToDefault(); 956 void OnResetPageEncodingToDefault();
955 void OnScriptEvalRequest(const string16& frame_xpath, 957 void OnScriptEvalRequest(const string16& frame_xpath,
956 const string16& jscript, 958 const string16& jscript,
957 int id, 959 int id,
958 bool notify_result); 960 bool notify_result);
959 void OnSelectAll(); 961 void OnSelectAll();
960 void OnSelectRange(const gfx::Point& start, const gfx::Point& end); 962 void OnSelectRange(const gfx::Point& start, const gfx::Point& end);
961 CONTENT_EXPORT void OnSetAccessibilityMode(AccessibilityMode new_mode); 963 CONTENT_EXPORT void OnSetAccessibilityMode(AccessibilityMode new_mode);
962 void OnSetActive(bool active); 964 void OnSetActive(bool active);
963 void OnSetAltErrorPageURL(const GURL& gurl); 965 void OnSetAltErrorPageURL(const GURL& gurl);
964 void OnSetBackground(const SkBitmap& background); 966 void OnSetBackground(const SkBitmap& background);
967 void OnSetComposingRegion(int start, int end,
968 const std::vector<WebKit::WebCompositionUnderline>& underlines);
bulach 2012/08/01 20:09:45 nit: I think it's either left aligned (as 957) or
olilan 2012/08/21 14:36:15 Done.
969 void OnSetEditableSelectionOffsets(int start, int end);
965 void OnSetNavigationStartTime( 970 void OnSetNavigationStartTime(
966 const base::TimeTicks& browser_navigation_start); 971 const base::TimeTicks& browser_navigation_start);
967 void OnSetWebUIProperty(const std::string& name, const std::string& value); 972 void OnSetWebUIProperty(const std::string& name, const std::string& value);
968 CONTENT_EXPORT void OnSetEditCommandsForNextKeyEvent( 973 CONTENT_EXPORT void OnSetEditCommandsForNextKeyEvent(
969 const EditCommands& edit_commands); 974 const EditCommands& edit_commands);
970 CONTENT_EXPORT void OnSetHistoryLengthAndPrune(int history_length, 975 CONTENT_EXPORT void OnSetHistoryLengthAndPrune(int history_length,
971 int32 minimum_page_id); 976 int32 minimum_page_id);
972 void OnSetInitialFocus(bool reverse); 977 void OnSetInitialFocus(bool reverse);
973 #if defined(OS_MACOSX) 978 #if defined(OS_MACOSX)
974 void OnSetInLiveResize(bool in_live_resize); 979 void OnSetInLiveResize(bool in_live_resize);
975 #endif 980 #endif
976 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect); 981 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect);
977 void OnSetPageEncoding(const std::string& encoding_name); 982 void OnSetPageEncoding(const std::string& encoding_name);
978 void OnSetRendererPrefs(const content::RendererPreferences& renderer_prefs); 983 void OnSetRendererPrefs(const content::RendererPreferences& renderer_prefs);
979 #if defined(OS_MACOSX) 984 #if defined(OS_MACOSX)
980 void OnSetWindowVisibility(bool visible); 985 void OnSetWindowVisibility(bool visible);
981 #endif 986 #endif
982 void OnSetZoomLevel(double zoom_level); 987 void OnSetZoomLevel(double zoom_level);
983 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); 988 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level);
984 void OnExitFullscreen(); 989 void OnExitFullscreen();
985 void OnShouldClose(); 990 void OnShouldClose();
986 void OnStop(); 991 void OnStop();
987 void OnStopFinding(content::StopFindAction action); 992 void OnStopFinding(content::StopFindAction action);
988 CONTENT_EXPORT void OnSwapOut(const ViewMsg_SwapOut_Params& params); 993 CONTENT_EXPORT void OnSwapOut(const ViewMsg_SwapOut_Params& params);
989 void OnThemeChanged(); 994 void OnThemeChanged();
990 void OnUndo(); 995 void OnUndo();
991 void OnUpdateTargetURLAck(); 996 void OnUpdateTargetURLAck();
992 CONTENT_EXPORT void OnUpdateWebPreferences( 997 CONTENT_EXPORT void OnUpdateWebPreferences(
993 const webkit_glue::WebPreferences& prefs); 998 const webkit_glue::WebPreferences& prefs);
999 void OnUnselect();
994 1000
995 #if defined(OS_MACOSX) 1001 #if defined(OS_MACOSX)
996 void OnWindowFrameChanged(const gfx::Rect& window_frame, 1002 void OnWindowFrameChanged(const gfx::Rect& window_frame,
997 const gfx::Rect& view_frame); 1003 const gfx::Rect& view_frame);
998 CONTENT_EXPORT void OnSelectPopupMenuItem(int selected_index); 1004 CONTENT_EXPORT void OnSelectPopupMenuItem(int selected_index);
999 #endif 1005 #endif
1000 1006
1001 #if defined(OS_ANDROID) 1007 #if defined(OS_ANDROID)
1002 void OnSelectPopupMenuItems(bool canceled, 1008 void OnSelectPopupMenuItems(bool canceled,
1003 const std::vector<int>& selected_indices); 1009 const std::vector<int>& selected_indices);
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
1433 // bunch of stuff, you should probably create a helper class and put your 1439 // bunch of stuff, you should probably create a helper class and put your
1434 // data and methods on that to avoid bloating RenderView more. You can 1440 // data and methods on that to avoid bloating RenderView more. You can
1435 // use the Observer interface to filter IPC messages and receive frame change 1441 // use the Observer interface to filter IPC messages and receive frame change
1436 // notifications. 1442 // notifications.
1437 // --------------------------------------------------------------------------- 1443 // ---------------------------------------------------------------------------
1438 1444
1439 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1445 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1440 }; 1446 };
1441 1447
1442 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1448 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698