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

Side by Side Diff: third_party/WebKit/Source/core/input/ScrollManager.cpp

Issue 2769793002: Implement CSS: scroll-boundary-behavior (Closed)
Patch Set: Update WebScrollBoundaryBehavior. Created 3 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "core/input/ScrollManager.h" 5 #include "core/input/ScrollManager.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include "core/dom/DOMNodeIds.h" 8 #include "core/dom/DOMNodeIds.h"
9 #include "core/dom/Node.h"
bokan 2017/05/19 19:35:57 Unneeded leftovers?
sunyunjia 2017/05/25 20:07:10 Done.
10 #include "core/dom/NodeComputedStyle.h"
9 #include "core/events/GestureEvent.h" 11 #include "core/events/GestureEvent.h"
10 #include "core/frame/BrowserControls.h" 12 #include "core/frame/BrowserControls.h"
11 #include "core/frame/FrameView.h" 13 #include "core/frame/FrameView.h"
12 #include "core/html/HTMLFrameOwnerElement.h" 14 #include "core/html/HTMLFrameOwnerElement.h"
13 #include "core/input/EventHandler.h" 15 #include "core/input/EventHandler.h"
14 #include "core/input/EventHandlingUtil.h" 16 #include "core/input/EventHandlingUtil.h"
15 #include "core/layout/LayoutBlock.h" 17 #include "core/layout/LayoutBlock.h"
16 #include "core/layout/LayoutPart.h" 18 #include "core/layout/LayoutPart.h"
17 #include "core/layout/api/LayoutViewItem.h" 19 #include "core/layout/api/LayoutViewItem.h"
18 #include "core/loader/DocumentLoader.h" 20 #include "core/loader/DocumentLoader.h"
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 &should_update_capture)) { 656 &should_update_capture)) {
655 if (should_update_capture) 657 if (should_update_capture)
656 scrollbar_handling_scroll_gesture_ = scrollbar; 658 scrollbar_handling_scroll_gesture_ = scrollbar;
657 return true; 659 return true;
658 } 660 }
659 } 661 }
660 return false; 662 return false;
661 } 663 }
662 664
663 } // namespace blink 665 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698