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

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

Issue 1230583002: Move protocol registration from WebViewClient to WebFrameClient, part 3/3. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@protocol1
Patch Set: Created 5 years, 5 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
« no previous file with comments | « no previous file | content/common/view_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/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 OnFirstVisuallyNonEmptyPaint) 588 OnFirstVisuallyNonEmptyPaint)
589 IPC_MESSAGE_HANDLER(ViewHostMsg_DidLoadResourceFromMemoryCache, 589 IPC_MESSAGE_HANDLER(ViewHostMsg_DidLoadResourceFromMemoryCache,
590 OnDidLoadResourceFromMemoryCache) 590 OnDidLoadResourceFromMemoryCache)
591 IPC_MESSAGE_HANDLER(ViewHostMsg_DidDisplayInsecureContent, 591 IPC_MESSAGE_HANDLER(ViewHostMsg_DidDisplayInsecureContent,
592 OnDidDisplayInsecureContent) 592 OnDidDisplayInsecureContent)
593 IPC_MESSAGE_HANDLER(ViewHostMsg_DidRunInsecureContent, 593 IPC_MESSAGE_HANDLER(ViewHostMsg_DidRunInsecureContent,
594 OnDidRunInsecureContent) 594 OnDidRunInsecureContent)
595 IPC_MESSAGE_HANDLER(ViewHostMsg_GoToEntryAtOffset, OnGoToEntryAtOffset) 595 IPC_MESSAGE_HANDLER(ViewHostMsg_GoToEntryAtOffset, OnGoToEntryAtOffset)
596 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateZoomLimits, OnUpdateZoomLimits) 596 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateZoomLimits, OnUpdateZoomLimits)
597 IPC_MESSAGE_HANDLER(ViewHostMsg_EnumerateDirectory, OnEnumerateDirectory) 597 IPC_MESSAGE_HANDLER(ViewHostMsg_EnumerateDirectory, OnEnumerateDirectory)
598 IPC_MESSAGE_HANDLER(ViewHostMsg_RegisterProtocolHandler,
599 OnRegisterProtocolHandler)
600 IPC_MESSAGE_HANDLER(ViewHostMsg_UnregisterProtocolHandler,
601 OnUnregisterProtocolHandler)
602 IPC_MESSAGE_HANDLER(FrameHostMsg_RegisterProtocolHandler, 598 IPC_MESSAGE_HANDLER(FrameHostMsg_RegisterProtocolHandler,
603 OnRegisterProtocolHandler) 599 OnRegisterProtocolHandler)
604 IPC_MESSAGE_HANDLER(FrameHostMsg_UnregisterProtocolHandler, 600 IPC_MESSAGE_HANDLER(FrameHostMsg_UnregisterProtocolHandler,
605 OnUnregisterProtocolHandler) 601 OnUnregisterProtocolHandler)
606 IPC_MESSAGE_HANDLER(ViewHostMsg_Find_Reply, OnFindReply) 602 IPC_MESSAGE_HANDLER(ViewHostMsg_Find_Reply, OnFindReply)
607 IPC_MESSAGE_HANDLER(ViewHostMsg_AppCacheAccessed, OnAppCacheAccessed) 603 IPC_MESSAGE_HANDLER(ViewHostMsg_AppCacheAccessed, OnAppCacheAccessed)
608 IPC_MESSAGE_HANDLER(ViewHostMsg_WebUISend, OnWebUISend) 604 IPC_MESSAGE_HANDLER(ViewHostMsg_WebUISend, OnWebUISend)
609 #if defined(ENABLE_PLUGINS) 605 #if defined(ENABLE_PLUGINS)
610 IPC_MESSAGE_HANDLER(FrameHostMsg_PepperInstanceCreated, 606 IPC_MESSAGE_HANDLER(FrameHostMsg_PepperInstanceCreated,
611 OnPepperInstanceCreated) 607 OnPepperInstanceCreated)
(...skipping 3881 matching lines...) Expand 10 before | Expand all | Expand 10 after
4493 player_map->erase(it); 4489 player_map->erase(it);
4494 } 4490 }
4495 4491
4496 void WebContentsImpl::SetForceDisableOverscrollContent(bool force_disable) { 4492 void WebContentsImpl::SetForceDisableOverscrollContent(bool force_disable) {
4497 force_disable_overscroll_content_ = force_disable; 4493 force_disable_overscroll_content_ = force_disable;
4498 if (view_) 4494 if (view_)
4499 view_->SetOverscrollControllerEnabled(CanOverscrollContent()); 4495 view_->SetOverscrollControllerEnabled(CanOverscrollContent());
4500 } 4496 }
4501 4497
4502 } // namespace content 4498 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698