Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: content/browser/web_contents/web_contents_impl.cc

Issue 365513002: Port identity_internals to mojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch beautification Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 IPC_MESSAGE_HANDLER(FrameHostMsg_OpenColorChooser, OnOpenColorChooser) 519 IPC_MESSAGE_HANDLER(FrameHostMsg_OpenColorChooser, OnOpenColorChooser)
520 IPC_MESSAGE_HANDLER(FrameHostMsg_EndColorChooser, OnEndColorChooser) 520 IPC_MESSAGE_HANDLER(FrameHostMsg_EndColorChooser, OnEndColorChooser)
521 IPC_MESSAGE_HANDLER(FrameHostMsg_SetSelectedColorInColorChooser, 521 IPC_MESSAGE_HANDLER(FrameHostMsg_SetSelectedColorInColorChooser,
522 OnSetSelectedColorInColorChooser) 522 OnSetSelectedColorInColorChooser)
523 IPC_MESSAGE_HANDLER(FrameHostMsg_MediaPlayingNotification, 523 IPC_MESSAGE_HANDLER(FrameHostMsg_MediaPlayingNotification,
524 OnMediaPlayingNotification) 524 OnMediaPlayingNotification)
525 IPC_MESSAGE_HANDLER(FrameHostMsg_MediaPausedNotification, 525 IPC_MESSAGE_HANDLER(FrameHostMsg_MediaPausedNotification,
526 OnMediaPausedNotification) 526 OnMediaPausedNotification)
527 IPC_MESSAGE_HANDLER(FrameHostMsg_DidFirstVisuallyNonEmptyPaint, 527 IPC_MESSAGE_HANDLER(FrameHostMsg_DidFirstVisuallyNonEmptyPaint,
528 OnFirstVisuallyNonEmptyPaint) 528 OnFirstVisuallyNonEmptyPaint)
529 IPC_MESSAGE_HANDLER(FrameHostMsg_WebUIMojoMainRan, OnWebUIMojoMainRan)
529 IPC_MESSAGE_HANDLER(ViewHostMsg_DidLoadResourceFromMemoryCache, 530 IPC_MESSAGE_HANDLER(ViewHostMsg_DidLoadResourceFromMemoryCache,
530 OnDidLoadResourceFromMemoryCache) 531 OnDidLoadResourceFromMemoryCache)
531 IPC_MESSAGE_HANDLER(ViewHostMsg_DidDisplayInsecureContent, 532 IPC_MESSAGE_HANDLER(ViewHostMsg_DidDisplayInsecureContent,
532 OnDidDisplayInsecureContent) 533 OnDidDisplayInsecureContent)
533 IPC_MESSAGE_HANDLER(ViewHostMsg_DidRunInsecureContent, 534 IPC_MESSAGE_HANDLER(ViewHostMsg_DidRunInsecureContent,
534 OnDidRunInsecureContent) 535 OnDidRunInsecureContent)
535 IPC_MESSAGE_HANDLER(ViewHostMsg_GoToEntryAtOffset, OnGoToEntryAtOffset) 536 IPC_MESSAGE_HANDLER(ViewHostMsg_GoToEntryAtOffset, OnGoToEntryAtOffset)
536 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateZoomLimits, OnUpdateZoomLimits) 537 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateZoomLimits, OnUpdateZoomLimits)
537 IPC_MESSAGE_HANDLER(ViewHostMsg_EnumerateDirectory, OnEnumerateDirectory) 538 IPC_MESSAGE_HANDLER(ViewHostMsg_EnumerateDirectory, OnEnumerateDirectory)
538 IPC_MESSAGE_HANDLER(ViewHostMsg_RegisterProtocolHandler, 539 IPC_MESSAGE_HANDLER(ViewHostMsg_RegisterProtocolHandler,
(...skipping 2423 matching lines...) Expand 10 before | Expand all | Expand 10 after
2962 delete power_save_blockers_[render_frame_message_source_][player_cookie]; 2963 delete power_save_blockers_[render_frame_message_source_][player_cookie];
2963 power_save_blockers_[render_frame_message_source_].erase(player_cookie); 2964 power_save_blockers_[render_frame_message_source_].erase(player_cookie);
2964 #endif // !defined(OS_CHROMEOS) 2965 #endif // !defined(OS_CHROMEOS)
2965 } 2966 }
2966 2967
2967 void WebContentsImpl::OnFirstVisuallyNonEmptyPaint() { 2968 void WebContentsImpl::OnFirstVisuallyNonEmptyPaint() {
2968 FOR_EACH_OBSERVER(WebContentsObserver, observers_, 2969 FOR_EACH_OBSERVER(WebContentsObserver, observers_,
2969 DidFirstVisuallyNonEmptyPaint()); 2970 DidFirstVisuallyNonEmptyPaint());
2970 } 2971 }
2971 2972
2973 void WebContentsImpl::OnWebUIMojoMainRan() {
2974 FOR_EACH_OBSERVER(WebContentsObserver,
2975 observers_,
2976 DidRunWebUIMojoMain());
2977 }
2978
2972 void WebContentsImpl::DidChangeVisibleSSLState() { 2979 void WebContentsImpl::DidChangeVisibleSSLState() {
2973 if (delegate_) 2980 if (delegate_)
2974 delegate_->VisibleSSLStateChanged(this); 2981 delegate_->VisibleSSLStateChanged(this);
2975 } 2982 }
2976 2983
2977 void WebContentsImpl::NotifyBeforeFormRepostWarningShow() { 2984 void WebContentsImpl::NotifyBeforeFormRepostWarningShow() {
2978 FOR_EACH_OBSERVER(WebContentsObserver, observers_, 2985 FOR_EACH_OBSERVER(WebContentsObserver, observers_,
2979 BeforeFormRepostWarningShow()); 2986 BeforeFormRepostWarningShow());
2980 } 2987 }
2981 2988
(...skipping 1156 matching lines...) Expand 10 before | Expand all | Expand 10 after
4138 if (new_size != old_size) 4145 if (new_size != old_size)
4139 delegate_->UpdatePreferredSize(this, new_size); 4146 delegate_->UpdatePreferredSize(this, new_size);
4140 } 4147 }
4141 4148
4142 void WebContentsImpl::ResumeResponseDeferredAtStart() { 4149 void WebContentsImpl::ResumeResponseDeferredAtStart() {
4143 FrameTreeNode* node = frame_tree_.root(); 4150 FrameTreeNode* node = frame_tree_.root();
4144 node->render_manager()->ResumeResponseDeferredAtStart(); 4151 node->render_manager()->ResumeResponseDeferredAtStart();
4145 } 4152 }
4146 4153
4147 } // namespace content 4154 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698