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

Side by Side Diff: ui/ozone/public/surface_client_factory_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: Introduce OzoneClient Created 5 years, 7 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 (c) 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 UI_OZONE_PUBLIC_SURFACE_CLIENT_FACTORY_OZONE_H_
6 #define UI_OZONE_PUBLIC_SURFACE_CLIENT_FACTORY_OZONE_H_
7
8 #include "ui/ozone/public/surface_factory_ozone.h"
9
10 namespace ui {
11
12 // The Ozone interface allows external implementations to hook into Chromium to
13 // provide the handle of a system specific surface implementation for Browser
14 // and Render process.
15 class OZONE_BASE_EXPORT SurfaceClientFactoryOzone {
16 public:
17 SurfaceClientFactoryOzone();
18 virtual ~SurfaceClientFactoryOzone();
19
20 struct Configuration {
21 SurfaceFactoryOzone::BufferFormat format;
22 SurfaceFactoryOzone::BufferUsage usage;
23 };
24
25 // Gets supported format/usage configurations.
26 virtual std::vector<Configuration> GetSupportedNativePixmapConfigurations()
27 const;
28
29 private:
30 DISALLOW_COPY_AND_ASSIGN(SurfaceClientFactoryOzone);
31 };
32
33 } // namespace ui
34
35 #endif // UI_OZONE_PUBLIC_SURFACE_CLIENT_FACTORY_OZONE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698