/external/chromium_org/third_party/WebKit/Source/platform/geometry/cg/ |
H A D | IntSizeCG.cpp | 27 #include "platform/geometry/IntSize.h" 33 IntSize::IntSize(const CGSize& s) : m_width(static_cast<int>(s.width)), m_height(static_cast<int>(s.height)) function in class:blink::IntSize 37 IntSize::operator CGSize() const
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
H A D | IntSizeHash.h | 23 #include "platform/geometry/IntSize.h" 29 template<> struct IntHash<blink::IntSize> { 30 static unsigned hash(const blink::IntSize& key) { return pairIntHash(key.width(), key.height()); } 31 static bool equal(const blink::IntSize& a, const blink::IntSize& b) { return a == b; } 35 template<> struct DefaultHash<blink::IntSize> { 36 typedef IntHash<blink::IntSize> Hash; 39 template<> struct HashTraits<blink::IntSize> : GenericHashTraits<blink::IntSize> { 42 static void constructDeletedValue(blink::IntSize [all...] |
H A D | IntSize.h | 43 class PLATFORM_EXPORT IntSize { class in namespace:blink 45 IntSize() : m_width(0), m_height(0) { } function in class:blink::IntSize 46 IntSize(int width, int height) : m_width(width), m_height(height) { } function in class:blink::IntSize 76 IntSize expandedTo(const IntSize& other) const 78 return IntSize(m_width > other.m_width ? m_width : other.m_width, 82 IntSize shrunkTo(const IntSize& other) const 84 return IntSize(m_width < other.m_width ? m_width : other.m_width, 90 *this = expandedTo(IntSize()); [all...] |
H A D | RoundedRectTest.cpp | 64 RoundedRect rr(IntRect(100, 200, 300, 400), IntSize(10, 10), IntSize(10, 10), IntSize(10, 10), IntSize(10, 10)); 71 RoundedRect rr(IntRect(100, 200, 300, 400), IntSize(5, 5), IntSize(10, 10), IntSize(15, 15), IntSize(20, 20)); 78 RoundedRect rr(IntRect(100, 200, 300, 400), IntSize(20, 10), IntSize(2 [all...] |
H A D | RoundedRect.h | 43 Radii(const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight) 51 void setTopLeft(const IntSize& size) { m_topLeft = size; } 52 void setTopRight(const IntSize& size) { m_topRight = size; } 53 void setBottomLeft(const IntSize& size) { m_bottomLeft = size; } 54 void setBottomRight(const IntSize& size) { m_bottomRight = size; } 55 const IntSize& topLeft() const { return m_topLeft; } 56 const IntSize [all...] |
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
H A D | FrameViewAutoSizeInfo.h | 8 #include "platform/geometry/IntSize.h" 24 void configureAutoSizeMode(const IntSize& minSize, const IntSize& maxSize); 36 IntSize m_minAutoSize; 38 IntSize m_maxAutoSize;
|
H A D | Settings.h | 37 #include "platform/geometry/IntSize.h" 56 void setTextAutosizingWindowSizeOverride(const IntSize&); 57 const IntSize& textAutosizingWindowSizeOverride() const { return m_textAutosizingWindowSizeOverride; } 81 IntSize m_textAutosizingWindowSizeOverride;
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/mac/ |
H A D | IntSizeMac.mm | 27 #include "platform/geometry/IntSize.h" 33 IntSize::IntSize(const NSSize& s) : m_width(static_cast<int>(s.width)), m_height(static_cast<int>(s.height)) 37 IntSize::operator NSSize() const
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | CSSImageGeneratorValue.h | 41 SizeAndCount(IntSize newSize = IntSize(), int newCount = 0) argument 47 IntSize size; 57 void addClient(RenderObject*, const IntSize&); 59 PassRefPtr<Image> image(RenderObject*, const IntSize&); 62 IntSize fixedSize(const RenderObject*); 74 Image* getImage(RenderObject*, const IntSize&); 75 void putImage(const IntSize&, PassRefPtr<Image>); 78 HashCountedSet<IntSize> m_sizes; // A count of how many times a given image size is in use. 80 HashMap<IntSize, RefPt [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | PageScaleConstraintsSet.h | 37 #include "platform/geometry/IntSize.h" 64 void adjustFinalConstraintsToContentsSize(IntSize contentsSize, int nonOverlayScrollbarWidth); 66 void didChangeContentsSize(IntSize contentsSize, float pageScaleFactor); 76 void didChangeViewSize(const IntSize&); 78 IntSize mainFrameSize(const IntSize& contentsSize) const; 88 IntSize m_viewSize;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/ |
H A D | GaneshUtils.h | 35 #include "platform/geometry/IntSize.h" 41 bool PLATFORM_EXPORT ensureTextureBackedSkBitmap(GrContext*, SkBitmap&, const IntSize&, GrSurfaceOrigin, GrPixelConfig);
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | PopupMenu.h | 31 class IntSize; 37 virtual void show(const FloatQuad& controlPosition, const IntSize& controlSize, int index) = 0;
|
H A D | DragImage.h | 29 #include "platform/geometry/IntSize.h" 48 IntSize size() const { return IntSize(m_bitmap.width(), m_bitmap.height()); } 50 void fitToMaxSize(const IntSize& srcSize, const IntSize& maxSize);
|
H A D | DragImageTest.cpp | 37 #include "platform/geometry/IntSize.h" 56 static PassRefPtr<TestImage> create(const IntSize& size) 61 explicit TestImage(const IntSize& size) 70 virtual IntSize size() const OVERRIDE 99 IntSize m_size; 108 RefPtr<TestImage> nullTestImage(TestImage::create(IntSize())); 114 RefPtr<TestImage> testImage(TestImage::create(IntSize(2, 2))); 119 IntSize size = dragImage->size(); 131 RefPtr<TestImage> testImage(TestImage::create(IntSize())); 137 RefPtr<TestImage> testImage(TestImage::create(IntSize( [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | CrossfadeGeneratedImage.h | 29 #include "platform/geometry/IntSize.h" 39 static PassRefPtr<CrossfadeGeneratedImage> create(Image* fromImage, Image* toImage, float percentage, IntSize crossfadeSize, const IntSize& size) 44 virtual void setContainerSize(const IntSize&) OVERRIDE { } 49 virtual IntSize size() const OVERRIDE { return m_crossfadeSize; } 56 const FloatRect&, WebBlendMode, const IntSize& repeatSpacing) OVERRIDE; 58 CrossfadeGeneratedImage(Image* fromImage, Image* toImage, float percentage, IntSize crossfadeSize, const IntSize&); 67 IntSize m_crossfadeSize;
|
H A D | GeneratedImage.h | 29 #include "platform/geometry/IntSize.h" 39 virtual void setContainerSize(const IntSize& size) OVERRIDE { m_size = size; } 45 virtual IntSize size() const OVERRIDE { return m_size; } 53 const FloatRect&, WebBlendMode, const IntSize& repeatSpacing) OVERRIDE = 0; 60 IntSize m_size;
|
H A D | GradientGeneratedImage.h | 29 #include "platform/geometry/IntSize.h" 40 static PassRefPtr<GradientGeneratedImage> create(PassRefPtr<Gradient> generator, const IntSize& size) 54 const FloatRect&, WebBlendMode, const IntSize& repeatSpacing) OVERRIDE; 56 GradientGeneratedImage(PassRefPtr<Gradient> generator, const IntSize& size)
|
H A D | ImageBuffer.h | 33 #include "platform/geometry/IntSize.h" 74 static PassOwnPtr<ImageBuffer> create(const IntSize&, OpacityMode = NonOpaque); 81 const IntSize& size() const { return m_surface->size(); } 105 void putByteArray(Multiply, Uint8ClampedArray*, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint); 131 void drawPattern(GraphicsContext*, const FloatRect&, const FloatSize&, const FloatPoint&, CompositeOperator, const FloatRect&, WebBlendMode, const IntSize& repeatSpacing = IntSize()); 146 ImageDataBuffer(const IntSize& size, PassRefPtr<Uint8ClampedArray> data) : m_size(size), m_data(data) { } 147 IntSize size() const { return m_size; } 150 IntSize m_size;
|
/external/chromium_org/third_party/WebKit/Source/core/testing/ |
H A D | DummyPageHolder.h | 36 #include "platform/geometry/IntSize.h" 48 class IntSize; 64 const IntSize& initialViewSize = IntSize(), 75 DummyPageHolder(const IntSize& initialViewSize, Page::PageClients*, PassOwnPtr<FrameLoaderClient>);
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
H A D | ImageData.h | 33 #include "platform/geometry/IntSize.h" 46 static PassRefPtrWillBeRawPtr<ImageData> create(const IntSize&); 47 static PassRefPtrWillBeRawPtr<ImageData> create(const IntSize&, PassRefPtr<Uint8ClampedArray>); 51 IntSize size() const { return m_size; } 61 explicit ImageData(const IntSize&); 62 ImageData(const IntSize&, PassRefPtr<Uint8ClampedArray>); 64 IntSize m_size;
|
/external/chromium_org/third_party/WebKit/Source/core/paint/ |
H A D | BackgroundImageGeometry.h | 10 #include "platform/geometry/IntSize.h" 41 IntSize tileSize() const { return m_tileSize; } 42 void setTileSize(const IntSize& tileSize) 49 IntSize spaceSize() const { return m_repeatSpacing; } 50 void setSpaceSize(const IntSize& repeatSpacing) 72 IntSize m_tileSize; 73 IntSize m_repeatSpacing;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/ |
H A D | DrawingBuffer.h | 35 #include "platform/geometry/IntSize.h" 64 virtual IntSize oldestContextSize() = 0; 86 IntSize size; 98 static PassRefPtr<DrawingBuffer> create(PassOwnPtr<WebGraphicsContext3D>, const IntSize&, PreserveDrawingBuffer, WebGraphicsContext3D::Attributes requestedAttributes, PassRefPtr<ContextEvictionManager>); 110 static IntSize adjustSize(const IntSize& desiredSize, const IntSize& curSize, int maxTextureSize); 111 bool reset(const IntSize&); 113 IntSize size() const { return m_size; } 176 bool initialize(const IntSize [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | IconURL.h | 34 #include "platform/geometry/IntSize.h" 48 Vector<IntSize> m_sizes; 59 IconURL(const KURL& url, const Vector<IntSize>& sizes, const String& mimeType, IconType type)
|
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/ |
H A D | SVGImageCache.h | 24 #include "platform/geometry/IntSize.h" 49 void setContainerSizeForRenderer(const ImageResourceClient*, const IntSize&, float); 50 IntSize imageSizeForRenderer(const RenderObject*) const;
|
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
H A D | ScrollView.h | 112 IntSize visibleSize() const { return visibleContentRect().size(); } 116 IntSize unscaledVisibleContentSize(IncludeScrollbarsInRect = ExcludeScrollbars) const; 120 virtual IntSize inputEventsOffsetForEmulation() const { return IntSize(); } 125 // Functions for getting/setting the size of the document contained inside the ScrollView (as an IntSize or as individual width and height 127 virtual IntSize contentsSize() const OVERRIDE; // Always at least as big as the visibleWidth()/visibleHeight(). 130 virtual void setContentsSize(const IntSize&); 134 IntSize scrollOffset() const { return toIntSize(visibleContentRect().location()); } // Gets the scrolled position as an IntSize. Convenient for adding to other sizes. 135 IntSize pendingScrollDelt [all...] |