Searched refs:RectChromium (Results 1 – 4 of 4) sorted by relevance
/external/libmojo/mojo/public/cpp/bindings/tests/ |
D | rect_chromium.h | 15 class RectChromium { 17 RectChromium() {} in RectChromium() function 18 RectChromium(const RectChromium& other) in RectChromium() function 23 RectChromium(int x, int y, int width, int height) : in RectChromium() function 28 ~RectChromium() {} in ~RectChromium() 30 RectChromium& operator=(const RectChromium& other) {
|
D | rect_chromium_traits.h | 15 struct StructTraits<test::TypemappedRect, test::RectChromium> { 16 static int x(const test::RectChromium& r) { return r.x(); } 17 static int y(const test::RectChromium& r) { return r.y(); } 18 static int width(const test::RectChromium& r) { return r.width(); } 19 static int height(const test::RectChromium& r) { return r.height(); } 21 static bool Read(test::TypemappedRectDataView r, test::RectChromium* out) {
|
D | struct_traits_unittest.cc | 64 void AddRect(const RectChromium& r) override { in AddRect() 74 RectChromium largest_rect_; 172 chromium_proxy->AddRect(RectChromium(1, 1, 4, 5)); in TEST_F() 173 chromium_proxy->AddRect(RectChromium(-1, -1, 2, 2)); in TEST_F() 175 ExpectResult(RectChromium(1, 1, 4, 5), loop.QuitClosure())); in TEST_F() 185 chromium_proxy->AddRect(RectChromium(1, 1, 4, 5)); in TEST_F() 186 chromium_proxy->AddRect(RectChromium(2, 2, 5, 5)); in TEST_F() 188 ExpectResult(RectChromium(2, 2, 5, 5), loop.QuitClosure())); in TEST_F() 196 chromium_proxy->AddRect(RectChromium(-1, -1, 2, 2)); in TEST_F() 198 Fail<RectChromium>("The pipe should have been closed.")); in TEST_F()
|
D | rect_chromium.typemap | 9 type_mappings = [ "mojo.test.TypemappedRect=mojo::test::RectChromium" ]
|