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

Side by Side Diff: third_party/WebKit/Source/core/page/scrolling/ScrollCustomizationCallbacks.cpp

Issue 1538363002: Remove config.h inclusion from third_party/WebKit/Source/core/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "config.h"
6 #include "core/page/scrolling/ScrollCustomizationCallbacks.h" 5 #include "core/page/scrolling/ScrollCustomizationCallbacks.h"
7 6
8 #include "core/page/scrolling/ScrollStateCallback.h" 7 #include "core/page/scrolling/ScrollStateCallback.h"
9 8
10 namespace blink { 9 namespace blink {
11 10
12 void ScrollCustomizationCallbacks::setDistributeScroll(Element* element, ScrollS tateCallback* scrollStateCallback) 11 void ScrollCustomizationCallbacks::setDistributeScroll(Element* element, ScrollS tateCallback* scrollStateCallback)
13 { 12 {
14 m_distributeScrollCallbacks.set(element, scrollStateCallback); 13 m_distributeScrollCallbacks.set(element, scrollStateCallback);
15 } 14 }
(...skipping 21 matching lines...) Expand all
37 36
38 #if !ENABLE(OILPAN) 37 #if !ENABLE(OILPAN)
39 void ScrollCustomizationCallbacks::removeCallbacksForElement(Element* element) 38 void ScrollCustomizationCallbacks::removeCallbacksForElement(Element* element)
40 { 39 {
41 m_applyScrollCallbacks.remove(element); 40 m_applyScrollCallbacks.remove(element);
42 m_distributeScrollCallbacks.remove(element); 41 m_distributeScrollCallbacks.remove(element);
43 } 42 }
44 #endif 43 #endif
45 44
46 } // namespace blink 45 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698