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

Side by Side Diff: ui/display/chromeos/ozone/native_display_delegate_ozone.h

Issue 230763004: Split ui/display types into separate module and have Ozone depend on it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 8 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_DISPLAY_CHROMEOS_OZONE_NATIVE_DISPLAY_DELEGATE_OZONE_H_
6 #define UI_DISPLAY_CHROMEOS_OZONE_NATIVE_DISPLAY_DELEGATE_OZONE_H_
7
8 #include "base/macros.h"
9 #include "ui/display/chromeos/native_display_delegate.h"
10
11 namespace ui {
12
13 class NativeDisplayDelegateOzone : public NativeDisplayDelegate {
14 public:
15 NativeDisplayDelegateOzone();
16 virtual ~NativeDisplayDelegateOzone();
17
18 // NativeDisplayDelegate overrides:
19 virtual void Initialize() OVERRIDE;
20 virtual void GrabServer() OVERRIDE;
21 virtual void UngrabServer() OVERRIDE;
22 virtual void SyncWithServer() OVERRIDE;
23 virtual void SetBackgroundColor(uint32_t color_argb) OVERRIDE;
24 virtual void ForceDPMSOn() OVERRIDE;
25 virtual std::vector<ui::DisplaySnapshot*> GetDisplays() OVERRIDE;
26 virtual void AddMode(const ui::DisplaySnapshot& output,
27 const ui::DisplayMode* mode) OVERRIDE;
28 virtual bool Configure(const ui::DisplaySnapshot& output,
29 const ui::DisplayMode* mode,
30 const gfx::Point& origin) OVERRIDE;
31 virtual void CreateFrameBuffer(const gfx::Size& size) OVERRIDE;
32 virtual bool GetHDCPState(const ui::DisplaySnapshot& output,
33 ui::HDCPState* state) OVERRIDE;
34 virtual bool SetHDCPState(const ui::DisplaySnapshot& output,
35 ui::HDCPState state) OVERRIDE;
36 virtual std::vector<ui::ColorCalibrationProfile>
37 GetAvailableColorCalibrationProfiles(
38 const ui::DisplaySnapshot& output) OVERRIDE;
39 virtual bool SetColorCalibrationProfile(
40 const ui::DisplaySnapshot& output,
41 ui::ColorCalibrationProfile new_profile) OVERRIDE;
42 virtual void AddObserver(NativeDisplayObserver* observer) OVERRIDE;
43 virtual void RemoveObserver(NativeDisplayObserver* observer) OVERRIDE;
44
45 private:
46 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateOzone);
47 };
48
49 } // namespace ui
50
51 #endif // UI_DISPLAY_CHROMEOS_OZONE_NATIVE_DISPLAY_DELEGATE_OZONE_H_
OLDNEW
« no previous file with comments | « ui/display/chromeos/ozone/display_configurator_ozone.cc ('k') | ui/display/chromeos/ozone/native_display_delegate_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698