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

Side by Side Diff: ui/ozone/platform/dri/chromeos/native_display_delegate_dri.cc

Issue 247933003: ozone: caca: Fix the build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « ui/ozone/platform/caca/ozone_platform_caca.cc ('k') | no next file » | 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 #include "ui/ozone/platform/dri/chromeos/native_display_delegate_dri.h" 5 #include "ui/ozone/platform/dri/chromeos/native_display_delegate_dri.h"
6 6
7 #include "ui/ozone/platform/dri/chromeos/display_mode_dri.h" 7 #include "ui/ozone/platform/dri/chromeos/display_mode_dri.h"
8 #include "ui/ozone/platform/dri/chromeos/display_snapshot_dri.h" 8 #include "ui/ozone/platform/dri/chromeos/display_snapshot_dri.h"
9 #include "ui/ozone/platform/dri/dri_surface_factory.h" 9 #include "ui/ozone/platform/dri/dri_surface_factory.h"
10 #include "ui/ozone/platform/dri/dri_util.h" 10 #include "ui/ozone/platform/dri/dri_util.h"
11 #include "ui/ozone/platform/dri/dri_wrapper.h" 11 #include "ui/ozone/platform/dri/dri_wrapper.h"
12 12
13 namespace ui { 13 namespace ui {
14 14
15 namespace { 15 namespace {
16 const int kMaxDisplayCount = 2; 16 const size_t kMaxDisplayCount = 2;
17 } // namespace 17 } // namespace
18 18
19 NativeDisplayDelegateDri::NativeDisplayDelegateDri( 19 NativeDisplayDelegateDri::NativeDisplayDelegateDri(
20 DriSurfaceFactory* surface_factory) 20 DriSurfaceFactory* surface_factory)
21 : surface_factory_(surface_factory) {} 21 : surface_factory_(surface_factory) {}
22 22
23 NativeDisplayDelegateDri::~NativeDisplayDelegateDri() {} 23 NativeDisplayDelegateDri::~NativeDisplayDelegateDri() {}
24 24
25 void NativeDisplayDelegateDri::Initialize() { 25 void NativeDisplayDelegateDri::Initialize() {
26 gfx::SurfaceFactoryOzone::HardwareState state = 26 gfx::SurfaceFactoryOzone::HardwareState state =
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 148
149 void NativeDisplayDelegateDri::AddObserver(NativeDisplayObserver* observer) { 149 void NativeDisplayDelegateDri::AddObserver(NativeDisplayObserver* observer) {
150 observers_.AddObserver(observer); 150 observers_.AddObserver(observer);
151 } 151 }
152 152
153 void NativeDisplayDelegateDri::RemoveObserver(NativeDisplayObserver* observer) { 153 void NativeDisplayDelegateDri::RemoveObserver(NativeDisplayObserver* observer) {
154 observers_.RemoveObserver(observer); 154 observers_.RemoveObserver(observer);
155 } 155 }
156 156
157 } // namespace ui 157 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/platform/caca/ozone_platform_caca.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698