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

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

Issue 1319073003: Organize Layout Hooks (content-side). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix aura and linux test failures. Created 5 years, 3 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
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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 OnDocumentLoadedInFrame) 615 OnDocumentLoadedInFrame)
616 IPC_MESSAGE_HANDLER(FrameHostMsg_DidFinishLoad, OnDidFinishLoad) 616 IPC_MESSAGE_HANDLER(FrameHostMsg_DidFinishLoad, OnDidFinishLoad)
617 IPC_MESSAGE_HANDLER(FrameHostMsg_OpenColorChooser, OnOpenColorChooser) 617 IPC_MESSAGE_HANDLER(FrameHostMsg_OpenColorChooser, OnOpenColorChooser)
618 IPC_MESSAGE_HANDLER(FrameHostMsg_EndColorChooser, OnEndColorChooser) 618 IPC_MESSAGE_HANDLER(FrameHostMsg_EndColorChooser, OnEndColorChooser)
619 IPC_MESSAGE_HANDLER(FrameHostMsg_SetSelectedColorInColorChooser, 619 IPC_MESSAGE_HANDLER(FrameHostMsg_SetSelectedColorInColorChooser,
620 OnSetSelectedColorInColorChooser) 620 OnSetSelectedColorInColorChooser)
621 IPC_MESSAGE_HANDLER(FrameHostMsg_MediaPlayingNotification, 621 IPC_MESSAGE_HANDLER(FrameHostMsg_MediaPlayingNotification,
622 OnMediaPlayingNotification) 622 OnMediaPlayingNotification)
623 IPC_MESSAGE_HANDLER(FrameHostMsg_MediaPausedNotification, 623 IPC_MESSAGE_HANDLER(FrameHostMsg_MediaPausedNotification,
624 OnMediaPausedNotification) 624 OnMediaPausedNotification)
625 IPC_MESSAGE_HANDLER(FrameHostMsg_DidFirstVisuallyNonEmptyPaint, 625 IPC_MESSAGE_HANDLER(ViewHostMsg_DidFirstVisuallyNonEmptyPaint,
626 OnFirstVisuallyNonEmptyPaint) 626 OnFirstVisuallyNonEmptyPaint)
627 IPC_MESSAGE_HANDLER(ViewHostMsg_DidLoadResourceFromMemoryCache, 627 IPC_MESSAGE_HANDLER(ViewHostMsg_DidLoadResourceFromMemoryCache,
628 OnDidLoadResourceFromMemoryCache) 628 OnDidLoadResourceFromMemoryCache)
629 IPC_MESSAGE_HANDLER(ViewHostMsg_DidDisplayInsecureContent, 629 IPC_MESSAGE_HANDLER(ViewHostMsg_DidDisplayInsecureContent,
630 OnDidDisplayInsecureContent) 630 OnDidDisplayInsecureContent)
631 IPC_MESSAGE_HANDLER(ViewHostMsg_DidRunInsecureContent, 631 IPC_MESSAGE_HANDLER(ViewHostMsg_DidRunInsecureContent,
632 OnDidRunInsecureContent) 632 OnDidRunInsecureContent)
633 IPC_MESSAGE_HANDLER(ViewHostMsg_GoToEntryAtOffset, OnGoToEntryAtOffset) 633 IPC_MESSAGE_HANDLER(ViewHostMsg_GoToEntryAtOffset, OnGoToEntryAtOffset)
634 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateZoomLimits, OnUpdateZoomLimits) 634 IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateZoomLimits, OnUpdateZoomLimits)
635 IPC_MESSAGE_HANDLER(ViewHostMsg_EnumerateDirectory, OnEnumerateDirectory) 635 IPC_MESSAGE_HANDLER(ViewHostMsg_EnumerateDirectory, OnEnumerateDirectory)
(...skipping 3979 matching lines...) Expand 10 before | Expand all | Expand 10 after
4615 player_map->erase(it); 4615 player_map->erase(it);
4616 } 4616 }
4617 4617
4618 void WebContentsImpl::SetForceDisableOverscrollContent(bool force_disable) { 4618 void WebContentsImpl::SetForceDisableOverscrollContent(bool force_disable) {
4619 force_disable_overscroll_content_ = force_disable; 4619 force_disable_overscroll_content_ = force_disable;
4620 if (view_) 4620 if (view_)
4621 view_->SetOverscrollControllerEnabled(CanOverscrollContent()); 4621 view_->SetOverscrollControllerEnabled(CanOverscrollContent());
4622 } 4622 }
4623 4623
4624 } // namespace content 4624 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698