| 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/browser/web_contents/web_contents_impl.h" | 5 #include "content/browser/web_contents/web_contents_impl.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/debug/trace_event.h" | 10 #include "base/debug/trace_event.h" |
| (...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 IPC_MESSAGE_HANDLER(FrameHostMsg_DidChangeLoadProgress, | 516 IPC_MESSAGE_HANDLER(FrameHostMsg_DidChangeLoadProgress, |
| 517 OnDidChangeLoadProgress) | 517 OnDidChangeLoadProgress) |
| 518 IPC_MESSAGE_HANDLER(FrameHostMsg_OpenColorChooser, OnOpenColorChooser) | 518 IPC_MESSAGE_HANDLER(FrameHostMsg_OpenColorChooser, OnOpenColorChooser) |
| 519 IPC_MESSAGE_HANDLER(FrameHostMsg_EndColorChooser, OnEndColorChooser) | 519 IPC_MESSAGE_HANDLER(FrameHostMsg_EndColorChooser, OnEndColorChooser) |
| 520 IPC_MESSAGE_HANDLER(FrameHostMsg_SetSelectedColorInColorChooser, | 520 IPC_MESSAGE_HANDLER(FrameHostMsg_SetSelectedColorInColorChooser, |
| 521 OnSetSelectedColorInColorChooser) | 521 OnSetSelectedColorInColorChooser) |
| 522 IPC_MESSAGE_HANDLER(FrameHostMsg_MediaPlayingNotification, | 522 IPC_MESSAGE_HANDLER(FrameHostMsg_MediaPlayingNotification, |
| 523 OnMediaPlayingNotification) | 523 OnMediaPlayingNotification) |
| 524 IPC_MESSAGE_HANDLER(FrameHostMsg_MediaPausedNotification, | 524 IPC_MESSAGE_HANDLER(FrameHostMsg_MediaPausedNotification, |
| 525 OnMediaPausedNotification) | 525 OnMediaPausedNotification) |
| 526 IPC_MESSAGE_HANDLER(FrameHostMsg_DidFirstVisuallyNonEmptyPaint, |
| 527 OnFirstVisuallyNonEmptyPaint) |
| 526 IPC_MESSAGE_HANDLER(ViewHostMsg_DidLoadResourceFromMemoryCache, | 528 IPC_MESSAGE_HANDLER(ViewHostMsg_DidLoadResourceFromMemoryCache, |
| 527 OnDidLoadResourceFromMemoryCache) | 529 OnDidLoadResourceFromMemoryCache) |
| 528 IPC_MESSAGE_HANDLER(ViewHostMsg_DidDisplayInsecureContent, | 530 IPC_MESSAGE_HANDLER(ViewHostMsg_DidDisplayInsecureContent, |
| 529 OnDidDisplayInsecureContent) | 531 OnDidDisplayInsecureContent) |
| 530 IPC_MESSAGE_HANDLER(ViewHostMsg_DidRunInsecureContent, | 532 IPC_MESSAGE_HANDLER(ViewHostMsg_DidRunInsecureContent, |
| 531 OnDidRunInsecureContent) | 533 OnDidRunInsecureContent) |
| 532 IPC_MESSAGE_HANDLER(ViewHostMsg_GoToEntryAtOffset, OnGoToEntryAtOffset) | 534 IPC_MESSAGE_HANDLER(ViewHostMsg_GoToEntryAtOffset, OnGoToEntryAtOffset) |
| 533 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateZoomLimits, OnUpdateZoomLimits) | 535 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateZoomLimits, OnUpdateZoomLimits) |
| 534 IPC_MESSAGE_HANDLER(ViewHostMsg_EnumerateDirectory, OnEnumerateDirectory) | 536 IPC_MESSAGE_HANDLER(ViewHostMsg_EnumerateDirectory, OnEnumerateDirectory) |
| 535 IPC_MESSAGE_HANDLER(ViewHostMsg_RegisterProtocolHandler, | 537 IPC_MESSAGE_HANDLER(ViewHostMsg_RegisterProtocolHandler, |
| 536 OnRegisterProtocolHandler) | 538 OnRegisterProtocolHandler) |
| 537 IPC_MESSAGE_HANDLER(ViewHostMsg_Find_Reply, OnFindReply) | 539 IPC_MESSAGE_HANDLER(ViewHostMsg_Find_Reply, OnFindReply) |
| 538 IPC_MESSAGE_HANDLER(ViewHostMsg_AppCacheAccessed, OnAppCacheAccessed) | 540 IPC_MESSAGE_HANDLER(ViewHostMsg_AppCacheAccessed, OnAppCacheAccessed) |
| 539 IPC_MESSAGE_HANDLER(ViewHostMsg_WebUISend, OnWebUISend) | 541 IPC_MESSAGE_HANDLER(ViewHostMsg_WebUISend, OnWebUISend) |
| 540 IPC_MESSAGE_HANDLER(ViewHostMsg_RequestPpapiBrokerPermission, | 542 IPC_MESSAGE_HANDLER(ViewHostMsg_RequestPpapiBrokerPermission, |
| 541 OnRequestPpapiBrokerPermission) | 543 OnRequestPpapiBrokerPermission) |
| 542 IPC_MESSAGE_HANDLER_GENERIC(BrowserPluginHostMsg_Attach, | 544 IPC_MESSAGE_HANDLER_GENERIC(BrowserPluginHostMsg_Attach, |
| 543 OnBrowserPluginMessage(message)) | 545 OnBrowserPluginMessage(message)) |
| 544 IPC_MESSAGE_HANDLER(ImageHostMsg_DidDownloadImage, OnDidDownloadImage) | 546 IPC_MESSAGE_HANDLER(ImageHostMsg_DidDownloadImage, OnDidDownloadImage) |
| 545 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateFaviconURL, OnUpdateFaviconURL) | 547 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateFaviconURL, OnUpdateFaviconURL) |
| 546 IPC_MESSAGE_HANDLER(ViewHostMsg_DidFirstVisuallyNonEmptyPaint, | |
| 547 OnFirstVisuallyNonEmptyPaint) | |
| 548 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowValidationMessage, | 548 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowValidationMessage, |
| 549 OnShowValidationMessage) | 549 OnShowValidationMessage) |
| 550 IPC_MESSAGE_HANDLER(ViewHostMsg_HideValidationMessage, | 550 IPC_MESSAGE_HANDLER(ViewHostMsg_HideValidationMessage, |
| 551 OnHideValidationMessage) | 551 OnHideValidationMessage) |
| 552 IPC_MESSAGE_HANDLER(ViewHostMsg_MoveValidationMessage, | 552 IPC_MESSAGE_HANDLER(ViewHostMsg_MoveValidationMessage, |
| 553 OnMoveValidationMessage) | 553 OnMoveValidationMessage) |
| 554 #if defined(OS_ANDROID) | 554 #if defined(OS_ANDROID) |
| 555 IPC_MESSAGE_HANDLER(ViewHostMsg_FindMatchRects_Reply, | 555 IPC_MESSAGE_HANDLER(ViewHostMsg_FindMatchRects_Reply, |
| 556 OnFindMatchRectsReply) | 556 OnFindMatchRectsReply) |
| 557 IPC_MESSAGE_HANDLER(ViewHostMsg_OpenDateTimeDialog, | 557 IPC_MESSAGE_HANDLER(ViewHostMsg_OpenDateTimeDialog, |
| (...skipping 3584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4142 if (new_size != old_size) | 4142 if (new_size != old_size) |
| 4143 delegate_->UpdatePreferredSize(this, new_size); | 4143 delegate_->UpdatePreferredSize(this, new_size); |
| 4144 } | 4144 } |
| 4145 | 4145 |
| 4146 void WebContentsImpl::ResumeResponseDeferredAtStart() { | 4146 void WebContentsImpl::ResumeResponseDeferredAtStart() { |
| 4147 FrameTreeNode* node = frame_tree_.root(); | 4147 FrameTreeNode* node = frame_tree_.root(); |
| 4148 node->render_manager()->ResumeResponseDeferredAtStart(); | 4148 node->render_manager()->ResumeResponseDeferredAtStart(); |
| 4149 } | 4149 } |
| 4150 | 4150 |
| 4151 } // namespace content | 4151 } // namespace content |
| OLD | NEW |