Chromium Code Reviews| 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 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1127 IPC_MESSAGE_HANDLER(ViewMsg_SetHistoryLengthAndPrune, | 1127 IPC_MESSAGE_HANDLER(ViewMsg_SetHistoryLengthAndPrune, |
| 1128 OnSetHistoryLengthAndPrune) | 1128 OnSetHistoryLengthAndPrune) |
| 1129 IPC_MESSAGE_HANDLER(ViewMsg_EnableViewSourceMode, OnEnableViewSourceMode) | 1129 IPC_MESSAGE_HANDLER(ViewMsg_EnableViewSourceMode, OnEnableViewSourceMode) |
| 1130 IPC_MESSAGE_HANDLER(ViewMsg_SetAccessibilityMode, OnSetAccessibilityMode) | 1130 IPC_MESSAGE_HANDLER(ViewMsg_SetAccessibilityMode, OnSetAccessibilityMode) |
| 1131 IPC_MESSAGE_HANDLER(ViewMsg_DisownOpener, OnDisownOpener) | 1131 IPC_MESSAGE_HANDLER(ViewMsg_DisownOpener, OnDisownOpener) |
| 1132 IPC_MESSAGE_HANDLER(ViewMsg_ReleaseDisambiguationPopupBitmap, | 1132 IPC_MESSAGE_HANDLER(ViewMsg_ReleaseDisambiguationPopupBitmap, |
| 1133 OnReleaseDisambiguationPopupBitmap) | 1133 OnReleaseDisambiguationPopupBitmap) |
| 1134 IPC_MESSAGE_HANDLER(ViewMsg_WindowSnapshotCompleted, | 1134 IPC_MESSAGE_HANDLER(ViewMsg_WindowSnapshotCompleted, |
| 1135 OnWindowSnapshotCompleted) | 1135 OnWindowSnapshotCompleted) |
| 1136 IPC_MESSAGE_HANDLER(ViewMsg_SelectWordAroundCaret, OnSelectWordAroundCaret) | 1136 IPC_MESSAGE_HANDLER(ViewMsg_SelectWordAroundCaret, OnSelectWordAroundCaret) |
| 1137 IPC_MESSAGE_HANDLER(ViewMsg_TextAroundSelection, OnTextAroundSelection) | |
|
dcheng
2014/05/21 21:05:38
Presumably this is a new IPC message, but I don't
mlamouri (slow - plz ping)
2014/05/21 21:19:40
This is something I forgot to remove when cleaning
| |
| 1137 #if defined(OS_ANDROID) | 1138 #if defined(OS_ANDROID) |
| 1138 IPC_MESSAGE_HANDLER(InputMsg_ActivateNearestFindResult, | 1139 IPC_MESSAGE_HANDLER(InputMsg_ActivateNearestFindResult, |
| 1139 OnActivateNearestFindResult) | 1140 OnActivateNearestFindResult) |
| 1140 IPC_MESSAGE_HANDLER(ViewMsg_FindMatchRects, OnFindMatchRects) | 1141 IPC_MESSAGE_HANDLER(ViewMsg_FindMatchRects, OnFindMatchRects) |
| 1141 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItems, OnSelectPopupMenuItems) | 1142 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItems, OnSelectPopupMenuItems) |
| 1142 IPC_MESSAGE_HANDLER(ViewMsg_UpdateTopControlsState, | 1143 IPC_MESSAGE_HANDLER(ViewMsg_UpdateTopControlsState, |
| 1143 OnUpdateTopControlsState) | 1144 OnUpdateTopControlsState) |
| 1144 IPC_MESSAGE_HANDLER(ViewMsg_PauseVideo, OnPauseVideo) | 1145 IPC_MESSAGE_HANDLER(ViewMsg_PauseVideo, OnPauseVideo) |
| 1145 IPC_MESSAGE_HANDLER(ViewMsg_ExtractSmartClipData, OnExtractSmartClipData) | 1146 IPC_MESSAGE_HANDLER(ViewMsg_ExtractSmartClipData, OnExtractSmartClipData) |
| 1146 #elif defined(OS_MACOSX) | 1147 #elif defined(OS_MACOSX) |
| (...skipping 2940 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4087 std::vector<gfx::Size> sizes; | 4088 std::vector<gfx::Size> sizes; |
| 4088 ConvertToFaviconSizes(icon_urls[i].sizes(), &sizes); | 4089 ConvertToFaviconSizes(icon_urls[i].sizes(), &sizes); |
| 4089 if (!url.isEmpty()) | 4090 if (!url.isEmpty()) |
| 4090 urls.push_back( | 4091 urls.push_back( |
| 4091 FaviconURL(url, ToFaviconType(icon_urls[i].iconType()), sizes)); | 4092 FaviconURL(url, ToFaviconType(icon_urls[i].iconType()), sizes)); |
| 4092 } | 4093 } |
| 4093 SendUpdateFaviconURL(urls); | 4094 SendUpdateFaviconURL(urls); |
| 4094 } | 4095 } |
| 4095 | 4096 |
| 4096 } // namespace content | 4097 } // namespace content |
| OLD | NEW |