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

Side by Side Diff: Source/core/rendering/compositing/RenderLayerCompositor.h

Issue 302993003: Route selection bounds updates through WebLayerTreeView (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 4 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) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 RootLayerAttachment rootLayerAttachment() const { return m_rootLayerAttachme nt; } 129 RootLayerAttachment rootLayerAttachment() const { return m_rootLayerAttachme nt; }
130 void updateRootLayerAttachment(); 130 void updateRootLayerAttachment();
131 void updateRootLayerPosition(); 131 void updateRootLayerPosition();
132 132
133 void setIsInWindow(bool); 133 void setIsInWindow(bool);
134 134
135 static RenderLayerCompositor* frameContentsCompositor(RenderPart*); 135 static RenderLayerCompositor* frameContentsCompositor(RenderPart*);
136 // Return true if the layers changed. 136 // Return true if the layers changed.
137 static bool parentFrameContentLayers(RenderPart*); 137 static bool parentFrameContentLayers(RenderPart*);
138 // Returns true if a suitable enclosing composited layer was found.
139 static bool computeEnclosingCompositingLayer(Node*, RenderLayer*&, GraphicsL ayer*&);
140 static void convertTargetSpaceQuadToCompositedLayer(const FloatQuad& targetS paceQuad, RenderObject* targetRenderer, RenderObject* compositedRenderer, FloatQ uad& compositedSpaceQuad);
138 141
139 // Update the geometry of the layers used for clipping and scrolling in fram es. 142 // Update the geometry of the layers used for clipping and scrolling in fram es.
140 void frameViewDidChangeLocation(const IntPoint& contentsOffset); 143 void frameViewDidChangeLocation(const IntPoint& contentsOffset);
141 void frameViewDidChangeSize(); 144 void frameViewDidChangeSize();
142 void frameViewDidScroll(); 145 void frameViewDidScroll();
143 void frameViewScrollbarsExistenceDidChange(); 146 void frameViewScrollbarsExistenceDidChange();
144 void rootFixedBackgroundsChanged(); 147 void rootFixedBackgroundsChanged();
145 148
146 bool scrollingLayerDidChange(RenderLayer*); 149 bool scrollingLayerDidChange(RenderLayer*);
147 150
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 #if USE(RUBBER_BANDING) 262 #if USE(RUBBER_BANDING)
260 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; 263 OwnPtr<GraphicsLayer> m_layerForOverhangShadow;
261 #endif 264 #endif
262 265
263 bool m_inOverlayFullscreenVideo; 266 bool m_inOverlayFullscreenVideo;
264 }; 267 };
265 268
266 } // namespace blink 269 } // namespace blink
267 270
268 #endif // RenderLayerCompositor_h 271 #endif // RenderLayerCompositor_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698