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

Side by Side Diff: ui/events/ozone/event_factory_ozone.cc

Issue 205433005: ozone: Add OzoneWindowFactory & OzoneWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/events/ozone/event_factory_ozone.h" 5 #include "ui/events/ozone/event_factory_ozone.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/debug/trace_event.h" 8 #include "base/debug/trace_event.h"
9 #include "base/message_loop/message_pump_ozone.h" 9 #include "base/message_loop/message_pump_ozone.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
(...skipping 23 matching lines...) Expand all
34 return impl_; 34 return impl_;
35 } 35 }
36 36
37 void EventFactoryOzone::SetInstance(EventFactoryOzone* impl) { impl_ = impl; } 37 void EventFactoryOzone::SetInstance(EventFactoryOzone* impl) { impl_ = impl; }
38 38
39 void EventFactoryOzone::StartProcessingEvents() {} 39 void EventFactoryOzone::StartProcessingEvents() {}
40 40
41 void EventFactoryOzone::SetFileTaskRunner( 41 void EventFactoryOzone::SetFileTaskRunner(
42 scoped_refptr<base::TaskRunner> task_runner) {} 42 scoped_refptr<base::TaskRunner> task_runner) {}
43 43
44 void EventFactoryOzone::WarpCursorTo(gfx::AcceleratedWidget widget,
45 const gfx::PointF& location) {
46 NOTIMPLEMENTED();
47 }
48
49 // static 44 // static
50 void EventFactoryOzone::DispatchEvent(scoped_ptr<ui::Event> event) { 45 void EventFactoryOzone::DispatchEvent(scoped_ptr<ui::Event> event) {
51 base::MessageLoop::current()->PostTask( 46 base::MessageLoop::current()->PostTask(
52 FROM_HERE, base::Bind(&DispatchEventTask, base::Passed(&event))); 47 FROM_HERE, base::Bind(&DispatchEventTask, base::Passed(&event)));
53 } 48 }
54 49
55 } // namespace ui 50 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698