| 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 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1325 OnSetHistoryOffsetAndLength) | 1325 OnSetHistoryOffsetAndLength) |
| 1326 IPC_MESSAGE_HANDLER(ViewMsg_ReleaseDisambiguationPopupBitmap, | 1326 IPC_MESSAGE_HANDLER(ViewMsg_ReleaseDisambiguationPopupBitmap, |
| 1327 OnReleaseDisambiguationPopupBitmap) | 1327 OnReleaseDisambiguationPopupBitmap) |
| 1328 IPC_MESSAGE_HANDLER(ViewMsg_ForceRedraw, OnForceRedraw) | 1328 IPC_MESSAGE_HANDLER(ViewMsg_ForceRedraw, OnForceRedraw) |
| 1329 IPC_MESSAGE_HANDLER(ViewMsg_SelectWordAroundCaret, OnSelectWordAroundCaret) | 1329 IPC_MESSAGE_HANDLER(ViewMsg_SelectWordAroundCaret, OnSelectWordAroundCaret) |
| 1330 | 1330 |
| 1331 // Page messages. | 1331 // Page messages. |
| 1332 IPC_MESSAGE_HANDLER(PageMsg_UpdateWindowScreenRect, | 1332 IPC_MESSAGE_HANDLER(PageMsg_UpdateWindowScreenRect, |
| 1333 OnUpdateWindowScreenRect) | 1333 OnUpdateWindowScreenRect) |
| 1334 IPC_MESSAGE_HANDLER(PageMsg_SetZoomLevel, OnSetZoomLevel) | 1334 IPC_MESSAGE_HANDLER(PageMsg_SetZoomLevel, OnSetZoomLevel) |
| 1335 IPC_MESSAGE_HANDLER(PageMsg_SetDeviceScaleFactor, OnSetDeviceScaleFactor); |
| 1335 IPC_MESSAGE_HANDLER(PageMsg_WasHidden, OnPageWasHidden) | 1336 IPC_MESSAGE_HANDLER(PageMsg_WasHidden, OnPageWasHidden) |
| 1336 IPC_MESSAGE_HANDLER(PageMsg_WasShown, OnPageWasShown) | 1337 IPC_MESSAGE_HANDLER(PageMsg_WasShown, OnPageWasShown) |
| 1337 | 1338 |
| 1338 #if defined(OS_ANDROID) | 1339 #if defined(OS_ANDROID) |
| 1339 IPC_MESSAGE_HANDLER(ViewMsg_UpdateTopControlsState, | 1340 IPC_MESSAGE_HANDLER(ViewMsg_UpdateTopControlsState, |
| 1340 OnUpdateTopControlsState) | 1341 OnUpdateTopControlsState) |
| 1341 IPC_MESSAGE_HANDLER(ViewMsg_ExtractSmartClipData, OnExtractSmartClipData) | 1342 IPC_MESSAGE_HANDLER(ViewMsg_ExtractSmartClipData, OnExtractSmartClipData) |
| 1342 #elif defined(OS_MACOSX) | 1343 #elif defined(OS_MACOSX) |
| 1343 IPC_MESSAGE_HANDLER(ViewMsg_GetRenderedText, | 1344 IPC_MESSAGE_HANDLER(ViewMsg_GetRenderedText, |
| 1344 OnGetRenderedText) | 1345 OnGetRenderedText) |
| (...skipping 1733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3078 return render_frame->focused_pepper_plugin(); | 3079 return render_frame->focused_pepper_plugin(); |
| 3079 } | 3080 } |
| 3080 frame = frame->traverseNext(false); | 3081 frame = frame->traverseNext(false); |
| 3081 } | 3082 } |
| 3082 | 3083 |
| 3083 return nullptr; | 3084 return nullptr; |
| 3084 } | 3085 } |
| 3085 #endif | 3086 #endif |
| 3086 | 3087 |
| 3087 } // namespace content | 3088 } // namespace content |
| OLD | NEW |