| 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 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 1317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1328 OnSetHistoryOffsetAndLength) | 1328 OnSetHistoryOffsetAndLength) |
| 1329 IPC_MESSAGE_HANDLER(ViewMsg_ReleaseDisambiguationPopupBitmap, | 1329 IPC_MESSAGE_HANDLER(ViewMsg_ReleaseDisambiguationPopupBitmap, |
| 1330 OnReleaseDisambiguationPopupBitmap) | 1330 OnReleaseDisambiguationPopupBitmap) |
| 1331 IPC_MESSAGE_HANDLER(ViewMsg_ForceRedraw, OnForceRedraw) | 1331 IPC_MESSAGE_HANDLER(ViewMsg_ForceRedraw, OnForceRedraw) |
| 1332 IPC_MESSAGE_HANDLER(ViewMsg_SelectWordAroundCaret, OnSelectWordAroundCaret) | 1332 IPC_MESSAGE_HANDLER(ViewMsg_SelectWordAroundCaret, OnSelectWordAroundCaret) |
| 1333 | 1333 |
| 1334 // Page messages. | 1334 // Page messages. |
| 1335 IPC_MESSAGE_HANDLER(PageMsg_UpdateWindowScreenRect, | 1335 IPC_MESSAGE_HANDLER(PageMsg_UpdateWindowScreenRect, |
| 1336 OnUpdateWindowScreenRect) | 1336 OnUpdateWindowScreenRect) |
| 1337 IPC_MESSAGE_HANDLER(PageMsg_SetZoomLevel, OnSetZoomLevel) | 1337 IPC_MESSAGE_HANDLER(PageMsg_SetZoomLevel, OnSetZoomLevel) |
| 1338 IPC_MESSAGE_HANDLER(PageMsg_SetDeviceScaleFactor, SetDeviceScaleFactor); |
| 1338 IPC_MESSAGE_HANDLER(PageMsg_WasHidden, OnPageWasHidden) | 1339 IPC_MESSAGE_HANDLER(PageMsg_WasHidden, OnPageWasHidden) |
| 1339 IPC_MESSAGE_HANDLER(PageMsg_WasShown, OnPageWasShown) | 1340 IPC_MESSAGE_HANDLER(PageMsg_WasShown, OnPageWasShown) |
| 1340 | 1341 |
| 1341 #if defined(OS_ANDROID) | 1342 #if defined(OS_ANDROID) |
| 1342 IPC_MESSAGE_HANDLER(ViewMsg_UpdateTopControlsState, | 1343 IPC_MESSAGE_HANDLER(ViewMsg_UpdateTopControlsState, |
| 1343 OnUpdateTopControlsState) | 1344 OnUpdateTopControlsState) |
| 1344 IPC_MESSAGE_HANDLER(ViewMsg_ExtractSmartClipData, OnExtractSmartClipData) | 1345 IPC_MESSAGE_HANDLER(ViewMsg_ExtractSmartClipData, OnExtractSmartClipData) |
| 1345 #elif defined(OS_MACOSX) | 1346 #elif defined(OS_MACOSX) |
| 1346 IPC_MESSAGE_HANDLER(ViewMsg_GetRenderedText, | 1347 IPC_MESSAGE_HANDLER(ViewMsg_GetRenderedText, |
| 1347 OnGetRenderedText) | 1348 OnGetRenderedText) |
| (...skipping 1913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3261 return render_frame->focused_pepper_plugin(); | 3262 return render_frame->focused_pepper_plugin(); |
| 3262 } | 3263 } |
| 3263 frame = frame->traverseNext(false); | 3264 frame = frame->traverseNext(false); |
| 3264 } | 3265 } |
| 3265 | 3266 |
| 3266 return nullptr; | 3267 return nullptr; |
| 3267 } | 3268 } |
| 3268 #endif | 3269 #endif |
| 3269 | 3270 |
| 3270 } // namespace content | 3271 } // namespace content |
| OLD | NEW |