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

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

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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
« no previous file with comments | « ui/compositor/transform_recorder.h ('k') | ui/display/chromeos/display_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_APPLY_CONTENT_PROTECTION_TASK_H_ 5 #ifndef UI_DISPLAY_CHROMEOS_APPLY_CONTENT_PROTECTION_TASK_H_
6 #define UI_DISPLAY_CHROMEOS_APPLY_CONTENT_PROTECTION_TASK_H_ 6 #define UI_DISPLAY_CHROMEOS_APPLY_CONTENT_PROTECTION_TASK_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <map> 11 #include <map>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "ui/display/chromeos/display_configurator.h" 16 #include "ui/display/chromeos/display_configurator.h"
17 17
18 namespace ui { 18 namespace ui {
19 19
20 class DisplayLayoutManager; 20 class DisplayLayoutManager;
21 class DisplaySnapshot;
22 class NativeDisplayDelegate; 21 class NativeDisplayDelegate;
23 22
24 // In order to apply content protection the task executes in the following 23 // In order to apply content protection the task executes in the following
25 // manner: 24 // manner:
26 // 1) Run() 25 // 1) Run()
27 // a) Query NativeDisplayDelegate for HDCP state on capable displays 26 // a) Query NativeDisplayDelegate for HDCP state on capable displays
28 // b) OnHDCPStateUpdate() called for each display as response to (a) 27 // b) OnHDCPStateUpdate() called for each display as response to (a)
29 // 2) ApplyProtections() 28 // 2) ApplyProtections()
30 // a) Compute preferred HDCP state for capable displays 29 // a) Compute preferred HDCP state for capable displays
31 // b) Call into NativeDisplayDelegate to set HDCP state on capable displays 30 // b) Call into NativeDisplayDelegate to set HDCP state on capable displays
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 size_t pending_requests_; 79 size_t pending_requests_;
81 80
82 base::WeakPtrFactory<ApplyContentProtectionTask> weak_ptr_factory_; 81 base::WeakPtrFactory<ApplyContentProtectionTask> weak_ptr_factory_;
83 82
84 DISALLOW_COPY_AND_ASSIGN(ApplyContentProtectionTask); 83 DISALLOW_COPY_AND_ASSIGN(ApplyContentProtectionTask);
85 }; 84 };
86 85
87 } // namespace ui 86 } // namespace ui
88 87
89 #endif // UI_DISPLAY_CHROMEOS_APPLY_CONTENT_PROTECTION_TASK_H_ 88 #endif // UI_DISPLAY_CHROMEOS_APPLY_CONTENT_PROTECTION_TASK_H_
OLDNEW
« no previous file with comments | « ui/compositor/transform_recorder.h ('k') | ui/display/chromeos/display_configurator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698