Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: services/ui/ws/test_utils.h

Issue 2627623003: Add full touch support to mus. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SERVICES_UI_WS_TEST_UTILS_H_ 5 #ifndef SERVICES_UI_WS_TEST_UTILS_H_
6 #define SERVICES_UI_WS_TEST_UTILS_H_ 6 #define SERVICES_UI_WS_TEST_UTILS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 // WindowServerDelegate: 547 // WindowServerDelegate:
548 void StartDisplayInit() override; 548 void StartDisplayInit() override;
549 void OnNoMoreDisplays() override; 549 void OnNoMoreDisplays() override;
550 std::unique_ptr<WindowTreeBinding> CreateWindowTreeBinding( 550 std::unique_ptr<WindowTreeBinding> CreateWindowTreeBinding(
551 BindingType type, 551 BindingType type,
552 ws::WindowServer* window_server, 552 ws::WindowServer* window_server,
553 ws::WindowTree* tree, 553 ws::WindowTree* tree,
554 mojom::WindowTreeRequest* tree_request, 554 mojom::WindowTreeRequest* tree_request,
555 mojom::WindowTreeClientPtr* client) override; 555 mojom::WindowTreeClientPtr* client) override;
556 bool IsTestConfig() const override; 556 bool IsTestConfig() const override;
557 void UpdateTouchTransforms() override {}
558 557
559 private: 558 private:
560 WindowServer* window_server_ = nullptr; 559 WindowServer* window_server_ = nullptr;
561 bool got_on_no_more_displays_ = false; 560 bool got_on_no_more_displays_ = false;
562 // All TestWindowTreeBinding objects created via CreateWindowTreeBinding. 561 // All TestWindowTreeBinding objects created via CreateWindowTreeBinding.
563 // These are owned by the corresponding WindowTree. 562 // These are owned by the corresponding WindowTree.
564 std::vector<TestWindowTreeBinding*> bindings_; 563 std::vector<TestWindowTreeBinding*> bindings_;
565 564
566 DISALLOW_COPY_AND_ASSIGN(TestWindowServerDelegate); 565 DISALLOW_COPY_AND_ASSIGN(TestWindowServerDelegate);
567 }; 566 };
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id); 672 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id);
674 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree, 673 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree,
675 ServerWindow* parent, 674 ServerWindow* parent,
676 ClientWindowId* client_id); 675 ClientWindowId* client_id);
677 676
678 } // namespace test 677 } // namespace test
679 } // namespace ws 678 } // namespace ws
680 } // namespace ui 679 } // namespace ui
681 680
682 #endif // SERVICES_UI_WS_TEST_UTILS_H_ 681 #endif // SERVICES_UI_WS_TEST_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698