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

Side by Side Diff: content/test/test_native_pixmap_manager_ozone.h

Issue 1128113011: ozone: Introduce ClientPixmap and ClientPixmapFactory for non-GPU processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: separate VGEM part to another CL 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_TEST_TEST_NATIVE_PIXMAP_MANAGER_OZONE_H_
6 #define CONTENT_TEST_TEST_NATIVE_PIXMAP_MANAGER_OZONE_H_
7
8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "ui/ozone/public/native_pixmap_manager.h"
11
12 namespace content {
13
14 class TestNativePixmapManager : public ui::NativePixmapManager {
15 public:
16 static TestNativePixmapManager* GetInstance();
17 ~TestNativePixmapManager() override;
18
19 // ui::NativePixmapManager:
20 void Initialize(const base::FileDescriptor& device_fd) override;
21 std::vector<Configuration> GetSupportedNativePixmapConfigurations()
22 const override;
23
24 private:
25 friend struct TestNativePixmapManagerTrait;
26 TestNativePixmapManager();
27
28 scoped_ptr<ui::NativePixmapManager> pixmap_manager_;
29
30 DISALLOW_COPY_AND_ASSIGN(TestNativePixmapManager);
31 };
32
33 } // namespace content
34
35 #endif // CONTENT_TEST_TEST_NATIVE_PIXMAP_MANAGER_OZONE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698