Home
last modified time | relevance | path

Searched refs:SharedRect (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/mojo/public/cpp/bindings/tests/
Dshared_rect_traits.h15 struct StructTraits<test::SharedTypemappedRectDataView, test::SharedRect> {
16 static int x(const test::SharedRect& r) { return r.x(); }
17 static int y(const test::SharedRect& r) { return r.y(); }
18 static int width(const test::SharedRect& r) { return r.width(); }
19 static int height(const test::SharedRect& r) { return r.height(); }
22 test::SharedRect* out) {
Dshared_rect.h15 class SharedRect {
17 SharedRect() {} in SharedRect() function
18 SharedRect(int x, int y, int width, int height) in SharedRect() function
Dstruct_traits_unittest.cc75 void PassSharedRect(const SharedRect& r, in PassSharedRect()
103 void PassSharedRect(const SharedRect& r, in PassSharedRect()
221 ExpectResult(SharedRect({1, 2, 3, 4}), loop.QuitClosure())); in TEST_F()
241 ExpectResult(SharedRect({1, 2, 3, 4}), loop.QuitClosure())); in TEST_F()
271 ExpectResult(SharedRect({4, 3, 2, 1}), loop.QuitClosure())); in TEST_F()
291 ExpectResult(SharedRect({4, 3, 2, 1}), loop.QuitClosure())); in TEST_F()
Drect_blink.typemap17 "mojo.test.SharedTypemappedRect=mojo::test::SharedRect",
Drect_chromium.typemap17 "mojo.test.SharedTypemappedRect=mojo::test::SharedRect",