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

Side by Side Diff: Source/core/frame/FrameView.cpp

Issue 1115553002: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 7 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 | « Source/core/fetch/ResourceLoader.cpp ('k') | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999 Lars Knoll <knoll@kde.org> 3 * 1999 Lars Knoll <knoll@kde.org>
4 * 1999 Antti Koivisto <koivisto@kde.org> 4 * 1999 Antti Koivisto <koivisto@kde.org>
5 * 2000 Dirk Mueller <mueller@kde.org> 5 * 2000 Dirk Mueller <mueller@kde.org>
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
9 * Copyright (C) 2009 Google Inc. All rights reserved. 9 * Copyright (C) 2009 Google Inc. All rights reserved.
10 * 10 *
(...skipping 3136 matching lines...) Expand 10 before | Expand all | Expand 10 after
3147 if (verticalLock) 3147 if (verticalLock)
3148 setVerticalScrollbarLock(); 3148 setVerticalScrollbarLock();
3149 3149
3150 if (!needsUpdate) 3150 if (!needsUpdate)
3151 return; 3151 return;
3152 3152
3153 updateScrollbars(scrollOffsetDouble()); 3153 updateScrollbars(scrollOffsetDouble());
3154 3154
3155 if (!layerForScrolling()) 3155 if (!layerForScrolling())
3156 return; 3156 return;
3157 blink::WebLayer* layer = layerForScrolling()->platformLayer(); 3157 WebLayer* layer = layerForScrolling()->platformLayer();
3158 if (!layer) 3158 if (!layer)
3159 return; 3159 return;
3160 layer->setUserScrollable(userInputScrollable(HorizontalScrollbar), userInput Scrollable(VerticalScrollbar)); 3160 layer->setUserScrollable(userInputScrollable(HorizontalScrollbar), userInput Scrollable(VerticalScrollbar));
3161 } 3161 }
3162 3162
3163 void FrameView::setClipsRepaints(bool clipsRepaints) 3163 void FrameView::setClipsRepaints(bool clipsRepaints)
3164 { 3164 {
3165 m_clipsRepaints = clipsRepaints; 3165 m_clipsRepaints = clipsRepaints;
3166 } 3166 }
3167 3167
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
3986 { 3986 {
3987 Settings* settings = frame().settings(); 3987 Settings* settings = frame().settings();
3988 if (!settings || !settings->rootLayerScrolls()) 3988 if (!settings || !settings->rootLayerScrolls())
3989 return this; 3989 return this;
3990 3990
3991 LayoutView* layoutView = this->layoutView(); 3991 LayoutView* layoutView = this->layoutView();
3992 return layoutView ? layoutView->scrollableArea() : nullptr; 3992 return layoutView ? layoutView->scrollableArea() : nullptr;
3993 } 3993 }
3994 3994
3995 } // namespace blink 3995 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/fetch/ResourceLoader.cpp ('k') | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698