Home
last modified time | relevance | path

Searched refs:WebSize (Results 1 – 25 of 137) sorted by relevance

123456

/external/chromium_org/third_party/WebKit/public/platform/
DWebSize.h47 struct WebSize { struct
53 WebSize() in WebSize() argument
59 WebSize(int width, int height) in WebSize() function
66 WebSize(const WebCore::IntSize& s) in WebSize() argument
72 WebSize& operator=(const WebCore::IntSize& s)
84 WebSize(const gfx::Size& s) in WebSize() argument
90 WebSize(const gfx::Vector2d& v) in WebSize() argument
96 WebSize& operator=(const gfx::Size& s)
103 WebSize& operator=(const gfx::Vector2d& v)
122 inline bool operator==(const WebSize& a, const WebSize& b) argument
[all …]
DWebLayerTreeView.h63 …virtual void setViewportSize(const WebSize& layoutViewportSize, const WebSize& deviceViewportSize)…
65 virtual WebSize layoutViewportSize() const = 0;
69 virtual WebSize deviceViewportSize() const = 0;
DWebLayer.h50 struct WebSize;
78 virtual void setBounds(const WebSize&) = 0;
79 virtual WebSize bounds() const = 0;
177 virtual void setMaxScrollPosition(WebSize) = 0;
178 virtual WebSize maxScrollPosition() const = 0;
DWebImage.h47 struct WebSize;
70 BLINK_PLATFORM_EXPORT static WebImage fromData(const WebData&, const WebSize& desiredSize);
80 BLINK_PLATFORM_EXPORT WebSize size() const;
DWebExternalBitmap.h40 virtual WebSize size() = 0;
44 virtual void setSize(WebSize) = 0;
/external/chromium_org/chrome/test/chromedriver/
Dbasic_types.cc18 WebSize::WebSize() : width(0), height(0) {} in WebSize() function in WebSize
20 WebSize::WebSize(int width, int height) : width(width), height(height) {} in WebSize() function in WebSize
22 WebSize::~WebSize() {} in ~WebSize()
29 WebRect::WebRect(const WebPoint& origin, const WebSize& size) in WebRect()
Dbasic_types.h19 struct WebSize { struct
20 WebSize();
21 WebSize(int width, int height);
22 ~WebSize();
31 WebRect(const WebPoint& origin, const WebSize& size); argument
40 WebSize size;
/external/chromium_org/content/public/test/
Dlayouttest_support.h14 struct WebSize;
65 const blink::WebSize& new_size);
79 const blink::WebSize& min_size,
80 const blink::WebSize& max_size);
82 const blink::WebSize& new_size);
/external/chromium_org/webkit/renderer/compositor_bindings/
Dweb_layer_impl_fixed_bounds_unittest.cc18 using blink::WebSize;
27 layer->setBounds(WebSize(100, 100)); in TEST()
28 EXPECT_EQ(WebSize(100, 100), layer->bounds()); in TEST()
41 const WebSize& bounds, in CheckBoundsScaleSimple()
70 CheckBoundsScaleSimple(layer.get(), WebSize(100, 200), gfx::Size(150, 250)); in TEST()
72 CheckBoundsScaleSimple(layer.get(), WebSize(100, 200), gfx::Size(75, 100)); in TEST()
74 CheckBoundsScaleSimple(layer.get(), WebSize(300, 100), gfx::Size(75, 100)); in TEST()
95 WebSize bounds(150, 200); in CompareFixedBoundsLayerAndNormalLayer()
97 WebSize sublayer_bounds(88, 99); in CompareFixedBoundsLayerAndNormalLayer()
Dweb_external_bitmap_impl.h32 virtual blink::WebSize size() OVERRIDE;
33 virtual void setSize(blink::WebSize size) OVERRIDE;
40 blink::WebSize size_;
/external/chromium_org/third_party/WebKit/Source/web/tests/
DWebImageTest.cpp60 WebImage image = WebImage::fromData(WebData(data), WebSize()); in TEST()
61 EXPECT_TRUE(image.size() == WebSize(1, 1)); in TEST()
73 EXPECT_TRUE(images[0].size() == WebSize(2, 2)); in TEST()
74 EXPECT_TRUE(images[1].size() == WebSize(1, 1)); in TEST()
96 WebImage image = WebImage::fromData(WebData(badImage), WebSize()); in TEST()
DWebFrameTest.cpp177 webViewHelper->webView()->resize(WebSize(640, 480)); in initializeTextSelectionWebView()
660 webViewHelper.webView()->resize(WebSize(viewportWidth, viewportHeight)); in TEST_F()
690 webViewHelper.webViewImpl()->resize(WebSize(viewportWidth, viewportHeight)); in TEST_F()
736 webViewHelper.webView()->setFixedLayoutSize(WebSize(fixedLayoutWidth, fixedLayoutHeight)); in TEST_F()
737 webViewHelper.webView()->resize(WebSize(viewportWidth, viewportHeight)); in TEST_F()
757 webViewHelper.webView()->setFixedLayoutSize(WebSize(fixedLayoutWidth, fixedLayoutHeight)); in TEST_F()
758 webViewHelper.webView()->resize(WebSize(viewportWidth, viewportHeight)); in TEST_F()
762 webViewHelper.webView()->resize(WebSize(viewportWidth * 2, viewportHeight * 2)); in TEST_F()
780 webViewHelper.webView()->setFixedLayoutSize(WebSize(viewportWidth, viewportHeight)); in TEST_F()
781 webViewHelper.webView()->resize(WebSize(viewportWidth, viewportHeight)); in TEST_F()
[all …]
DWebViewTest.cpp90 void setSize(const WebSize& newSize) { m_size = newSize; } in setSize()
103 WebSize m_size;
110 virtual void didAutoResize(const WebSize& newSize) { m_testData.setSize(newSize); } in didAutoResize()
229 void testAutoResize(const WebSize& minAutoResize, const WebSize& maxAutoResize,
292 webView->resize(WebSize(kWidth, kHeight)); in TEST_F()
358 webView->resize(WebSize(100, 100)); in TEST_F()
375 void WebViewTest::testAutoResize(const WebSize& minAutoResize, const WebSize& maxAutoResize, in testAutoResize()
409 WebSize minAutoResize(91, 56); in TEST_F()
410 WebSize maxAutoResize(403, 302); in TEST_F()
421 WebSize minAutoResize(90, 95); in TEST_F()
[all …]
/external/chromium_org/content/test/
Dweb_layer_tree_view_impl_for_testing.cc31 using blink::WebSize;
70 const WebSize& unused_deprecated, in setViewportSize()
71 const WebSize& device_viewport_size) { in setViewportSize()
75 WebSize WebLayerTreeViewImplForTesting::layoutViewportSize() const { in layoutViewportSize()
79 WebSize WebLayerTreeViewImplForTesting::deviceViewportSize() const { in deviceViewportSize()
Dlayouttest_support.cc33 using blink::WebSize;
127 const WebSize& new_size) { in ForceResizeRenderView()
144 const WebSize& min_size, in EnableAutoResizeMode()
145 const WebSize& max_size) { in EnableAutoResizeMode()
150 void DisableAutoResizeMode(RenderView* render_view, const WebSize& new_size) { in DisableAutoResizeMode()
Dweb_layer_tree_view_impl_for_testing.h35 virtual void setViewportSize(const blink::WebSize& unused_deprecated,
36 const blink::WebSize& device_viewport_size);
37 virtual blink::WebSize layoutViewportSize() const;
38 virtual blink::WebSize deviceViewportSize() const;
/external/chromium_org/third_party/WebKit/public/web/
DWebPrintParams.h49 WebSize paperSize;
62 WebPrintParams(const WebSize& paperSize) in WebPrintParams()
69 …WebPrintParams(const WebRect& printContentArea, const WebRect& printableArea, const WebSize& paper… in WebPrintParams()
DWebWidget.h58 virtual WebSize size() { return WebSize(); } in size()
67 virtual void resize(const WebSize&) { } in resize() argument
147 virtual void applyScrollAndScale(const WebSize& scrollDelta, float scaleFactor) { } in applyScrollAndScale()
DWebFrame.h83 struct WebSize;
178 virtual WebSize scrollOffset() const = 0;
179 virtual void setScrollOffset(const WebSize&) = 0;
182 virtual WebSize minimumScrollOffset() const = 0;
183 virtual WebSize maximumScrollOffset() const = 0;
186 virtual WebSize contentsSize() const = 0;
530 WebSize& pageSize,
661 virtual void printPagesWithBoundaries(WebCanvas*, const WebSize&) = 0;
/external/chromium_org/webkit/child/
Dfling_curve_configuration.h30 const blink::WebSize& cumulativeScroll);
35 const blink::WebSize& cumulativeScroll);
46 const blink::WebSize& cumulativeScroll);
Dfling_curve_configuration.cc30 const blink::WebSize& cumulativeScroll) { in CreateCore()
45 const blink::WebSize& cumulativeScroll) { in CreateForTouchPad()
51 const blink::WebSize& cumulativeScroll) { in CreateForTouchScreen()
/external/chromium_org/third_party/WebKit/public/testing/
DWebTestDelegate.h48 struct WebSize;
110 …virtual void enableAutoResizeMode(const blink::WebSize& minSize, const blink::WebSize& maxSize) = …
111 virtual void disableAutoResizeMode(const blink::WebSize&) = 0;
/external/chromium_org/third_party/WebKit/Source/platform/exported/
DWebImageSkia.cpp51 WebImage WebImage::fromData(const WebData& data, const WebSize& desiredSize) in fromData()
70 if (WebSize(frameSize) == desiredSize) { in fromData()
149 WebSize WebImage::size() const in size()
151 return WebSize(m_bitmap.width(), m_bitmap.height()); in size()
/external/chromium_org/third_party/WebKit/Source/web/
DWebDevToolsAgentPrivate.h39 struct WebSize;
51 virtual void webViewResized(const WebSize&) = 0;
/external/chromium_org/third_party/WebKit/Source/testing/runner/
DWebTestThemeEngineMock.cpp61 blink::WebSize WebTestThemeEngineMock::getSize(WebThemeEngine::Part part) in getSize()
67 const blink::WebSize invalidPartSize = blink::WebSize(100, 100); in getSize()
71 return blink::WebSize(17, 15); in getSize()
75 return blink::WebSize(15, 17); in getSize()
79 return blink::WebSize(15, 15); in getSize()
81 return blink::WebSize(15, 15); in getSize()
83 return blink::WebSize(0, 15); in getSize()
85 return blink::WebSize(15, 0); in getSize()
88 return blink::WebSize(13, 13); in getSize()
90 return blink::WebSize(11, 21); in getSize()
[all …]

123456