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

Side by Side Diff: third_party/WebKit/Source/web/LinkHighlightImpl.h

Issue 2019583002: Don't include scroll offset in offsetFromLayoutObject for scrolling contents layers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // size since the last call to this function. 91 // size since the last call to this function.
92 bool computeHighlightLayerPathAndPosition(const LayoutBoxModelObject&); 92 bool computeHighlightLayerPathAndPosition(const LayoutBoxModelObject&);
93 93
94 OwnPtr<WebContentLayer> m_contentLayer; 94 OwnPtr<WebContentLayer> m_contentLayer;
95 OwnPtr<WebLayer> m_clipLayer; 95 OwnPtr<WebLayer> m_clipLayer;
96 Path m_path; 96 Path m_path;
97 97
98 Persistent<Node> m_node; 98 Persistent<Node> m_node;
99 WebViewImpl* m_owningWebViewImpl; 99 WebViewImpl* m_owningWebViewImpl;
100 GraphicsLayer* m_currentGraphicsLayer; 100 GraphicsLayer* m_currentGraphicsLayer;
101 bool m_isScrollingGraphicsLayer;
101 OwnPtr<CompositorAnimationPlayer> m_compositorPlayer; 102 OwnPtr<CompositorAnimationPlayer> m_compositorPlayer;
102 103
103 bool m_geometryNeedsUpdate; 104 bool m_geometryNeedsUpdate;
104 bool m_isAnimating; 105 bool m_isAnimating;
105 double m_startTime; 106 double m_startTime;
106 }; 107 };
107 108
108 } // namespace blink 109 } // namespace blink
109 110
110 #endif // LinkHighlightImpl_h 111 #endif // LinkHighlightImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698