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

Side by Side Diff: ui/display/chromeos/native_display_delegate.h

Issue 215233002: Update ui/display to use primitive types as defined in stdint.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased 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 | « no previous file | ui/display/chromeos/output_configurator.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 UI_DISPLAY_CHROMEOS_NATIVE_DISPLAY_DELEGATE_H_ 5 #ifndef UI_DISPLAY_CHROMEOS_NATIVE_DISPLAY_DELEGATE_H_
6 #define UI_DISPLAY_CHROMEOS_NATIVE_DISPLAY_DELEGATE_H_ 6 #define UI_DISPLAY_CHROMEOS_NATIVE_DISPLAY_DELEGATE_H_
7 7
8 #include <stdint.h>
9
8 #include <vector> 10 #include <vector>
9 11
10 #include "ui/display/display_constants.h" 12 #include "ui/display/display_constants.h"
11 #include "ui/display/display_export.h" 13 #include "ui/display/display_export.h"
12 14
13 namespace gfx { 15 namespace gfx {
14 class Point; 16 class Point;
15 class Size; 17 class Size;
16 } 18 }
17 19
(...skipping 15 matching lines...) Expand all
33 // by a call to UngrabServer(). 35 // by a call to UngrabServer().
34 virtual void GrabServer() = 0; 36 virtual void GrabServer() = 0;
35 37
36 // Released the display server and any resources allocated by GrabServer(). 38 // Released the display server and any resources allocated by GrabServer().
37 virtual void UngrabServer() = 0; 39 virtual void UngrabServer() = 0;
38 40
39 // Flushes all pending requests and waits for replies. 41 // Flushes all pending requests and waits for replies.
40 virtual void SyncWithServer() = 0; 42 virtual void SyncWithServer() = 0;
41 43
42 // Sets the window's background color to |color_argb|. 44 // Sets the window's background color to |color_argb|.
43 virtual void SetBackgroundColor(uint32 color_argb) = 0; 45 virtual void SetBackgroundColor(uint32_t color_argb) = 0;
44 46
45 // Enables DPMS and forces it to the "on" state. 47 // Enables DPMS and forces it to the "on" state.
46 virtual void ForceDPMSOn() = 0; 48 virtual void ForceDPMSOn() = 0;
47 49
48 // Returns information about the current outputs. This method may block for 50 // Returns information about the current outputs. This method may block for
49 // 60 milliseconds or more. 51 // 60 milliseconds or more.
50 // NativeDisplayDelegate maintains ownership of the ui::DisplaySnapshot 52 // NativeDisplayDelegate maintains ownership of the ui::DisplaySnapshot
51 // pointers. 53 // pointers.
52 virtual std::vector<ui::DisplaySnapshot*> GetOutputs() = 0; 54 virtual std::vector<ui::DisplaySnapshot*> GetOutputs() = 0;
53 55
(...skipping 30 matching lines...) Expand all
84 ui::ColorCalibrationProfile new_profile) = 0; 86 ui::ColorCalibrationProfile new_profile) = 0;
85 87
86 virtual void AddObserver(NativeDisplayObserver* observer) = 0; 88 virtual void AddObserver(NativeDisplayObserver* observer) = 0;
87 89
88 virtual void RemoveObserver(NativeDisplayObserver* observer) = 0; 90 virtual void RemoveObserver(NativeDisplayObserver* observer) = 0;
89 }; 91 };
90 92
91 } // namespace ui 93 } // namespace ui
92 94
93 #endif // UI_DISPLAY_CHROMEOS_NATIVE_DISPLAY_DELEGATE_H_ 95 #endif // UI_DISPLAY_CHROMEOS_NATIVE_DISPLAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | ui/display/chromeos/output_configurator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698