| 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 "ui/display/chromeos/test/test_display_layout_manager.h" |   5 #include "ui/display/manager/chromeos/test/test_display_layout_manager.h" | 
|   6  |   6  | 
|   7 #include <utility> |   7 #include <utility> | 
|   8  |   8  | 
|   9 #include "ui/display/types/display_snapshot.h" |   9 #include "ui/display/types/display_snapshot.h" | 
|  10  |  10  | 
|  11 namespace ui { |  11 namespace ui { | 
|  12 namespace test { |  12 namespace test { | 
|  13  |  13  | 
|  14 TestDisplayLayoutManager::TestDisplayLayoutManager( |  14 TestDisplayLayoutManager::TestDisplayLayoutManager( | 
|  15     ScopedVector<DisplaySnapshot> displays, |  15     ScopedVector<DisplaySnapshot> displays, | 
|  16     MultipleDisplayState display_state) |  16     MultipleDisplayState display_state) | 
|  17     : displays_(std::move(displays)), display_state_(display_state) { |  17     : displays_(std::move(displays)), display_state_(display_state) {} | 
|  18 } |  | 
|  19  |  18  | 
|  20 TestDisplayLayoutManager::~TestDisplayLayoutManager() { |  19 TestDisplayLayoutManager::~TestDisplayLayoutManager() {} | 
|  21 } |  | 
|  22  |  20  | 
|  23 DisplayConfigurator::StateController* |  21 DisplayConfigurator::StateController* | 
|  24 TestDisplayLayoutManager::GetStateController() const { |  22 TestDisplayLayoutManager::GetStateController() const { | 
|  25   return nullptr; |  23   return nullptr; | 
|  26 } |  24 } | 
|  27  |  25  | 
|  28 DisplayConfigurator::SoftwareMirroringController* |  26 DisplayConfigurator::SoftwareMirroringController* | 
|  29 TestDisplayLayoutManager::GetSoftwareMirroringController() const { |  27 TestDisplayLayoutManager::GetSoftwareMirroringController() const { | 
|  30   return nullptr; |  28   return nullptr; | 
|  31 } |  29 } | 
| (...skipping 21 matching lines...) Expand all  Loading... | 
|  53     const { |  51     const { | 
|  54   return displays_.get(); |  52   return displays_.get(); | 
|  55 } |  53 } | 
|  56  |  54  | 
|  57 bool TestDisplayLayoutManager::IsMirroring() const { |  55 bool TestDisplayLayoutManager::IsMirroring() const { | 
|  58   return display_state_ == MULTIPLE_DISPLAY_STATE_DUAL_MIRROR; |  56   return display_state_ == MULTIPLE_DISPLAY_STATE_DUAL_MIRROR; | 
|  59 } |  57 } | 
|  60  |  58  | 
|  61 }  // namespace test |  59 }  // namespace test | 
|  62 }  // namespace ui |  60 }  // namespace ui | 
| OLD | NEW |