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

Side by Side Diff: third_party/WebKit/Source/core/page/Page.h

Issue 2911103002: Revert of Implement Element.scrollIntoView for scroll-behavior: smooth. (Closed)
Patch Set: Created 3 years, 6 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 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. 4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved.
5 * (http://www.torchmobile.com/) 5 * (http://www.torchmobile.com/)
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 class EventHandlerRegistry; 59 class EventHandlerRegistry;
60 class FocusController; 60 class FocusController;
61 class Frame; 61 class Frame;
62 class OverscrollController; 62 class OverscrollController;
63 struct PageScaleConstraints; 63 struct PageScaleConstraints;
64 class PageScaleConstraintsSet; 64 class PageScaleConstraintsSet;
65 class PluginData; 65 class PluginData;
66 class PointerLockController; 66 class PointerLockController;
67 class ScopedPageSuspender; 67 class ScopedPageSuspender;
68 class ScrollingCoordinator; 68 class ScrollingCoordinator;
69 class SmoothScrollSequencer;
70 class Settings; 69 class Settings;
71 class ConsoleMessageStorage; 70 class ConsoleMessageStorage;
72 class SpellCheckerClient; 71 class SpellCheckerClient;
73 class TopDocumentRootScrollerController; 72 class TopDocumentRootScrollerController;
74 class ValidationMessageClient; 73 class ValidationMessageClient;
75 class VisualViewport; 74 class VisualViewport;
76 class WebLayerTreeView; 75 class WebLayerTreeView;
77 76
78 typedef uint64_t LinkHash; 77 typedef uint64_t LinkHash;
79 78
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 PointerLockController& GetPointerLockController() const { 170 PointerLockController& GetPointerLockController() const {
172 return *pointer_lock_controller_; 171 return *pointer_lock_controller_;
173 } 172 }
174 ValidationMessageClient& GetValidationMessageClient() const { 173 ValidationMessageClient& GetValidationMessageClient() const {
175 return *validation_message_client_; 174 return *validation_message_client_;
176 } 175 }
177 void SetValidationMessageClient(ValidationMessageClient*); 176 void SetValidationMessageClient(ValidationMessageClient*);
178 177
179 ScrollingCoordinator* GetScrollingCoordinator(); 178 ScrollingCoordinator* GetScrollingCoordinator();
180 179
181 SmoothScrollSequencer* GetSmoothScrollSequencer();
182
183 ClientRectList* NonFastScrollableRects(const LocalFrame*); 180 ClientRectList* NonFastScrollableRects(const LocalFrame*);
184 181
185 Settings& GetSettings() const { return *settings_; } 182 Settings& GetSettings() const { return *settings_; }
186 183
187 UseCounter& GetUseCounter() { return use_counter_; } 184 UseCounter& GetUseCounter() { return use_counter_; }
188 Deprecation& GetDeprecation() { return deprecation_; } 185 Deprecation& GetDeprecation() { return deprecation_; }
189 HostsUsingFeatures& GetHostsUsingFeatures() { return hosts_using_features_; } 186 HostsUsingFeatures& GetHostsUsingFeatures() { return hosts_using_features_; }
190 187
191 PageScaleConstraintsSet& GetPageScaleConstraintsSet(); 188 PageScaleConstraintsSet& GetPageScaleConstraintsSet();
192 const PageScaleConstraintsSet& GetPageScaleConstraintsSet() const; 189 const PageScaleConstraintsSet& GetPageScaleConstraintsSet() const;
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 Member<PageAnimator> animator_; 295 Member<PageAnimator> animator_;
299 const Member<AutoscrollController> autoscroll_controller_; 296 const Member<AutoscrollController> autoscroll_controller_;
300 Member<ChromeClient> chrome_client_; 297 Member<ChromeClient> chrome_client_;
301 const Member<DragCaret> drag_caret_; 298 const Member<DragCaret> drag_caret_;
302 const Member<DragController> drag_controller_; 299 const Member<DragController> drag_controller_;
303 const Member<FocusController> focus_controller_; 300 const Member<FocusController> focus_controller_;
304 const Member<ContextMenuController> context_menu_controller_; 301 const Member<ContextMenuController> context_menu_controller_;
305 const std::unique_ptr<PageScaleConstraintsSet> page_scale_constraints_set_; 302 const std::unique_ptr<PageScaleConstraintsSet> page_scale_constraints_set_;
306 const Member<PointerLockController> pointer_lock_controller_; 303 const Member<PointerLockController> pointer_lock_controller_;
307 Member<ScrollingCoordinator> scrolling_coordinator_; 304 Member<ScrollingCoordinator> scrolling_coordinator_;
308 Member<SmoothScrollSequencer> smooth_scroll_sequencer_;
309 const Member<BrowserControls> browser_controls_; 305 const Member<BrowserControls> browser_controls_;
310 const Member<ConsoleMessageStorage> console_message_storage_; 306 const Member<ConsoleMessageStorage> console_message_storage_;
311 const Member<EventHandlerRegistry> event_handler_registry_; 307 const Member<EventHandlerRegistry> event_handler_registry_;
312 const Member<TopDocumentRootScrollerController> 308 const Member<TopDocumentRootScrollerController>
313 global_root_scroller_controller_; 309 global_root_scroller_controller_;
314 const Member<VisualViewport> visual_viewport_; 310 const Member<VisualViewport> visual_viewport_;
315 const Member<OverscrollController> overscroll_controller_; 311 const Member<OverscrollController> overscroll_controller_;
316 312
317 // Typically, the main frame and Page should both be owned by the embedder, 313 // Typically, the main frame and Page should both be owned by the embedder,
318 // which must call Page::willBeDestroyed() prior to destroying Page. This 314 // which must call Page::willBeDestroyed() prior to destroying Page. This
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 #endif 356 #endif
361 357
362 int subframe_count_; 358 int subframe_count_;
363 }; 359 };
364 360
365 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; 361 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>;
366 362
367 } // namespace blink 363 } // namespace blink
368 364
369 #endif // Page_h 365 #endif // Page_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/ScrollAlignment.cpp ('k') | third_party/WebKit/Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698