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

Side by Side Diff: ui/display/chromeos/test/test_display_layout_manager.h

Issue 2540313002: Split //ui/display and create //ui/display/manager. (Closed)
Patch Set: Cleanup export header. Created 4 years 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_DISPLAY_CHROMEOS_TEST_TEST_DISPLAY_LAYOUT_MANAGER_H_
6 #define UI_DISPLAY_CHROMEOS_TEST_TEST_DISPLAY_LAYOUT_MANAGER_H_
7
8 #include "base/macros.h"
9 #include "base/memory/scoped_vector.h"
10 #include "ui/display/chromeos/display_configurator.h"
11 #include "ui/display/chromeos/display_layout_manager.h"
12
13 namespace ui {
14 namespace test {
15
16 class TestDisplayLayoutManager : public DisplayLayoutManager {
17 public:
18 TestDisplayLayoutManager(ScopedVector<DisplaySnapshot> displays,
19 MultipleDisplayState display_state);
20 ~TestDisplayLayoutManager() override;
21
22 // DisplayLayoutManager:
23 DisplayConfigurator::StateController* GetStateController() const override;
24 DisplayConfigurator::SoftwareMirroringController*
25 GetSoftwareMirroringController() const override;
26 MultipleDisplayState GetDisplayState() const override;
27 chromeos::DisplayPowerState GetPowerState() const override;
28 bool GetDisplayLayout(const std::vector<DisplaySnapshot*>& displays,
29 MultipleDisplayState new_display_state,
30 chromeos::DisplayPowerState new_power_state,
31 std::vector<DisplayConfigureRequest>* requests,
32 gfx::Size* framebuffer_size) const override;
33 std::vector<DisplaySnapshot*> GetDisplayStates() const override;
34 bool IsMirroring() const override;
35
36 private:
37 ScopedVector<DisplaySnapshot> displays_;
38 MultipleDisplayState display_state_;
39
40 DISALLOW_COPY_AND_ASSIGN(TestDisplayLayoutManager);
41 };
42
43 } // namespace test
44 } // namespace ui
45
46 #endif // UI_DISPLAY_CHROMEOS_TEST_TEST_DISPLAY_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « ui/display/chromeos/test/action_logger_util.cc ('k') | ui/display/chromeos/test/test_display_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698