Home
last modified time | relevance | path

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

/external/libchrome/mojo/public/cpp/bindings/tests/
Drect_chromium.h15 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) {
58 bool operator==(const RectChromium& other) const {
62 bool operator!=(const RectChromium& other) const { return !(*this == other); }
77 struct hash<mojo::test::RectChromium> {
78 size_t operator()(const mojo::test::RectChromium& value) {
Drect_chromium_traits.h15 struct StructTraits<test::TypemappedRectDataView, 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) {
Dstruct_traits_unittest.cc66 void AddRect(const RectChromium& r) override { in AddRect()
81 RectChromium largest_rect_;
211 chromium_proxy->AddRect(RectChromium(1, 1, 4, 5)); in TEST_F()
212 chromium_proxy->AddRect(RectChromium(-1, -1, 2, 2)); in TEST_F()
214 ExpectResult(RectChromium(1, 1, 4, 5), loop.QuitClosure())); in TEST_F()
231 chromium_proxy->AddRect(RectChromium(1, 1, 4, 5)); in TEST_F()
232 chromium_proxy->AddRect(RectChromium(2, 2, 5, 5)); in TEST_F()
234 ExpectResult(RectChromium(2, 2, 5, 5), loop.QuitClosure())); in TEST_F()
249 chromium_proxy->AddRect(RectChromium(-1, -1, 2, 2)); in TEST_F()
251 Fail<RectChromium>("The pipe should have been closed.")); in TEST_F()
Dmap_unittest.cc34 std::make_pair(ContainsHashable::New(RectChromium(1, 2, 3, 4)), 123)); in TEST()
36 ContainsHashablePtr key = ContainsHashable::New(RectChromium(1, 2, 3, 4)); in TEST()
Drect_chromium.typemap16 "mojo.test.TypemappedRect=mojo::test::RectChromium[hashable]",