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

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

Issue 339793007: Revert of ozone: gpu: Add plumbing for platform-specific gpu messaging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/base/cursor/ozone/cursor_factory_ozone.h" 7 #include "ui/base/cursor/ozone/cursor_factory_ozone.h"
8 #include "ui/ozone/ozone_platform.h" 8 #include "ui/ozone/ozone_platform.h"
9 #include "ui/ozone/platform/caca/caca_connection.h" 9 #include "ui/ozone/platform/caca/caca_connection.h"
10 #include "ui/ozone/platform/caca/caca_event_factory.h" 10 #include "ui/ozone/platform/caca/caca_event_factory.h"
(...skipping 16 matching lines...) Expand all
27 // OzonePlatform: 27 // OzonePlatform:
28 virtual gfx::SurfaceFactoryOzone* GetSurfaceFactoryOzone() OVERRIDE { 28 virtual gfx::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 }
43 37
44 #if defined(OS_CHROMEOS) 38 #if defined(OS_CHROMEOS)
45 virtual scoped_ptr<NativeDisplayDelegate> CreateNativeDisplayDelegate() 39 virtual scoped_ptr<NativeDisplayDelegate> CreateNativeDisplayDelegate()
46 OVERRIDE { 40 OVERRIDE {
47 return scoped_ptr<NativeDisplayDelegate>(new NativeDisplayDelegateOzone()); 41 return scoped_ptr<NativeDisplayDelegate>(new NativeDisplayDelegateOzone());
48 } 42 }
49 virtual scoped_ptr<TouchscreenDeviceManager> 43 virtual scoped_ptr<TouchscreenDeviceManager>
50 CreateTouchscreenDeviceManager() OVERRIDE { 44 CreateTouchscreenDeviceManager() OVERRIDE {
51 return scoped_ptr<TouchscreenDeviceManager>( 45 return scoped_ptr<TouchscreenDeviceManager>(
52 new TouchscreenDeviceManagerOzone()); 46 new TouchscreenDeviceManagerOzone());
(...skipping 15 matching lines...) Expand all
68 scoped_ptr<CursorFactoryOzone> cursor_factory_ozone_; 62 scoped_ptr<CursorFactoryOzone> cursor_factory_ozone_;
69 63
70 DISALLOW_COPY_AND_ASSIGN(OzonePlatformCaca); 64 DISALLOW_COPY_AND_ASSIGN(OzonePlatformCaca);
71 }; 65 };
72 66
73 } // namespace 67 } // namespace
74 68
75 OzonePlatform* CreateOzonePlatformCaca() { return new OzonePlatformCaca; } 69 OzonePlatform* CreateOzonePlatformCaca() { return new OzonePlatformCaca; }
76 70
77 } // namespace ui 71 } // 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