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

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

Issue 2628683003: Add DidSaveScrollOrScaleState flag to prevent restoreScrollPositionAndViewState restore from default (Closed)
Patch Set: Nate's Comment addressed Created 3 years, 11 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 996 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 void updateRenderThrottlingStatus(bool hidden, bool subtreeThrottled); 1007 void updateRenderThrottlingStatus(bool hidden, bool subtreeThrottled);
1008 void notifyResizeObservers(); 1008 void notifyResizeObservers();
1009 1009
1010 // PaintInvalidationCapableScrollableArea 1010 // PaintInvalidationCapableScrollableArea
1011 LayoutScrollbarPart* resizer() const override { return nullptr; } 1011 LayoutScrollbarPart* resizer() const override { return nullptr; }
1012 1012
1013 bool checkLayoutInvalidationIsAllowed() const; 1013 bool checkLayoutInvalidationIsAllowed() const;
1014 1014
1015 PaintController* paintController() { return m_paintController.get(); } 1015 PaintController* paintController() { return m_paintController.get(); }
1016 1016
1017 void setScrollFromNavigation();
majidvp 2017/01/24 21:53:52 In the frameview case, the scroll position is res
1018
1017 LayoutSize m_size; 1019 LayoutSize m_size;
1018 1020
1019 typedef HashSet<RefPtr<LayoutEmbeddedObject>> EmbeddedObjectSet; 1021 typedef HashSet<RefPtr<LayoutEmbeddedObject>> EmbeddedObjectSet;
1020 EmbeddedObjectSet m_partUpdateSet; 1022 EmbeddedObjectSet m_partUpdateSet;
1021 1023
1022 // FIXME: These are just "children" of the FrameView and should be 1024 // FIXME: These are just "children" of the FrameView and should be
1023 // Member<Widget> instead. 1025 // Member<Widget> instead.
1024 HashSet<RefPtr<LayoutPart>> m_parts; 1026 HashSet<RefPtr<LayoutPart>> m_parts;
1025 1027
1026 // The RefPtr cycle between LocalFrame and FrameView is broken 1028 // The RefPtr cycle between LocalFrame and FrameView is broken
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
1223 widget.isFrameView()); 1225 widget.isFrameView());
1224 DEFINE_TYPE_CASTS(FrameView, 1226 DEFINE_TYPE_CASTS(FrameView,
1225 ScrollableArea, 1227 ScrollableArea,
1226 scrollableArea, 1228 scrollableArea,
1227 scrollableArea->isFrameView(), 1229 scrollableArea->isFrameView(),
1228 scrollableArea.isFrameView()); 1230 scrollableArea.isFrameView());
1229 1231
1230 } // namespace blink 1232 } // namespace blink
1231 1233
1232 #endif // FrameView_h 1234 #endif // FrameView_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698