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

Side by Side Diff: ui/ozone/platform/caca/ozone_platform_caca.cc

Issue 341253002: Revert of Revert of ozone: gpu: Add plumbing for platform-specific gpu messaging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 | Annotate | Revision Log
« no previous file with comments | « ui/ozone/ozone_platform.h ('k') | ui/ozone/platform/dri/ozone_platform_dri.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 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/caca/ozone_platform_caca.h" 5 #include "ui/ozone/platform/caca/ozone_platform_caca.h"
6 6
7 #include "ui/ozone/ozone_platform.h" 7 #include "ui/ozone/ozone_platform.h"
8 #include "ui/ozone/platform/caca/caca_connection.h" 8 #include "ui/ozone/platform/caca/caca_connection.h"
9 #include "ui/ozone/platform/caca/caca_event_factory.h" 9 #include "ui/ozone/platform/caca/caca_event_factory.h"
10 #include "ui/ozone/platform/caca/caca_surface_factory.h" 10 #include "ui/ozone/platform/caca/caca_surface_factory.h"
(...skipping 16 matching lines...) Expand all
27 // OzonePlatform: 27 // OzonePlatform:
28 virtual ui::SurfaceFactoryOzone* GetSurfaceFactoryOzone() OVERRIDE { 28 virtual ui::SurfaceFactoryOzone* GetSurfaceFactoryOzone() OVERRIDE {
29 return surface_factory_ozone_.get(); 29 return surface_factory_ozone_.get();
30 } 30 }
31 virtual EventFactoryOzone* GetEventFactoryOzone() OVERRIDE { 31 virtual EventFactoryOzone* GetEventFactoryOzone() OVERRIDE {
32 return event_factory_ozone_.get(); 32 return event_factory_ozone_.get();
33 } 33 }
34 virtual CursorFactoryOzone* GetCursorFactoryOzone() OVERRIDE { 34 virtual CursorFactoryOzone* GetCursorFactoryOzone() OVERRIDE {
35 return cursor_factory_ozone_.get(); 35 return cursor_factory_ozone_.get();
36 } 36 }
37 virtual GpuPlatformSupport* GetGpuPlatformSupport() OVERRIDE {
38 return NULL; // no GPU support
39 }
40 virtual GpuPlatformSupportHost* GetGpuPlatformSupportHost() OVERRIDE {
41 return NULL; // no GPU support
42 }
37 43
38 #if defined(OS_CHROMEOS) 44 #if defined(OS_CHROMEOS)
39 virtual scoped_ptr<NativeDisplayDelegate> CreateNativeDisplayDelegate() 45 virtual scoped_ptr<NativeDisplayDelegate> CreateNativeDisplayDelegate()
40 OVERRIDE { 46 OVERRIDE {
41 return scoped_ptr<NativeDisplayDelegate>(new NativeDisplayDelegateOzone()); 47 return scoped_ptr<NativeDisplayDelegate>(new NativeDisplayDelegateOzone());
42 } 48 }
43 virtual scoped_ptr<TouchscreenDeviceManager> 49 virtual scoped_ptr<TouchscreenDeviceManager>
44 CreateTouchscreenDeviceManager() OVERRIDE { 50 CreateTouchscreenDeviceManager() OVERRIDE {
45 return scoped_ptr<TouchscreenDeviceManager>( 51 return scoped_ptr<TouchscreenDeviceManager>(
46 new TouchscreenDeviceManagerOzone()); 52 new TouchscreenDeviceManagerOzone());
(...skipping 15 matching lines...) Expand all
62 scoped_ptr<CursorFactoryOzone> cursor_factory_ozone_; 68 scoped_ptr<CursorFactoryOzone> cursor_factory_ozone_;
63 69
64 DISALLOW_COPY_AND_ASSIGN(OzonePlatformCaca); 70 DISALLOW_COPY_AND_ASSIGN(OzonePlatformCaca);
65 }; 71 };
66 72
67 } // namespace 73 } // namespace
68 74
69 OzonePlatform* CreateOzonePlatformCaca() { return new OzonePlatformCaca; } 75 OzonePlatform* CreateOzonePlatformCaca() { return new OzonePlatformCaca; }
70 76
71 } // namespace ui 77 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/ozone_platform.h ('k') | ui/ozone/platform/dri/ozone_platform_dri.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698