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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h

Issue 2237433004: Adds DevTools commands for forced viewport override. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adress Dmitry's comments + sync. Created 4 years, 2 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 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 void setTransformOrigin(const FloatPoint3D&); 136 void setTransformOrigin(const FloatPoint3D&);
137 137
138 // The size of the layer. 138 // The size of the layer.
139 const FloatSize& size() const { return m_size; } 139 const FloatSize& size() const { return m_size; }
140 void setSize(const FloatSize&); 140 void setSize(const FloatSize&);
141 141
142 const TransformationMatrix& transform() const { return m_transform; } 142 const TransformationMatrix& transform() const { return m_transform; }
143 void setTransform(const TransformationMatrix&); 143 void setTransform(const TransformationMatrix&);
144 void setShouldFlattenTransform(bool); 144 void setShouldFlattenTransform(bool);
145 void setRenderingContext(int id); 145 void setRenderingContext(int id);
146
147 bool masksToBounds() const;
146 void setMasksToBounds(bool); 148 void setMasksToBounds(bool);
147 149
148 bool drawsContent() const { return m_drawsContent; } 150 bool drawsContent() const { return m_drawsContent; }
149 void setDrawsContent(bool); 151 void setDrawsContent(bool);
150 152
151 bool contentsAreVisible() const { return m_contentsVisible; } 153 bool contentsAreVisible() const { return m_contentsVisible; }
152 void setContentsVisible(bool); 154 void setContentsVisible(bool);
153 155
154 void setScrollParent(WebLayer*); 156 void setScrollParent(WebLayer*);
155 void setClipParent(WebLayer*); 157 void setClipParent(WebLayer*);
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 }; 376 };
375 377
376 } // namespace blink 378 } // namespace blink
377 379
378 #ifndef NDEBUG 380 #ifndef NDEBUG
379 // Outside the blink namespace for ease of invocation from gdb. 381 // Outside the blink namespace for ease of invocation from gdb.
380 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); 382 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*);
381 #endif 383 #endif
382 384
383 #endif // GraphicsLayer_h 385 #endif // GraphicsLayer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698