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

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

Issue 766583002: ozone: dri: Support moving between displays in MoveCursorTo(location) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
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/common/native_display_delegate_ozone.h" 7 #include "ui/ozone/common/native_display_delegate_ozone.h"
8 #include "ui/ozone/platform/caca/caca_event_source.h" 8 #include "ui/ozone/platform/caca/caca_event_source.h"
9 #include "ui/ozone/platform/caca/caca_window.h" 9 #include "ui/ozone/platform/caca/caca_window.h"
10 #include "ui/ozone/platform/caca/caca_window_manager.h" 10 #include "ui/ozone/platform/caca/caca_window_manager.h"
(...skipping 17 matching lines...) Expand all
28 CursorFactoryOzone* GetCursorFactoryOzone() override { 28 CursorFactoryOzone* GetCursorFactoryOzone() override {
29 return cursor_factory_ozone_.get(); 29 return cursor_factory_ozone_.get();
30 } 30 }
31 GpuPlatformSupport* GetGpuPlatformSupport() override { 31 GpuPlatformSupport* GetGpuPlatformSupport() override {
32 return NULL; // no GPU support 32 return NULL; // no GPU support
33 } 33 }
34 GpuPlatformSupportHost* GetGpuPlatformSupportHost() override { 34 GpuPlatformSupportHost* GetGpuPlatformSupportHost() override {
35 return NULL; // no GPU support 35 return NULL; // no GPU support
36 } 36 }
37 scoped_ptr<SystemInputInjector> CreateSystemInputInjector() override { 37 scoped_ptr<SystemInputInjector> CreateSystemInputInjector() override {
38 return nullptr; // no input injection support. 38 return nullptr; // no input injection support.
39 } 39 }
40 scoped_ptr<PlatformWindow> CreatePlatformWindow( 40 scoped_ptr<PlatformWindow> CreatePlatformWindow(
41 PlatformWindowDelegate* delegate, 41 PlatformWindowDelegate* delegate,
42 const gfx::Rect& bounds) override { 42 const gfx::Rect& bounds) override {
43 scoped_ptr<CacaWindow> caca_window(new CacaWindow( 43 scoped_ptr<CacaWindow> caca_window(new CacaWindow(
44 delegate, window_manager_.get(), event_source_.get(), bounds)); 44 delegate, window_manager_.get(), event_source_.get(), bounds));
45 if (!caca_window->Initialize()) 45 if (!caca_window->Initialize())
46 return nullptr; 46 return nullptr;
47 return caca_window.Pass(); 47 return caca_window.Pass();
48 } 48 }
(...skipping 15 matching lines...) Expand all
64 scoped_ptr<CursorFactoryOzone> cursor_factory_ozone_; 64 scoped_ptr<CursorFactoryOzone> cursor_factory_ozone_;
65 65
66 DISALLOW_COPY_AND_ASSIGN(OzonePlatformCaca); 66 DISALLOW_COPY_AND_ASSIGN(OzonePlatformCaca);
67 }; 67 };
68 68
69 } // namespace 69 } // namespace
70 70
71 OzonePlatform* CreateOzonePlatformCaca() { return new OzonePlatformCaca; } 71 OzonePlatform* CreateOzonePlatformCaca() { return new OzonePlatformCaca; }
72 72
73 } // namespace ui 73 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/ozone/evdev/tablet_event_converter_evdev.cc ('k') | ui/ozone/platform/dri/dri_cursor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698