| 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 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1086 IPC_MESSAGE_HANDLER(ViewMsg_UpdateFrameTree, OnUpdatedFrameTree) | 1086 IPC_MESSAGE_HANDLER(ViewMsg_UpdateFrameTree, OnUpdatedFrameTree) |
| 1087 #if defined(OS_ANDROID) | 1087 #if defined(OS_ANDROID) |
| 1088 IPC_MESSAGE_HANDLER(ViewMsg_ActivateNearestFindResult, | 1088 IPC_MESSAGE_HANDLER(ViewMsg_ActivateNearestFindResult, |
| 1089 OnActivateNearestFindResult) | 1089 OnActivateNearestFindResult) |
| 1090 IPC_MESSAGE_HANDLER(ViewMsg_FindMatchRects, OnFindMatchRects) | 1090 IPC_MESSAGE_HANDLER(ViewMsg_FindMatchRects, OnFindMatchRects) |
| 1091 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItems, OnSelectPopupMenuItems) | 1091 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItems, OnSelectPopupMenuItems) |
| 1092 IPC_MESSAGE_HANDLER(ViewMsg_UndoScrollFocusedEditableNodeIntoView, | 1092 IPC_MESSAGE_HANDLER(ViewMsg_UndoScrollFocusedEditableNodeIntoView, |
| 1093 OnUndoScrollFocusedEditableNodeIntoRect) | 1093 OnUndoScrollFocusedEditableNodeIntoRect) |
| 1094 IPC_MESSAGE_HANDLER(ViewMsg_EnableHidingTopControls, | 1094 IPC_MESSAGE_HANDLER(ViewMsg_EnableHidingTopControls, |
| 1095 OnEnableHidingTopControls) | 1095 OnEnableHidingTopControls) |
| 1096 IPC_MESSAGE_HANDLER(ViewMsg_ShowTopControls, OnShowTopControls) |
| 1096 #elif defined(OS_MACOSX) | 1097 #elif defined(OS_MACOSX) |
| 1097 IPC_MESSAGE_HANDLER(ViewMsg_CopyToFindPboard, OnCopyToFindPboard) | 1098 IPC_MESSAGE_HANDLER(ViewMsg_CopyToFindPboard, OnCopyToFindPboard) |
| 1098 IPC_MESSAGE_HANDLER(ViewMsg_PluginImeCompositionCompleted, | 1099 IPC_MESSAGE_HANDLER(ViewMsg_PluginImeCompositionCompleted, |
| 1099 OnPluginImeCompositionCompleted) | 1100 OnPluginImeCompositionCompleted) |
| 1100 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItem, OnSelectPopupMenuItem) | 1101 IPC_MESSAGE_HANDLER(ViewMsg_SelectPopupMenuItem, OnSelectPopupMenuItem) |
| 1101 IPC_MESSAGE_HANDLER(ViewMsg_SetInLiveResize, OnSetInLiveResize) | 1102 IPC_MESSAGE_HANDLER(ViewMsg_SetInLiveResize, OnSetInLiveResize) |
| 1102 IPC_MESSAGE_HANDLER(ViewMsg_SetWindowVisibility, OnSetWindowVisibility) | 1103 IPC_MESSAGE_HANDLER(ViewMsg_SetWindowVisibility, OnSetWindowVisibility) |
| 1103 IPC_MESSAGE_HANDLER(ViewMsg_WindowFrameChanged, OnWindowFrameChanged) | 1104 IPC_MESSAGE_HANDLER(ViewMsg_WindowFrameChanged, OnWindowFrameChanged) |
| 1104 #endif | 1105 #endif |
| 1105 IPC_MESSAGE_HANDLER(ViewMsg_ReleaseDisambiguationPopupDIB, | 1106 IPC_MESSAGE_HANDLER(ViewMsg_ReleaseDisambiguationPopupDIB, |
| (...skipping 5426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6532 TransportDIB* dib = TransportDIB::CreateWithHandle(dib_handle); | 6533 TransportDIB* dib = TransportDIB::CreateWithHandle(dib_handle); |
| 6533 RenderProcess::current()->ReleaseTransportDIB(dib); | 6534 RenderProcess::current()->ReleaseTransportDIB(dib); |
| 6534 } | 6535 } |
| 6535 | 6536 |
| 6536 void RenderViewImpl::DidCommitCompositorFrame() { | 6537 void RenderViewImpl::DidCommitCompositorFrame() { |
| 6537 RenderWidget::DidCommitCompositorFrame(); | 6538 RenderWidget::DidCommitCompositorFrame(); |
| 6538 FOR_EACH_OBSERVER(RenderViewObserver, observers_, DidCommitCompositorFrame()); | 6539 FOR_EACH_OBSERVER(RenderViewObserver, observers_, DidCommitCompositorFrame()); |
| 6539 } | 6540 } |
| 6540 | 6541 |
| 6541 } // namespace content | 6542 } // namespace content |
| OLD | NEW |