| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef SERVICES_VIEW_MANAGER_TEST_SERVER_VIEW_DELEGATE_H_ | |
| 6 #define SERVICES_VIEW_MANAGER_TEST_SERVER_VIEW_DELEGATE_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 #include "services/view_manager/server_view_delegate.h" | |
| 10 | |
| 11 namespace view_manager { | |
| 12 | |
| 13 class TestServerViewDelegate : public ServerViewDelegate { | |
| 14 public: | |
| 15 TestServerViewDelegate(); | |
| 16 ~TestServerViewDelegate() override; | |
| 17 | |
| 18 private: | |
| 19 // ServerViewDelegate: | |
| 20 void PrepareToDestroyView(ServerView* view) override; | |
| 21 void PrepareToChangeViewHierarchy(ServerView* view, | |
| 22 ServerView* new_parent, | |
| 23 ServerView* old_parent) override; | |
| 24 void PrepareToChangeViewVisibility(ServerView* view) override; | |
| 25 void OnScheduleViewPaint(const ServerView* view) override; | |
| 26 | |
| 27 DISALLOW_COPY_AND_ASSIGN(TestServerViewDelegate); | |
| 28 }; | |
| 29 | |
| 30 } // namespace view_manager | |
| 31 | |
| 32 #endif // SERVICES_VIEW_MANAGER_TEST_SERVER_VIEW_DELEGATE_H_ | |
| OLD | NEW |