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

Side by Side Diff: ash/display/display_controller.cc

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
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 #include "ash/display/display_controller.h" 5 #include "ash/display/display_controller.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 #include <map> 9 #include <map>
10 10
(...skipping 25 matching lines...) Expand all
36 #include "ui/compositor/compositor.h" 36 #include "ui/compositor/compositor.h"
37 #include "ui/compositor/compositor_vsync_manager.h" 37 #include "ui/compositor/compositor_vsync_manager.h"
38 #include "ui/gfx/display.h" 38 #include "ui/gfx/display.h"
39 #include "ui/gfx/screen.h" 39 #include "ui/gfx/screen.h"
40 40
41 #if defined(OS_CHROMEOS) 41 #if defined(OS_CHROMEOS)
42 #include "base/sys_info.h" 42 #include "base/sys_info.h"
43 #include "base/time/time.h" 43 #include "base/time/time.h"
44 #if defined(USE_X11) 44 #if defined(USE_X11)
45 #include "ash/display/output_configurator_animation.h" 45 #include "ash/display/output_configurator_animation.h"
46 #include "chromeos/display/output_configurator.h"
47 #include "ui/base/x/x11_util.h" 46 #include "ui/base/x/x11_util.h"
48 #include "ui/gfx/x/x11_types.h" 47 #include "ui/gfx/x/x11_types.h"
49 48
50 // Including this at the bottom to avoid other 49 // Including this at the bottom to avoid other
51 // potential conflict with chrome headers. 50 // potential conflict with chrome headers.
52 #include <X11/extensions/Xrandr.h> 51 #include <X11/extensions/Xrandr.h>
53 #undef RootWindow 52 #undef RootWindow
54 #endif // defined(USE_X11) 53 #endif // defined(USE_X11)
55 #endif // defined(OS_CHROMEOS) 54 #endif // defined(OS_CHROMEOS)
56 55
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 std::string name = 741 std::string name =
743 root_windows[i] == primary ? "aura_root_0" : "aura_root_x"; 742 root_windows[i] == primary ? "aura_root_0" : "aura_root_x";
744 gfx::AcceleratedWidget xwindow = 743 gfx::AcceleratedWidget xwindow =
745 root_windows[i]->GetHost()->GetAcceleratedWidget(); 744 root_windows[i]->GetHost()->GetAcceleratedWidget();
746 XStoreName(gfx::GetXDisplay(), xwindow, name.c_str()); 745 XStoreName(gfx::GetXDisplay(), xwindow, name.c_str());
747 } 746 }
748 #endif 747 #endif
749 } 748 }
750 749
751 } // namespace ash 750 } // namespace ash
OLDNEW
« no previous file with comments | « ash/display/display_change_observer_chromeos_unittest.cc ('k') | ash/display/display_error_observer_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698