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

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameView.h

Issue 2651793012: [RootLayerScrolls] Annotate non-fast-scroll regions to correct layer (Closed)
Patch Set: Created 3 years, 10 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) 1997 Martin Jones (mjones@kde.org) 2 Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 (C) 1998 Waldo Bastian (bastian@kde.org) 3 (C) 1998 Waldo Bastian (bastian@kde.org)
4 (C) 1998, 1999 Torben Weis (weis@kde.org) 4 (C) 1998, 1999 Torben Weis (weis@kde.org)
5 (C) 1999 Lars Knoll (knoll@kde.org) 5 (C) 1999 Lars Knoll (knoll@kde.org)
6 (C) 1999 Antti Koivisto (koivisto@kde.org) 6 (C) 1999 Antti Koivisto (koivisto@kde.org)
7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
8 reserved. 8 reserved.
9 9
10 This library is free software; you can redistribute it and/or 10 This library is free software; you can redistribute it and/or
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 FloatQuad localToVisibleContentQuad(const FloatQuad&, 447 FloatQuad localToVisibleContentQuad(const FloatQuad&,
448 const LayoutObject*, 448 const LayoutObject*,
449 unsigned = 0) const final; 449 unsigned = 0) const final;
450 RefPtr<WebTaskRunner> getTimerTaskRunner() const final; 450 RefPtr<WebTaskRunner> getTimerTaskRunner() const final;
451 451
452 LayoutRect scrollIntoView(const LayoutRect& rectInContent, 452 LayoutRect scrollIntoView(const LayoutRect& rectInContent,
453 const ScrollAlignment& alignX, 453 const ScrollAlignment& alignX,
454 const ScrollAlignment& alignY, 454 const ScrollAlignment& alignY,
455 ScrollType = ProgrammaticScroll) override; 455 ScrollType = ProgrammaticScroll) override;
456 456
457 ClientRectList* nonFastScrollableRects() const override;
458
457 // The window that hosts the FrameView. The FrameView will communicate scrolls 459 // The window that hosts the FrameView. The FrameView will communicate scrolls
458 // and repaints to the host window in the window's coordinate space. 460 // and repaints to the host window in the window's coordinate space.
459 HostWindow* getHostWindow() const; 461 HostWindow* getHostWindow() const;
460 462
461 typedef HeapHashSet<Member<Widget>> ChildrenWidgetSet; 463 typedef HeapHashSet<Member<Widget>> ChildrenWidgetSet;
462 464
463 // Functions for child manipulation and inspection. 465 // Functions for child manipulation and inspection.
464 void setParent(Widget*) override; 466 void setParent(Widget*) override;
465 void removeChild(Widget*); 467 void removeChild(Widget*);
466 void addChild(Widget*); 468 void addChild(Widget*);
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
1241 widget.isFrameView()); 1243 widget.isFrameView());
1242 DEFINE_TYPE_CASTS(FrameView, 1244 DEFINE_TYPE_CASTS(FrameView,
1243 ScrollableArea, 1245 ScrollableArea,
1244 scrollableArea, 1246 scrollableArea,
1245 scrollableArea->isFrameView(), 1247 scrollableArea->isFrameView(),
1246 scrollableArea.isFrameView()); 1248 scrollableArea.isFrameView());
1247 1249
1248 } // namespace blink 1250 } // namespace blink
1249 1251
1250 #endif // FrameView_h 1252 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698