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

Side by Side Diff: content/browser/compositor/overlay_candidate_validator_ozone.h

Issue 312393002: ozone: Move the factory interfaces into a common target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-r278697 Created 6 years, 6 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 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 CONTENT_BROWSER_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_OZONE_H_ 5 #ifndef CONTENT_BROWSER_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_OZONE_H_
6 #define CONTENT_BROWSER_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_OZONE_H_ 6 #define CONTENT_BROWSER_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_OZONE_H_
7 7
8 #include "cc/output/overlay_candidate_validator.h" 8 #include "cc/output/overlay_candidate_validator.h"
9 9
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "ui/gfx/native_widget_types.h" 11 #include "ui/gfx/native_widget_types.h"
12 12
13 namespace gfx { 13 namespace ui {
14 class OverlayCandidatesOzone; 14 class OverlayCandidatesOzone;
15 } 15 }
16 16
17 namespace content { 17 namespace content {
18 18
19 class CONTENT_EXPORT OverlayCandidateValidatorOzone 19 class CONTENT_EXPORT OverlayCandidateValidatorOzone
20 : public cc::OverlayCandidateValidator { 20 : public cc::OverlayCandidateValidator {
21 public: 21 public:
22 OverlayCandidateValidatorOzone( 22 OverlayCandidateValidatorOzone(
23 gfx::AcceleratedWidget widget, 23 gfx::AcceleratedWidget widget,
24 gfx::OverlayCandidatesOzone* overlay_candidates); 24 ui::OverlayCandidatesOzone* overlay_candidates);
25 virtual ~OverlayCandidateValidatorOzone(); 25 virtual ~OverlayCandidateValidatorOzone();
26 26
27 // cc::OverlayCandidateValidator implementation. 27 // cc::OverlayCandidateValidator implementation.
28 virtual void CheckOverlaySupport(cc::OverlayCandidateList* surfaces) OVERRIDE; 28 virtual void CheckOverlaySupport(cc::OverlayCandidateList* surfaces) OVERRIDE;
29 29
30 private: 30 private:
31 gfx::AcceleratedWidget widget_; 31 gfx::AcceleratedWidget widget_;
32 gfx::OverlayCandidatesOzone* overlay_candidates_; 32 ui::OverlayCandidatesOzone* overlay_candidates_;
33 33
34 DISALLOW_COPY_AND_ASSIGN(OverlayCandidateValidatorOzone); 34 DISALLOW_COPY_AND_ASSIGN(OverlayCandidateValidatorOzone);
35 }; 35 };
36 36
37 } // namespace content 37 } // namespace content
38 38
39 #endif // CONTENT_BROWSER_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_OZONE_H_ 39 #endif // CONTENT_BROWSER_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_OZONE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698