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

Side by Side Diff: ui/display/chromeos/native_display_delegate.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 | « ui/display/OWNERS ('k') | ui/display/chromeos/native_display_observer.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROMEOS_DISPLAY_NATIVE_DISPLAY_DELEGATE_H_ 5 #ifndef UI_DISPLAY_CHROMEOS_NATIVE_DISPLAY_DELEGATE_H_
6 #define CHROMEOS_DISPLAY_NATIVE_DISPLAY_DELEGATE_H_ 6 #define UI_DISPLAY_CHROMEOS_NATIVE_DISPLAY_DELEGATE_H_
7 7
8 #include "chromeos/display/output_configurator.h" 8 #include "ui/display/chromeos/output_configurator.h"
9 #include "ui/display/display_constants.h" 9 #include "ui/display/display_constants.h"
10 10
11 namespace chromeos { 11 namespace ui {
12 12
13 class NativeDisplayObserver; 13 class NativeDisplayObserver;
14 14
15 // Interface for classes that perform display configuration actions on behalf 15 // Interface for classes that perform display configuration actions on behalf
16 // of OutputConfigurator. 16 // of OutputConfigurator.
17 // TODO(dnicoara) This interface will eventually be platform independent, 17 // TODO(dnicoara) This interface will eventually be platform independent,
18 // however it first requires refactoring the datatypes: crbug.com/333413 18 // however it first requires refactoring the datatypes: crbug.com/333413
19 class NativeDisplayDelegate { 19 class NativeDisplayDelegate {
20 public: 20 public:
21 virtual ~NativeDisplayDelegate() {} 21 virtual ~NativeDisplayDelegate() {}
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 // Called to set the frame buffer (underlying XRR "screen") size. Has 60 // Called to set the frame buffer (underlying XRR "screen") size. Has
61 // a side-effect of disabling all CRTCs. 61 // a side-effect of disabling all CRTCs.
62 virtual void CreateFrameBuffer( 62 virtual void CreateFrameBuffer(
63 int width, 63 int width,
64 int height, 64 int height,
65 const std::vector<OutputConfigurator::OutputSnapshot>& outputs) = 0; 65 const std::vector<OutputConfigurator::OutputSnapshot>& outputs) = 0;
66 66
67 // Gets HDCP state of output. 67 // Gets HDCP state of output.
68 virtual bool GetHDCPState(const OutputConfigurator::OutputSnapshot& output, 68 virtual bool GetHDCPState(const OutputConfigurator::OutputSnapshot& output,
69 ui::HDCPState* state) = 0; 69 HDCPState* state) = 0;
70 70
71 // Sets HDCP state of output. 71 // Sets HDCP state of output.
72 virtual bool SetHDCPState(const OutputConfigurator::OutputSnapshot& output, 72 virtual bool SetHDCPState(const OutputConfigurator::OutputSnapshot& output,
73 ui::HDCPState state) = 0; 73 HDCPState state) = 0;
74 74
75 virtual void AddObserver(NativeDisplayObserver* observer) = 0; 75 virtual void AddObserver(NativeDisplayObserver* observer) = 0;
76 76
77 virtual void RemoveObserver(NativeDisplayObserver* observer) = 0; 77 virtual void RemoveObserver(NativeDisplayObserver* observer) = 0;
78 }; 78 };
79 79
80 } // namespace chromeos 80 } // namespace ui
81 81
82 #endif // CHROMEOS_DISPLAY_NATIVE_DISPLAY_DELEGATE_H_ 82 #endif // UI_DISPLAY_CHROMEOS_NATIVE_DISPLAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/display/OWNERS ('k') | ui/display/chromeos/native_display_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698