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

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

Issue 1248713002: ozone: ClientPixmapManager passes VGEM fd from browser to renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to lastest crrev.com/1128113011 Created 5 years, 5 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
« no previous file with comments | « ipc/ipc_message_start.h ('k') | ui/ozone/platform/caca/ozone_platform_caca.cc » ('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 #include "ui/ozone/common/stub_native_pixmap_manager.h" 5 #include "ui/ozone/common/stub_native_pixmap_manager.h"
6 6
7 namespace ui { 7 namespace ui {
8 8
9 namespace { 9 namespace {
10 10
11 class StubNativePixmapManager : public NativePixmapManager { 11 class StubNativePixmapManager : public NativePixmapManager {
12 public: 12 public:
13 StubNativePixmapManager() {} 13 StubNativePixmapManager() {}
14 ~StubNativePixmapManager() override {} 14 ~StubNativePixmapManager() override {}
15 15
16 void Initialize(const base::FileDescriptor& device_fd) override {}
17
16 std::vector<Configuration> GetSupportedNativePixmapConfigurations() 18 std::vector<Configuration> GetSupportedNativePixmapConfigurations()
17 const override { 19 const override {
18 return std::vector<Configuration>(); 20 return std::vector<Configuration>();
19 } 21 }
20 22
21 private: 23 private:
22 DISALLOW_COPY_AND_ASSIGN(StubNativePixmapManager); 24 DISALLOW_COPY_AND_ASSIGN(StubNativePixmapManager);
23 }; 25 };
24 26
25 } // namespace 27 } // namespace
26 28
27 NativePixmapManager* CreateStubNativePixmapManager() { 29 NativePixmapManager* CreateStubNativePixmapManager() {
28 return new StubNativePixmapManager; 30 return new StubNativePixmapManager;
29 } 31 }
30 32
31 } // namespace ui 33 } // namespace ui
OLDNEW
« no previous file with comments | « ipc/ipc_message_start.h ('k') | ui/ozone/platform/caca/ozone_platform_caca.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698