| 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 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 561 IPC_MESSAGE_HANDLER(FrameHostMsg_DidChangeLoadProgress, | 561 IPC_MESSAGE_HANDLER(FrameHostMsg_DidChangeLoadProgress, |
| 562 OnDidChangeLoadProgress) | 562 OnDidChangeLoadProgress) |
| 563 IPC_MESSAGE_HANDLER(FrameHostMsg_OpenColorChooser, OnOpenColorChooser) | 563 IPC_MESSAGE_HANDLER(FrameHostMsg_OpenColorChooser, OnOpenColorChooser) |
| 564 IPC_MESSAGE_HANDLER(FrameHostMsg_EndColorChooser, OnEndColorChooser) | 564 IPC_MESSAGE_HANDLER(FrameHostMsg_EndColorChooser, OnEndColorChooser) |
| 565 IPC_MESSAGE_HANDLER(FrameHostMsg_SetSelectedColorInColorChooser, | 565 IPC_MESSAGE_HANDLER(FrameHostMsg_SetSelectedColorInColorChooser, |
| 566 OnSetSelectedColorInColorChooser) | 566 OnSetSelectedColorInColorChooser) |
| 567 IPC_MESSAGE_HANDLER(FrameHostMsg_MediaPlayingNotification, | 567 IPC_MESSAGE_HANDLER(FrameHostMsg_MediaPlayingNotification, |
| 568 OnMediaPlayingNotification) | 568 OnMediaPlayingNotification) |
| 569 IPC_MESSAGE_HANDLER(FrameHostMsg_MediaPausedNotification, | 569 IPC_MESSAGE_HANDLER(FrameHostMsg_MediaPausedNotification, |
| 570 OnMediaPausedNotification) | 570 OnMediaPausedNotification) |
| 571 IPC_MESSAGE_HANDLER(FrameHostMsg_DidFirstVisuallyNonEmptyPaint, |
| 572 OnFirstVisuallyNonEmptyPaint) |
| 571 IPC_MESSAGE_HANDLER(ViewHostMsg_DidLoadResourceFromMemoryCache, | 573 IPC_MESSAGE_HANDLER(ViewHostMsg_DidLoadResourceFromMemoryCache, |
| 572 OnDidLoadResourceFromMemoryCache) | 574 OnDidLoadResourceFromMemoryCache) |
| 573 IPC_MESSAGE_HANDLER(ViewHostMsg_DidDisplayInsecureContent, | 575 IPC_MESSAGE_HANDLER(ViewHostMsg_DidDisplayInsecureContent, |
| 574 OnDidDisplayInsecureContent) | 576 OnDidDisplayInsecureContent) |
| 575 IPC_MESSAGE_HANDLER(ViewHostMsg_DidRunInsecureContent, | 577 IPC_MESSAGE_HANDLER(ViewHostMsg_DidRunInsecureContent, |
| 576 OnDidRunInsecureContent) | 578 OnDidRunInsecureContent) |
| 577 IPC_MESSAGE_HANDLER(ViewHostMsg_GoToEntryAtOffset, OnGoToEntryAtOffset) | 579 IPC_MESSAGE_HANDLER(ViewHostMsg_GoToEntryAtOffset, OnGoToEntryAtOffset) |
| 578 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateZoomLimits, OnUpdateZoomLimits) | 580 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateZoomLimits, OnUpdateZoomLimits) |
| 579 IPC_MESSAGE_HANDLER(ViewHostMsg_EnumerateDirectory, OnEnumerateDirectory) | 581 IPC_MESSAGE_HANDLER(ViewHostMsg_EnumerateDirectory, OnEnumerateDirectory) |
| 580 IPC_MESSAGE_HANDLER(ViewHostMsg_RegisterProtocolHandler, | 582 IPC_MESSAGE_HANDLER(ViewHostMsg_RegisterProtocolHandler, |
| 581 OnRegisterProtocolHandler) | 583 OnRegisterProtocolHandler) |
| 582 IPC_MESSAGE_HANDLER(ViewHostMsg_UnregisterProtocolHandler, | 584 IPC_MESSAGE_HANDLER(ViewHostMsg_UnregisterProtocolHandler, |
| 583 OnUnregisterProtocolHandler) | 585 OnUnregisterProtocolHandler) |
| 584 IPC_MESSAGE_HANDLER(ViewHostMsg_Find_Reply, OnFindReply) | 586 IPC_MESSAGE_HANDLER(ViewHostMsg_Find_Reply, OnFindReply) |
| 585 IPC_MESSAGE_HANDLER(ViewHostMsg_AppCacheAccessed, OnAppCacheAccessed) | 587 IPC_MESSAGE_HANDLER(ViewHostMsg_AppCacheAccessed, OnAppCacheAccessed) |
| 586 IPC_MESSAGE_HANDLER(ViewHostMsg_WebUISend, OnWebUISend) | 588 IPC_MESSAGE_HANDLER(ViewHostMsg_WebUISend, OnWebUISend) |
| 587 IPC_MESSAGE_HANDLER(ViewHostMsg_RequestPpapiBrokerPermission, | 589 IPC_MESSAGE_HANDLER(ViewHostMsg_RequestPpapiBrokerPermission, |
| 588 OnRequestPpapiBrokerPermission) | 590 OnRequestPpapiBrokerPermission) |
| 589 IPC_MESSAGE_HANDLER_GENERIC(BrowserPluginHostMsg_Attach, | 591 IPC_MESSAGE_HANDLER_GENERIC(BrowserPluginHostMsg_Attach, |
| 590 OnBrowserPluginMessage(message)) | 592 OnBrowserPluginMessage(message)) |
| 591 IPC_MESSAGE_HANDLER(ImageHostMsg_DidDownloadImage, OnDidDownloadImage) | 593 IPC_MESSAGE_HANDLER(ImageHostMsg_DidDownloadImage, OnDidDownloadImage) |
| 592 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateFaviconURL, OnUpdateFaviconURL) | 594 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateFaviconURL, OnUpdateFaviconURL) |
| 593 IPC_MESSAGE_HANDLER(ViewHostMsg_DidFirstVisuallyNonEmptyPaint, | |
| 594 OnFirstVisuallyNonEmptyPaint) | |
| 595 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowValidationMessage, | 595 IPC_MESSAGE_HANDLER(ViewHostMsg_ShowValidationMessage, |
| 596 OnShowValidationMessage) | 596 OnShowValidationMessage) |
| 597 IPC_MESSAGE_HANDLER(ViewHostMsg_HideValidationMessage, | 597 IPC_MESSAGE_HANDLER(ViewHostMsg_HideValidationMessage, |
| 598 OnHideValidationMessage) | 598 OnHideValidationMessage) |
| 599 IPC_MESSAGE_HANDLER(ViewHostMsg_MoveValidationMessage, | 599 IPC_MESSAGE_HANDLER(ViewHostMsg_MoveValidationMessage, |
| 600 OnMoveValidationMessage) | 600 OnMoveValidationMessage) |
| 601 #if defined(OS_ANDROID) | 601 #if defined(OS_ANDROID) |
| 602 IPC_MESSAGE_HANDLER(ViewHostMsg_FindMatchRects_Reply, | 602 IPC_MESSAGE_HANDLER(ViewHostMsg_FindMatchRects_Reply, |
| 603 OnFindMatchRectsReply) | 603 OnFindMatchRectsReply) |
| 604 IPC_MESSAGE_HANDLER(ViewHostMsg_OpenDateTimeDialog, | 604 IPC_MESSAGE_HANDLER(ViewHostMsg_OpenDateTimeDialog, |
| (...skipping 3628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4233 if (new_size != old_size) | 4233 if (new_size != old_size) |
| 4234 delegate_->UpdatePreferredSize(this, new_size); | 4234 delegate_->UpdatePreferredSize(this, new_size); |
| 4235 } | 4235 } |
| 4236 | 4236 |
| 4237 void WebContentsImpl::ResumeResponseDeferredAtStart() { | 4237 void WebContentsImpl::ResumeResponseDeferredAtStart() { |
| 4238 FrameTreeNode* node = frame_tree_.root(); | 4238 FrameTreeNode* node = frame_tree_.root(); |
| 4239 node->render_manager()->ResumeResponseDeferredAtStart(); | 4239 node->render_manager()->ResumeResponseDeferredAtStart(); |
| 4240 } | 4240 } |
| 4241 | 4241 |
| 4242 } // namespace content | 4242 } // namespace content |
| OLD | NEW |