| 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 #include "content/renderer/render_view_impl.h" | 5 #include "content/renderer/render_view_impl.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <cmath> | 8 #include <cmath> |
| 9 | 9 |
| 10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 #include "content/common/fileapi/file_system_dispatcher.h" | 35 #include "content/common/fileapi/file_system_dispatcher.h" |
| 36 #include "content/common/fileapi/webfilesystem_callback_dispatcher.h" | 36 #include "content/common/fileapi/webfilesystem_callback_dispatcher.h" |
| 37 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" | 37 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" |
| 38 #include "content/common/java_bridge_messages.h" | 38 #include "content/common/java_bridge_messages.h" |
| 39 #include "content/common/pepper_messages.h" | 39 #include "content/common/pepper_messages.h" |
| 40 #include "content/common/pepper_plugin_registry.h" | 40 #include "content/common/pepper_plugin_registry.h" |
| 41 #include "content/common/quota_dispatcher.h" | 41 #include "content/common/quota_dispatcher.h" |
| 42 #include "content/common/request_extra_data.h" | 42 #include "content/common/request_extra_data.h" |
| 43 #include "content/common/socket_stream_handle_data.h" | 43 #include "content/common/socket_stream_handle_data.h" |
| 44 #include "content/common/ssl_status_serialization.h" | 44 #include "content/common/ssl_status_serialization.h" |
| 45 #include "content/common/view_input_messages.h" |
| 45 #include "content/common/view_messages.h" | 46 #include "content/common/view_messages.h" |
| 46 #include "content/common/webmessageportchannel_impl.h" | 47 #include "content/common/webmessageportchannel_impl.h" |
| 47 #include "content/public/common/bindings_policy.h" | 48 #include "content/public/common/bindings_policy.h" |
| 48 #include "content/public/common/content_client.h" | 49 #include "content/public/common/content_client.h" |
| 49 #include "content/public/common/content_constants.h" | 50 #include "content/public/common/content_constants.h" |
| 50 #include "content/public/common/content_switches.h" | 51 #include "content/public/common/content_switches.h" |
| 51 #include "content/public/common/context_menu_params.h" | 52 #include "content/public/common/context_menu_params.h" |
| 52 #include "content/public/common/favicon_url.h" | 53 #include "content/public/common/favicon_url.h" |
| 53 #include "content/public/common/file_chooser_params.h" | 54 #include "content/public/common/file_chooser_params.h" |
| 54 #include "content/public/common/ssl_status.h" | 55 #include "content/public/common/ssl_status.h" |
| (...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 996 while ((observer = it.GetNext()) != NULL) | 997 while ((observer = it.GetNext()) != NULL) |
| 997 if (observer->OnMessageReceived(message)) | 998 if (observer->OnMessageReceived(message)) |
| 998 return true; | 999 return true; |
| 999 | 1000 |
| 1000 bool handled = true; | 1001 bool handled = true; |
| 1001 bool msg_is_ok = true; | 1002 bool msg_is_ok = true; |
| 1002 IPC_BEGIN_MESSAGE_MAP_EX(RenderViewImpl, message, msg_is_ok) | 1003 IPC_BEGIN_MESSAGE_MAP_EX(RenderViewImpl, message, msg_is_ok) |
| 1003 IPC_MESSAGE_HANDLER(ViewMsg_Navigate, OnNavigate) | 1004 IPC_MESSAGE_HANDLER(ViewMsg_Navigate, OnNavigate) |
| 1004 IPC_MESSAGE_HANDLER(ViewMsg_Stop, OnStop) | 1005 IPC_MESSAGE_HANDLER(ViewMsg_Stop, OnStop) |
| 1005 IPC_MESSAGE_HANDLER(ViewMsg_ReloadFrame, OnReloadFrame) | 1006 IPC_MESSAGE_HANDLER(ViewMsg_ReloadFrame, OnReloadFrame) |
| 1006 IPC_MESSAGE_HANDLER(ViewMsg_Undo, OnUndo) | 1007 IPC_MESSAGE_HANDLER(ViewInputMsg_Undo, OnUndo) |
| 1007 IPC_MESSAGE_HANDLER(ViewMsg_Redo, OnRedo) | 1008 IPC_MESSAGE_HANDLER(ViewInputMsg_Redo, OnRedo) |
| 1008 IPC_MESSAGE_HANDLER(ViewMsg_Cut, OnCut) | 1009 IPC_MESSAGE_HANDLER(ViewInputMsg_Cut, OnCut) |
| 1009 IPC_MESSAGE_HANDLER(ViewMsg_Copy, OnCopy) | 1010 IPC_MESSAGE_HANDLER(ViewInputMsg_Copy, OnCopy) |
| 1010 IPC_MESSAGE_HANDLER(ViewMsg_Paste, OnPaste) | 1011 IPC_MESSAGE_HANDLER(ViewInputMsg_Paste, OnPaste) |
| 1011 IPC_MESSAGE_HANDLER(ViewMsg_PasteAndMatchStyle, OnPasteAndMatchStyle) | 1012 IPC_MESSAGE_HANDLER(ViewInputMsg_PasteAndMatchStyle, OnPasteAndMatchStyle) |
| 1012 IPC_MESSAGE_HANDLER(ViewMsg_Replace, OnReplace) | 1013 IPC_MESSAGE_HANDLER(ViewInputMsg_Replace, OnReplace) |
| 1013 IPC_MESSAGE_HANDLER(ViewMsg_ReplaceMisspelling, OnReplaceMisspelling) | 1014 IPC_MESSAGE_HANDLER(ViewInputMsg_ReplaceMisspelling, OnReplaceMisspelling) |
| 1014 IPC_MESSAGE_HANDLER(ViewMsg_Delete, OnDelete) | 1015 IPC_MESSAGE_HANDLER(ViewInputMsg_Delete, OnDelete) |
| 1015 IPC_MESSAGE_HANDLER(ViewMsg_SetName, OnSetName) | 1016 IPC_MESSAGE_HANDLER(ViewMsg_SetName, OnSetName) |
| 1016 IPC_MESSAGE_HANDLER(ViewMsg_SelectAll, OnSelectAll) | 1017 IPC_MESSAGE_HANDLER(ViewInputMsg_SelectAll, OnSelectAll) |
| 1017 IPC_MESSAGE_HANDLER(ViewMsg_Unselect, OnUnselect) | 1018 IPC_MESSAGE_HANDLER(ViewInputMsg_Unselect, OnUnselect) |
| 1018 IPC_MESSAGE_HANDLER(ViewMsg_SetEditableSelectionOffsets, | 1019 IPC_MESSAGE_HANDLER(ViewMsg_SetEditableSelectionOffsets, |
| 1019 OnSetEditableSelectionOffsets) | 1020 OnSetEditableSelectionOffsets) |
| 1020 IPC_MESSAGE_HANDLER(ViewMsg_SetCompositionFromExistingText, | 1021 IPC_MESSAGE_HANDLER(ViewMsg_SetCompositionFromExistingText, |
| 1021 OnSetCompositionFromExistingText) | 1022 OnSetCompositionFromExistingText) |
| 1022 IPC_MESSAGE_HANDLER(ViewMsg_ExtendSelectionAndDelete, | 1023 IPC_MESSAGE_HANDLER(ViewMsg_ExtendSelectionAndDelete, |
| 1023 OnExtendSelectionAndDelete) | 1024 OnExtendSelectionAndDelete) |
| 1024 IPC_MESSAGE_HANDLER(ViewMsg_SelectRange, OnSelectRange) | 1025 IPC_MESSAGE_HANDLER(ViewInputMsg_SelectRange, OnSelectRange) |
| 1025 IPC_MESSAGE_HANDLER(ViewMsg_MoveCaret, OnMoveCaret) | 1026 IPC_MESSAGE_HANDLER(ViewInputMsg_MoveCaret, OnMoveCaret) |
| 1026 IPC_MESSAGE_HANDLER(ViewMsg_CopyImageAt, OnCopyImageAt) | 1027 IPC_MESSAGE_HANDLER(ViewMsg_CopyImageAt, OnCopyImageAt) |
| 1027 IPC_MESSAGE_HANDLER(ViewMsg_ExecuteEditCommand, OnExecuteEditCommand) | 1028 IPC_MESSAGE_HANDLER(ViewInputMsg_ExecuteEditCommand, OnExecuteEditCommand) |
| 1028 IPC_MESSAGE_HANDLER(ViewMsg_Find, OnFind) | 1029 IPC_MESSAGE_HANDLER(ViewMsg_Find, OnFind) |
| 1029 IPC_MESSAGE_HANDLER(ViewMsg_StopFinding, OnStopFinding) | 1030 IPC_MESSAGE_HANDLER(ViewMsg_StopFinding, OnStopFinding) |
| 1030 IPC_MESSAGE_HANDLER(ViewMsg_Zoom, OnZoom) | 1031 IPC_MESSAGE_HANDLER(ViewMsg_Zoom, OnZoom) |
| 1031 IPC_MESSAGE_HANDLER(ViewMsg_SetZoomLevel, OnSetZoomLevel) | 1032 IPC_MESSAGE_HANDLER(ViewMsg_SetZoomLevel, OnSetZoomLevel) |
| 1032 IPC_MESSAGE_HANDLER(ViewMsg_ZoomFactor, OnZoomFactor) | 1033 IPC_MESSAGE_HANDLER(ViewMsg_ZoomFactor, OnZoomFactor) |
| 1033 IPC_MESSAGE_HANDLER(ViewMsg_SetZoomLevelForLoadingURL, | 1034 IPC_MESSAGE_HANDLER(ViewMsg_SetZoomLevelForLoadingURL, |
| 1034 OnSetZoomLevelForLoadingURL) | 1035 OnSetZoomLevelForLoadingURL) |
| 1035 IPC_MESSAGE_HANDLER(ViewMsg_SetPageEncoding, OnSetPageEncoding) | 1036 IPC_MESSAGE_HANDLER(ViewMsg_SetPageEncoding, OnSetPageEncoding) |
| 1036 IPC_MESSAGE_HANDLER(ViewMsg_ResetPageEncodingToDefault, | 1037 IPC_MESSAGE_HANDLER(ViewMsg_ResetPageEncodingToDefault, |
| 1037 OnResetPageEncodingToDefault) | 1038 OnResetPageEncodingToDefault) |
| 1038 IPC_MESSAGE_HANDLER(ViewMsg_ScriptEvalRequest, OnScriptEvalRequest) | 1039 IPC_MESSAGE_HANDLER(ViewMsg_ScriptEvalRequest, OnScriptEvalRequest) |
| 1039 IPC_MESSAGE_HANDLER(ViewMsg_PostMessageEvent, OnPostMessageEvent) | 1040 IPC_MESSAGE_HANDLER(ViewMsg_PostMessageEvent, OnPostMessageEvent) |
| 1040 IPC_MESSAGE_HANDLER(ViewMsg_CSSInsertRequest, OnCSSInsertRequest) | 1041 IPC_MESSAGE_HANDLER(ViewMsg_CSSInsertRequest, OnCSSInsertRequest) |
| 1041 IPC_MESSAGE_HANDLER(DragMsg_TargetDragEnter, OnDragTargetDragEnter) | 1042 IPC_MESSAGE_HANDLER(DragMsg_TargetDragEnter, OnDragTargetDragEnter) |
| 1042 IPC_MESSAGE_HANDLER(DragMsg_TargetDragOver, OnDragTargetDragOver) | 1043 IPC_MESSAGE_HANDLER(DragMsg_TargetDragOver, OnDragTargetDragOver) |
| 1043 IPC_MESSAGE_HANDLER(DragMsg_TargetDragLeave, OnDragTargetDragLeave) | 1044 IPC_MESSAGE_HANDLER(DragMsg_TargetDragLeave, OnDragTargetDragLeave) |
| 1044 IPC_MESSAGE_HANDLER(DragMsg_TargetDrop, OnDragTargetDrop) | 1045 IPC_MESSAGE_HANDLER(DragMsg_TargetDrop, OnDragTargetDrop) |
| 1045 IPC_MESSAGE_HANDLER(DragMsg_SourceEndedOrMoved, OnDragSourceEndedOrMoved) | 1046 IPC_MESSAGE_HANDLER(DragMsg_SourceEndedOrMoved, OnDragSourceEndedOrMoved) |
| 1046 IPC_MESSAGE_HANDLER(DragMsg_SourceSystemDragEnded, | 1047 IPC_MESSAGE_HANDLER(DragMsg_SourceSystemDragEnded, |
| 1047 OnDragSourceSystemDragEnded) | 1048 OnDragSourceSystemDragEnded) |
| 1048 IPC_MESSAGE_HANDLER(ViewMsg_AllowBindings, OnAllowBindings) | 1049 IPC_MESSAGE_HANDLER(ViewMsg_AllowBindings, OnAllowBindings) |
| 1049 IPC_MESSAGE_HANDLER(ViewMsg_SetInitialFocus, OnSetInitialFocus) | 1050 IPC_MESSAGE_HANDLER(ViewMsg_SetInitialFocus, OnSetInitialFocus) |
| 1050 IPC_MESSAGE_HANDLER(ViewMsg_ScrollFocusedEditableNodeIntoRect, | 1051 IPC_MESSAGE_HANDLER(ViewInputMsg_ScrollFocusedEditableNodeIntoRect, |
| 1051 OnScrollFocusedEditableNodeIntoRect) | 1052 OnScrollFocusedEditableNodeIntoRect) |
| 1052 IPC_MESSAGE_HANDLER(ViewMsg_UpdateTargetURL_ACK, OnUpdateTargetURLAck) | 1053 IPC_MESSAGE_HANDLER(ViewMsg_UpdateTargetURL_ACK, OnUpdateTargetURLAck) |
| 1053 IPC_MESSAGE_HANDLER(ViewMsg_UpdateWebPreferences, OnUpdateWebPreferences) | 1054 IPC_MESSAGE_HANDLER(ViewMsg_UpdateWebPreferences, OnUpdateWebPreferences) |
| 1054 IPC_MESSAGE_HANDLER(ViewMsg_TimezoneChange, OnUpdateTimezone) | 1055 IPC_MESSAGE_HANDLER(ViewMsg_TimezoneChange, OnUpdateTimezone) |
| 1055 IPC_MESSAGE_HANDLER(ViewMsg_SetAltErrorPageURL, OnSetAltErrorPageURL) | 1056 IPC_MESSAGE_HANDLER(ViewMsg_SetAltErrorPageURL, OnSetAltErrorPageURL) |
| 1056 IPC_MESSAGE_HANDLER(ViewMsg_EnumerateDirectoryResponse, | 1057 IPC_MESSAGE_HANDLER(ViewMsg_EnumerateDirectoryResponse, |
| 1057 OnEnumerateDirectoryResponse) | 1058 OnEnumerateDirectoryResponse) |
| 1058 IPC_MESSAGE_HANDLER(ViewMsg_RunFileChooserResponse, OnFileChooserResponse) | 1059 IPC_MESSAGE_HANDLER(ViewMsg_RunFileChooserResponse, OnFileChooserResponse) |
| 1059 IPC_MESSAGE_HANDLER(ViewMsg_ShouldClose, OnShouldClose) | 1060 IPC_MESSAGE_HANDLER(ViewMsg_ShouldClose, OnShouldClose) |
| 1060 IPC_MESSAGE_HANDLER(ViewMsg_SwapOut, OnSwapOut) | 1061 IPC_MESSAGE_HANDLER(ViewMsg_SwapOut, OnSwapOut) |
| 1061 IPC_MESSAGE_HANDLER(ViewMsg_ClosePage, OnClosePage) | 1062 IPC_MESSAGE_HANDLER(ViewMsg_ClosePage, OnClosePage) |
| 1062 IPC_MESSAGE_HANDLER(ViewMsg_ThemeChanged, OnThemeChanged) | 1063 IPC_MESSAGE_HANDLER(ViewMsg_ThemeChanged, OnThemeChanged) |
| 1063 IPC_MESSAGE_HANDLER(ViewMsg_DisassociateFromPopupCount, | 1064 IPC_MESSAGE_HANDLER(ViewMsg_DisassociateFromPopupCount, |
| 1064 OnDisassociateFromPopupCount) | 1065 OnDisassociateFromPopupCount) |
| 1065 IPC_MESSAGE_HANDLER(ViewMsg_MoveOrResizeStarted, OnMoveOrResizeStarted) | 1066 IPC_MESSAGE_HANDLER(ViewMsg_MoveOrResizeStarted, OnMoveOrResizeStarted) |
| 1066 IPC_MESSAGE_HANDLER(ViewMsg_ClearFocusedNode, OnClearFocusedNode) | 1067 IPC_MESSAGE_HANDLER(ViewMsg_ClearFocusedNode, OnClearFocusedNode) |
| 1067 IPC_MESSAGE_HANDLER(ViewMsg_SetBackground, OnSetBackground) | 1068 IPC_MESSAGE_HANDLER(ViewMsg_SetBackground, OnSetBackground) |
| 1068 IPC_MESSAGE_HANDLER(ViewMsg_EnablePreferredSizeChangedMode, | 1069 IPC_MESSAGE_HANDLER(ViewMsg_EnablePreferredSizeChangedMode, |
| 1069 OnEnablePreferredSizeChangedMode) | 1070 OnEnablePreferredSizeChangedMode) |
| 1070 IPC_MESSAGE_HANDLER(ViewMsg_EnableAutoResize, OnEnableAutoResize) | 1071 IPC_MESSAGE_HANDLER(ViewMsg_EnableAutoResize, OnEnableAutoResize) |
| 1071 IPC_MESSAGE_HANDLER(ViewMsg_DisableAutoResize, OnDisableAutoResize) | 1072 IPC_MESSAGE_HANDLER(ViewMsg_DisableAutoResize, OnDisableAutoResize) |
| 1072 IPC_MESSAGE_HANDLER(ViewMsg_DisableScrollbarsForSmallWindows, | 1073 IPC_MESSAGE_HANDLER(ViewMsg_DisableScrollbarsForSmallWindows, |
| 1073 OnDisableScrollbarsForSmallWindows) | 1074 OnDisableScrollbarsForSmallWindows) |
| 1074 IPC_MESSAGE_HANDLER(ViewMsg_SetRendererPrefs, OnSetRendererPrefs) | 1075 IPC_MESSAGE_HANDLER(ViewMsg_SetRendererPrefs, OnSetRendererPrefs) |
| 1075 IPC_MESSAGE_HANDLER(ViewMsg_MediaPlayerActionAt, OnMediaPlayerActionAt) | 1076 IPC_MESSAGE_HANDLER(ViewMsg_MediaPlayerActionAt, OnMediaPlayerActionAt) |
| 1076 IPC_MESSAGE_HANDLER(ViewMsg_OrientationChangeEvent, | 1077 IPC_MESSAGE_HANDLER(ViewMsg_OrientationChangeEvent, |
| 1077 OnOrientationChangeEvent) | 1078 OnOrientationChangeEvent) |
| 1078 IPC_MESSAGE_HANDLER(ViewMsg_PluginActionAt, OnPluginActionAt) | 1079 IPC_MESSAGE_HANDLER(ViewMsg_PluginActionAt, OnPluginActionAt) |
| 1079 IPC_MESSAGE_HANDLER(ViewMsg_SetActive, OnSetActive) | 1080 IPC_MESSAGE_HANDLER(ViewMsg_SetActive, OnSetActive) |
| 1080 IPC_MESSAGE_HANDLER(ViewMsg_SetEditCommandsForNextKeyEvent, | 1081 IPC_MESSAGE_HANDLER(ViewInputMsg_SetEditCommandsForNextKeyEvent, |
| 1081 OnSetEditCommandsForNextKeyEvent) | 1082 OnSetEditCommandsForNextKeyEvent) |
| 1082 IPC_MESSAGE_HANDLER(ViewMsg_CustomContextMenuAction, | 1083 IPC_MESSAGE_HANDLER(ViewMsg_CustomContextMenuAction, |
| 1083 OnCustomContextMenuAction) | 1084 OnCustomContextMenuAction) |
| 1084 IPC_MESSAGE_HANDLER(ViewMsg_AsyncOpenFile_ACK, OnAsyncFileOpened) | 1085 IPC_MESSAGE_HANDLER(ViewMsg_AsyncOpenFile_ACK, OnAsyncFileOpened) |
| 1085 IPC_MESSAGE_HANDLER(ViewMsg_PpapiBrokerChannelCreated, | 1086 IPC_MESSAGE_HANDLER(ViewMsg_PpapiBrokerChannelCreated, |
| 1086 OnPpapiBrokerChannelCreated) | 1087 OnPpapiBrokerChannelCreated) |
| 1087 IPC_MESSAGE_HANDLER(ViewMsg_PpapiBrokerPermissionResult, | 1088 IPC_MESSAGE_HANDLER(ViewMsg_PpapiBrokerPermissionResult, |
| 1088 OnPpapiBrokerPermissionResult) | 1089 OnPpapiBrokerPermissionResult) |
| 1089 IPC_MESSAGE_HANDLER(ViewMsg_GetAllSavableResourceLinksForCurrentPage, | 1090 IPC_MESSAGE_HANDLER(ViewMsg_GetAllSavableResourceLinksForCurrentPage, |
| 1090 OnGetAllSavableResourceLinksForCurrentPage) | 1091 OnGetAllSavableResourceLinksForCurrentPage) |
| 1091 IPC_MESSAGE_HANDLER( | 1092 IPC_MESSAGE_HANDLER( |
| 1092 ViewMsg_GetSerializedHtmlDataForCurrentPageWithLocalLinks, | 1093 ViewMsg_GetSerializedHtmlDataForCurrentPageWithLocalLinks, |
| 1093 OnGetSerializedHtmlDataForCurrentPageWithLocalLinks) | 1094 OnGetSerializedHtmlDataForCurrentPageWithLocalLinks) |
| 1094 IPC_MESSAGE_HANDLER(ViewMsg_ContextMenuClosed, OnContextMenuClosed) | 1095 IPC_MESSAGE_HANDLER(ViewMsg_ContextMenuClosed, OnContextMenuClosed) |
| 1095 IPC_MESSAGE_HANDLER(ViewMsg_ShowContextMenu, OnShowContextMenu) | 1096 IPC_MESSAGE_HANDLER(ViewMsg_ShowContextMenu, OnShowContextMenu) |
| 1096 // TODO(viettrungluu): Move to a separate message filter. | 1097 // TODO(viettrungluu): Move to a separate message filter. |
| 1097 IPC_MESSAGE_HANDLER(ViewMsg_SetHistoryLengthAndPrune, | 1098 IPC_MESSAGE_HANDLER(ViewMsg_SetHistoryLengthAndPrune, |
| 1098 OnSetHistoryLengthAndPrune) | 1099 OnSetHistoryLengthAndPrune) |
| 1099 IPC_MESSAGE_HANDLER(ViewMsg_EnableViewSourceMode, OnEnableViewSourceMode) | 1100 IPC_MESSAGE_HANDLER(ViewMsg_EnableViewSourceMode, OnEnableViewSourceMode) |
| 1100 IPC_MESSAGE_HANDLER(JavaBridgeMsg_Init, OnJavaBridgeInit) | 1101 IPC_MESSAGE_HANDLER(JavaBridgeMsg_Init, OnJavaBridgeInit) |
| 1101 IPC_MESSAGE_HANDLER(ViewMsg_SetAccessibilityMode, OnSetAccessibilityMode) | 1102 IPC_MESSAGE_HANDLER(ViewMsg_SetAccessibilityMode, OnSetAccessibilityMode) |
| 1102 IPC_MESSAGE_HANDLER(ViewMsg_DisownOpener, OnDisownOpener) | 1103 IPC_MESSAGE_HANDLER(ViewMsg_DisownOpener, OnDisownOpener) |
| 1103 #if defined(OS_ANDROID) | 1104 #if defined(OS_ANDROID) |
| 1104 IPC_MESSAGE_HANDLER(ViewMsg_ActivateNearestFindResult, | 1105 IPC_MESSAGE_HANDLER(ViewInputMsg_ActivateNearestFindResult, |
| 1105 OnActivateNearestFindResult) | 1106 OnActivateNearestFindResult) |
| 1106 IPC_MESSAGE_HANDLER(ViewMsg_FindMatchRects, OnFindMatchRects) | 1107 IPC_MESSAGE_HANDLER(ViewMsg_FindMatchRects, OnFindMatchRects) |
| 1107 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItems, OnSelectPopupMenuItems) | 1108 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItems, OnSelectPopupMenuItems) |
| 1108 IPC_MESSAGE_HANDLER(ViewMsg_UndoScrollFocusedEditableNodeIntoView, | 1109 IPC_MESSAGE_HANDLER(ViewMsg_UndoScrollFocusedEditableNodeIntoView, |
| 1109 OnUndoScrollFocusedEditableNodeIntoRect) | 1110 OnUndoScrollFocusedEditableNodeIntoRect) |
| 1110 IPC_MESSAGE_HANDLER(ViewMsg_UpdateTopControlsState, | 1111 IPC_MESSAGE_HANDLER(ViewMsg_UpdateTopControlsState, |
| 1111 OnUpdateTopControlsState) | 1112 OnUpdateTopControlsState) |
| 1112 #elif defined(OS_MACOSX) | 1113 #elif defined(OS_MACOSX) |
| 1113 IPC_MESSAGE_HANDLER(ViewMsg_CopyToFindPboard, OnCopyToFindPboard) | 1114 IPC_MESSAGE_HANDLER(ViewInputMsg_CopyToFindPboard, OnCopyToFindPboard) |
| 1114 IPC_MESSAGE_HANDLER(ViewMsg_PluginImeCompositionCompleted, | 1115 IPC_MESSAGE_HANDLER(ViewMsg_PluginImeCompositionCompleted, |
| 1115 OnPluginImeCompositionCompleted) | 1116 OnPluginImeCompositionCompleted) |
| 1116 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItem, OnSelectPopupMenuItem) | 1117 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItem, OnSelectPopupMenuItem) |
| 1117 IPC_MESSAGE_HANDLER(ViewMsg_SetInLiveResize, OnSetInLiveResize) | 1118 IPC_MESSAGE_HANDLER(ViewMsg_SetInLiveResize, OnSetInLiveResize) |
| 1118 IPC_MESSAGE_HANDLER(ViewMsg_SetWindowVisibility, OnSetWindowVisibility) | 1119 IPC_MESSAGE_HANDLER(ViewMsg_SetWindowVisibility, OnSetWindowVisibility) |
| 1119 IPC_MESSAGE_HANDLER(ViewMsg_WindowFrameChanged, OnWindowFrameChanged) | 1120 IPC_MESSAGE_HANDLER(ViewMsg_WindowFrameChanged, OnWindowFrameChanged) |
| 1120 #endif | 1121 #endif |
| 1121 IPC_MESSAGE_HANDLER(ViewMsg_ReleaseDisambiguationPopupDIB, | 1122 IPC_MESSAGE_HANDLER(ViewMsg_ReleaseDisambiguationPopupDIB, |
| 1122 OnReleaseDisambiguationPopupDIB) | 1123 OnReleaseDisambiguationPopupDIB) |
| 1123 IPC_MESSAGE_HANDLER(ViewMsg_WindowSnapshotCompleted, | 1124 IPC_MESSAGE_HANDLER(ViewMsg_WindowSnapshotCompleted, |
| (...skipping 5379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6503 WebURL url = icon_urls[i].iconURL(); | 6504 WebURL url = icon_urls[i].iconURL(); |
| 6504 if (!url.isEmpty()) | 6505 if (!url.isEmpty()) |
| 6505 urls.push_back(FaviconURL(url, | 6506 urls.push_back(FaviconURL(url, |
| 6506 ToFaviconType(icon_urls[i].iconType()))); | 6507 ToFaviconType(icon_urls[i].iconType()))); |
| 6507 } | 6508 } |
| 6508 SendUpdateFaviconURL(urls); | 6509 SendUpdateFaviconURL(urls); |
| 6509 } | 6510 } |
| 6510 | 6511 |
| 6511 | 6512 |
| 6512 } // namespace content | 6513 } // namespace content |
| OLD | NEW |