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

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: Rebase to ToT for commit 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
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, 571 IPC_MESSAGE_HANDLER(FrameHostMsg_DidFirstVisuallyNonEmptyPaint,
572 OnFirstVisuallyNonEmptyPaint) 572 OnFirstVisuallyNonEmptyPaint)
573 IPC_MESSAGE_HANDLER(FrameHostMsg_WebUIMojoMainRan, OnWebUIMojoMainRan)
573 IPC_MESSAGE_HANDLER(ViewHostMsg_DidLoadResourceFromMemoryCache, 574 IPC_MESSAGE_HANDLER(ViewHostMsg_DidLoadResourceFromMemoryCache,
574 OnDidLoadResourceFromMemoryCache) 575 OnDidLoadResourceFromMemoryCache)
575 IPC_MESSAGE_HANDLER(ViewHostMsg_DidDisplayInsecureContent, 576 IPC_MESSAGE_HANDLER(ViewHostMsg_DidDisplayInsecureContent,
576 OnDidDisplayInsecureContent) 577 OnDidDisplayInsecureContent)
577 IPC_MESSAGE_HANDLER(ViewHostMsg_DidRunInsecureContent, 578 IPC_MESSAGE_HANDLER(ViewHostMsg_DidRunInsecureContent,
578 OnDidRunInsecureContent) 579 OnDidRunInsecureContent)
579 IPC_MESSAGE_HANDLER(ViewHostMsg_GoToEntryAtOffset, OnGoToEntryAtOffset) 580 IPC_MESSAGE_HANDLER(ViewHostMsg_GoToEntryAtOffset, OnGoToEntryAtOffset)
580 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateZoomLimits, OnUpdateZoomLimits) 581 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateZoomLimits, OnUpdateZoomLimits)
581 IPC_MESSAGE_HANDLER(ViewHostMsg_EnumerateDirectory, OnEnumerateDirectory) 582 IPC_MESSAGE_HANDLER(ViewHostMsg_EnumerateDirectory, OnEnumerateDirectory)
582 IPC_MESSAGE_HANDLER(ViewHostMsg_RegisterProtocolHandler, 583 IPC_MESSAGE_HANDLER(ViewHostMsg_RegisterProtocolHandler,
(...skipping 2469 matching lines...) Expand 10 before | Expand all | Expand 10 after
3052 delete power_save_blockers_[render_frame_message_source_][player_cookie]; 3053 delete power_save_blockers_[render_frame_message_source_][player_cookie];
3053 power_save_blockers_[render_frame_message_source_].erase(player_cookie); 3054 power_save_blockers_[render_frame_message_source_].erase(player_cookie);
3054 #endif // !defined(OS_CHROMEOS) 3055 #endif // !defined(OS_CHROMEOS)
3055 } 3056 }
3056 3057
3057 void WebContentsImpl::OnFirstVisuallyNonEmptyPaint() { 3058 void WebContentsImpl::OnFirstVisuallyNonEmptyPaint() {
3058 FOR_EACH_OBSERVER(WebContentsObserver, observers_, 3059 FOR_EACH_OBSERVER(WebContentsObserver, observers_,
3059 DidFirstVisuallyNonEmptyPaint()); 3060 DidFirstVisuallyNonEmptyPaint());
3060 } 3061 }
3061 3062
3063 void WebContentsImpl::OnWebUIMojoMainRan() {
3064 FOR_EACH_OBSERVER(WebContentsObserver,
3065 observers_,
3066 DidRunWebUIMojoMain());
3067 }
3068
3062 void WebContentsImpl::DidChangeVisibleSSLState() { 3069 void WebContentsImpl::DidChangeVisibleSSLState() {
3063 if (delegate_) 3070 if (delegate_)
3064 delegate_->VisibleSSLStateChanged(this); 3071 delegate_->VisibleSSLStateChanged(this);
3065 } 3072 }
3066 3073
3067 void WebContentsImpl::NotifyBeforeFormRepostWarningShow() { 3074 void WebContentsImpl::NotifyBeforeFormRepostWarningShow() {
3068 FOR_EACH_OBSERVER(WebContentsObserver, observers_, 3075 FOR_EACH_OBSERVER(WebContentsObserver, observers_,
3069 BeforeFormRepostWarningShow()); 3076 BeforeFormRepostWarningShow());
3070 } 3077 }
3071 3078
(...skipping 1164 matching lines...) Expand 10 before | Expand all | Expand 10 after
4236 if (new_size != old_size) 4243 if (new_size != old_size)
4237 delegate_->UpdatePreferredSize(this, new_size); 4244 delegate_->UpdatePreferredSize(this, new_size);
4238 } 4245 }
4239 4246
4240 void WebContentsImpl::ResumeResponseDeferredAtStart() { 4247 void WebContentsImpl::ResumeResponseDeferredAtStart() {
4241 FrameTreeNode* node = frame_tree_.root(); 4248 FrameTreeNode* node = frame_tree_.root();
4242 node->render_manager()->ResumeResponseDeferredAtStart(); 4249 node->render_manager()->ResumeResponseDeferredAtStart();
4243 } 4250 }
4244 4251
4245 } // namespace content 4252 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698