| OLD | NEW | 
|    1 // Copyright 2015 The Chromium Authors. All rights reserved. |    1 // Copyright 2015 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 #include "components/mus/public/cpp/tests/test_window_tree.h" |    5 #include "components/mus/public/cpp/tests/test_window_tree.h" | 
|    6  |    6  | 
|    7 namespace mus { |    7 namespace mus { | 
|    8  |    8  | 
|    9 TestWindowTree::TestWindowTree() : got_change_(false), change_id_(0) {} |    9 TestWindowTree::TestWindowTree() : got_change_(false), change_id_(0) {} | 
|   10  |   10  | 
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   44     const SetWindowVisibilityCallback& callback) {} |   44     const SetWindowVisibilityCallback& callback) {} | 
|   45  |   45  | 
|   46 void TestWindowTree::SetWindowProperty(uint32_t change_id, |   46 void TestWindowTree::SetWindowProperty(uint32_t change_id, | 
|   47                                        uint32_t window_id, |   47                                        uint32_t window_id, | 
|   48                                        const mojo::String& name, |   48                                        const mojo::String& name, | 
|   49                                        mojo::Array<uint8_t> value) { |   49                                        mojo::Array<uint8_t> value) { | 
|   50   got_change_ = true; |   50   got_change_ = true; | 
|   51   change_id_ = change_id; |   51   change_id_ = change_id; | 
|   52 } |   52 } | 
|   53  |   53  | 
|   54 void TestWindowTree::RequestSurface( |   54 void TestWindowTree::AttachSurface( | 
|   55     uint32_t window_id, |   55     uint32_t window_id, | 
|   56     mojom::SurfaceType type, |   56     mojom::SurfaceType type, | 
|   57     mojo::InterfaceRequest<mojom::Surface> surface, |   57     mojo::InterfaceRequest<mojom::Surface> surface, | 
|   58     mojom::SurfaceClientPtr client) {} |   58     mojom::SurfaceClientPtr client) {} | 
|   59  |   59  | 
|   60 void TestWindowTree::AddWindow(uint32_t parent, |   60 void TestWindowTree::AddWindow(uint32_t parent, | 
|   61                                uint32_t child, |   61                                uint32_t child, | 
|   62                                const AddWindowCallback& callback) {} |   62                                const AddWindowCallback& callback) {} | 
|   63  |   63  | 
|   64 void TestWindowTree::RemoveWindowFromParent( |   64 void TestWindowTree::RemoveWindowFromParent( | 
| (...skipping 28 matching lines...) Expand all  Loading... | 
|   93 void TestWindowTree::SetWindowTextInputState(uint32_t window_id, |   93 void TestWindowTree::SetWindowTextInputState(uint32_t window_id, | 
|   94                                              mojo::TextInputStatePtr state) {} |   94                                              mojo::TextInputStatePtr state) {} | 
|   95  |   95  | 
|   96 void TestWindowTree::SetImeVisibility(uint32_t window_id, |   96 void TestWindowTree::SetImeVisibility(uint32_t window_id, | 
|   97                                       bool visible, |   97                                       bool visible, | 
|   98                                       mojo::TextInputStatePtr state) {} |   98                                       mojo::TextInputStatePtr state) {} | 
|   99  |   99  | 
|  100 void TestWindowTree::WmResponse(uint32_t change_id, bool response) {} |  100 void TestWindowTree::WmResponse(uint32_t change_id, bool response) {} | 
|  101  |  101  | 
|  102 }  // namespace mus |  102 }  // namespace mus | 
| OLD | NEW |