| OLD | NEW |
| 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/ScrollState.h" | 5 #include "core/page/scrolling/ScrollState.h" |
| 7 | 6 |
| 8 #include "core/dom/DOMNodeIds.h" | 7 #include "core/dom/DOMNodeIds.h" |
| 9 #include "core/dom/Element.h" | 8 #include "core/dom/Element.h" |
| 10 #include "core/dom/ExceptionCode.h" | 9 #include "core/dom/ExceptionCode.h" |
| 11 | 10 |
| 12 namespace blink { | 11 namespace blink { |
| 13 | 12 |
| 14 namespace { | 13 namespace { |
| 15 Element* elementForId(int elementId) | 14 Element* elementForId(int elementId) |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 { | 95 { |
| 97 return m_data->currentNativeScrollingElement; | 96 return m_data->currentNativeScrollingElement; |
| 98 } | 97 } |
| 99 | 98 |
| 100 void ScrollState::setCurrentNativeScrollingElementById(int elementId) | 99 void ScrollState::setCurrentNativeScrollingElementById(int elementId) |
| 101 { | 100 { |
| 102 m_data->currentNativeScrollingElement = elementId; | 101 m_data->currentNativeScrollingElement = elementId; |
| 103 } | 102 } |
| 104 | 103 |
| 105 } // namespace blink | 104 } // namespace blink |
| OLD | NEW |