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

Side by Side Diff: ash/display/display_manager.h

Issue 192483007: Move chromeos/display/* to ui/display/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Include display.gyp into ChromeOS builds only Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « ash/display/display_error_observer_chromeos.h ('k') | ash/display/display_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 ASH_DISPLAY_DISPLAY_MANAGER_H_ 5 #ifndef ASH_DISPLAY_DISPLAY_MANAGER_H_
6 #define ASH_DISPLAY_DISPLAY_MANAGER_H_ 6 #define ASH_DISPLAY_DISPLAY_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "ash/ash_export.h" 11 #include "ash/ash_export.h"
12 #include "ash/display/display_info.h" 12 #include "ash/display/display_info.h"
13 #include "ash/display/display_layout.h" 13 #include "ash/display/display_layout.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/gtest_prod_util.h" 15 #include "base/gtest_prod_util.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "ui/gfx/display.h" 17 #include "ui/gfx/display.h"
18 18
19 #if defined(OS_CHROMEOS) 19 #if defined(OS_CHROMEOS)
20 #include "chromeos/display/output_configurator.h" 20 #include "ui/display/chromeos/output_configurator.h"
21 #endif 21 #endif
22 22
23 namespace gfx { 23 namespace gfx {
24 class Display; 24 class Display;
25 class Insets; 25 class Insets;
26 class Rect; 26 class Rect;
27 class Screen; 27 class Screen;
28 } 28 }
29 29
30 namespace ash { 30 namespace ash {
31 class AcceleratorControllerTest; 31 class AcceleratorControllerTest;
32 class DisplayController; 32 class DisplayController;
33 class ScreenAsh; 33 class ScreenAsh;
34 34
35 namespace test { 35 namespace test {
36 class DisplayManagerTestApi; 36 class DisplayManagerTestApi;
37 class SystemGestureEventFilterTest; 37 class SystemGestureEventFilterTest;
38 } 38 }
39 namespace internal { 39 namespace internal {
40 class DisplayLayoutStore; 40 class DisplayLayoutStore;
41 41
42 // DisplayManager maintains the current display configurations, 42 // DisplayManager maintains the current display configurations,
43 // and notifies observers when configuration changes. 43 // and notifies observers when configuration changes.
44 // 44 //
45 // TODO(oshima): Make this non internal. 45 // TODO(oshima): Make this non internal.
46 class ASH_EXPORT DisplayManager 46 class ASH_EXPORT DisplayManager
47 #if defined(OS_CHROMEOS) 47 #if defined(OS_CHROMEOS)
48 : public chromeos::OutputConfigurator::SoftwareMirroringController 48 : public ui::OutputConfigurator::SoftwareMirroringController
49 #endif 49 #endif
50 { 50 {
51 public: 51 public:
52 class ASH_EXPORT Delegate { 52 class ASH_EXPORT Delegate {
53 public: 53 public:
54 virtual ~Delegate() {} 54 virtual ~Delegate() {}
55 55
56 // Create or updates the non desktop window with |display_info|. 56 // Create or updates the non desktop window with |display_info|.
57 virtual void CreateOrUpdateNonDesktopDisplay( 57 virtual void CreateOrUpdateNonDesktopDisplay(
58 const DisplayInfo& display_info) = 0; 58 const DisplayInfo& display_info) = 0;
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 int64 mirrored_display_id_; 354 int64 mirrored_display_id_;
355 gfx::Display non_desktop_display_; 355 gfx::Display non_desktop_display_;
356 356
357 DISALLOW_COPY_AND_ASSIGN(DisplayManager); 357 DISALLOW_COPY_AND_ASSIGN(DisplayManager);
358 }; 358 };
359 359
360 } // namespace internal 360 } // namespace internal
361 } // namespace ash 361 } // namespace ash
362 362
363 #endif // ASH_DISPLAY_DISPLAY_MANAGER_H_ 363 #endif // ASH_DISPLAY_DISPLAY_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/display/display_error_observer_chromeos.h ('k') | ash/display/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698