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

Side by Side Diff: ui/ozone/common/stub_overlay_manager.cc

Issue 1157793004: ozone: Add overlay candidate implementation that queries support via IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix leak, other comments Created 5 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
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 #include "ui/ozone/common/stub_overlay_manager.h" 5 #include "ui/ozone/common/stub_overlay_manager.h"
6 #include "ui/ozone/public/overlay_candidates_ozone.h"
6 7
7 namespace ui { 8 namespace ui {
8 9
9 StubOverlayManager::StubOverlayManager() { 10 StubOverlayManager::StubOverlayManager() {
10 } 11 }
11 12
12 StubOverlayManager::~StubOverlayManager() { 13 StubOverlayManager::~StubOverlayManager() {
13 } 14 }
14 15
15 OverlayCandidatesOzone* StubOverlayManager::GetOverlayCandidates( 16 scoped_ptr<OverlayCandidatesOzone> StubOverlayManager::GetOverlayCandidates(
spang 2015/06/01 18:54:21 s/Get/Create/
achaulk 2015/06/01 20:43:08 As per danny's comment, the API change will be sep
16 gfx::AcceleratedWidget w) { 17 gfx::AcceleratedWidget w) {
17 return nullptr; 18 return nullptr;
18 } 19 }
19 20
20 bool StubOverlayManager::CanShowPrimaryPlaneAsOverlay() { 21 bool StubOverlayManager::CanShowPrimaryPlaneAsOverlay() {
21 return false; 22 return false;
22 } 23 }
23 24
24 } // namespace ui 25 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698