Home
last modified time | relevance | path

Searched refs:PlatformEventSource (Results 1 – 25 of 42) sorted by relevance

12

/external/chromium_org/ui/events/platform/
Dplatform_event_source.cc17 PlatformEventSource* PlatformEventSource::instance_ = NULL;
19 PlatformEventSource::PlatformEventSource() in PlatformEventSource() function in ui::PlatformEventSource
26 PlatformEventSource::~PlatformEventSource() { in ~PlatformEventSource()
31 PlatformEventSource* PlatformEventSource::GetInstance() { return instance_; } in GetInstance()
33 void PlatformEventSource::AddPlatformEventDispatcher( in AddPlatformEventDispatcher()
40 void PlatformEventSource::RemovePlatformEventDispatcher( in RemovePlatformEventDispatcher()
46 scoped_ptr<ScopedEventDispatcher> PlatformEventSource::OverrideDispatcher( in OverrideDispatcher()
54 void PlatformEventSource::AddPlatformEventObserver( in AddPlatformEventObserver()
60 void PlatformEventSource::RemovePlatformEventObserver( in RemovePlatformEventObserver()
65 uint32_t PlatformEventSource::DispatchEvent(PlatformEvent platform_event) { in DispatchEvent()
[all …]
Dplatform_event_source.h27 class EVENTS_EXPORT PlatformEventSource {
29 virtual ~PlatformEventSource();
31 static PlatformEventSource* GetInstance();
57 static scoped_ptr<PlatformEventSource> CreateDefault();
60 PlatformEventSource();
71 static PlatformEventSource* instance_;
97 DISALLOW_COPY_AND_ASSIGN(PlatformEventSource);
Dplatform_event_source_stub.cc9 scoped_ptr<PlatformEventSource> PlatformEventSource::CreateDefault() { in CreateDefault()
10 return scoped_ptr<PlatformEventSource>(); in CreateDefault()
Dplatform_event_source_unittest.cc31 PlatformEventSource::GetInstance()->RemovePlatformEventDispatcher(dispatcher); in RemoveDispatcher()
36 PlatformEventSource::GetInstance()->RemovePlatformEventDispatcher(first); in RemoveDispatchers()
37 PlatformEventSource::GetInstance()->RemovePlatformEventDispatcher(second); in RemoveDispatchers()
41 PlatformEventSource::GetInstance()->AddPlatformEventDispatcher(dispatcher); in AddDispatcher()
46 class TestPlatformEventSource : public PlatformEventSource {
84 PlatformEventSource::GetInstance()->AddPlatformEventDispatcher(this); in TestPlatformEventDispatcher()
87 PlatformEventSource::GetInstance()->RemovePlatformEventDispatcher(this); in ~TestPlatformEventDispatcher()
118 PlatformEventSource::GetInstance()->AddPlatformEventObserver(this); in TestPlatformEventObserver()
121 PlatformEventSource::GetInstance()->RemovePlatformEventObserver(this); in ~TestPlatformEventObserver()
Dscoped_event_dispatcher.cc18 PlatformEventSource::GetInstance()->OnOverriddenDispatcherRestored(); in ~ScopedEventDispatcher()
/external/chromium_org/ui/events/platform/x11/
Dx11_event_source_libevent.cc63 scoped_ptr<PlatformEventSource> PlatformEventSource::CreateDefault() { in CreateDefault()
64 return scoped_ptr<PlatformEventSource>( in CreateDefault()
Dx11_event_source_glib.cc96 scoped_ptr<PlatformEventSource> PlatformEventSource::CreateDefault() { in CreateDefault()
97 return scoped_ptr<PlatformEventSource>( in CreateDefault()
Dx11_event_source.cc95 return static_cast<X11EventSource*>(PlatformEventSource::GetInstance()); in GetInstance()
134 uint32_t action = PlatformEventSource::DispatchEvent(xevent); in DispatchEvent()
/external/chromium_org/ui/views/widget/desktop_aura/
Dx11_desktop_handler.cc49 if (ui::PlatformEventSource::GetInstance()) in X11DesktopHandler()
50 ui::PlatformEventSource::GetInstance()->AddPlatformEventDispatcher(this); in X11DesktopHandler()
67 if (ui::PlatformEventSource::GetInstance()) in ~X11DesktopHandler()
68 ui::PlatformEventSource::GetInstance()->RemovePlatformEventDispatcher(this); in ~X11DesktopHandler()
Ddesktop_screen_x11.cc94 if (ui::PlatformEventSource::GetInstance()) in DesktopScreenX11()
95 ui::PlatformEventSource::GetInstance()->AddPlatformEventDispatcher(this); in DesktopScreenX11()
109 if (has_xrandr_ && ui::PlatformEventSource::GetInstance()) in ~DesktopScreenX11()
110 ui::PlatformEventSource::GetInstance()->RemovePlatformEventDispatcher(this); in ~DesktopScreenX11()
/external/chromium_org/ui/events/test/
Dplatform_event_waiter.cc17 PlatformEventSource::GetInstance()->AddPlatformEventObserver(this); in PlatformEventWaiter()
21 PlatformEventSource::GetInstance()->RemovePlatformEventObserver(this); in ~PlatformEventWaiter()
/external/chromium_org/ui/wm/core/
Dnested_accelerator_controller_unittest.cc160 if (!ui::PlatformEventSource::GetInstance()) in TEST_F()
174 ui::PlatformEventSource::GetInstance()->OverrideDispatcher( in TEST_F()
185 if (!ui::PlatformEventSource::GetInstance()) in TEST_F()
195 ui::PlatformEventSource::GetInstance()->OverrideDispatcher( in TEST_F()
Dnested_accelerator_dispatcher_linux.cc40 ui::PlatformEventSource* source = ui::PlatformEventSource::GetInstance(); in OverrideDispatcher()
/external/chromium_org/chrome/browser/chromeos/
Ddevice_uma.cc37 ui::PlatformEventSource::GetInstance()->AddPlatformEventObserver(this); in DeviceUMA()
47 ui::PlatformEventSource::GetInstance()->RemovePlatformEventObserver(this); in Stop()
/external/chromium_org/chrome/browser/chromeos/events/
Dsystem_key_event_listener.cc65 ui::PlatformEventSource::GetInstance()->AddPlatformEventObserver(this); in SystemKeyEventListener()
75 ui::PlatformEventSource::GetInstance()->RemovePlatformEventObserver(this); in Stop()
Dxinput_hierarchy_changed_event_listener.cc61 ui::PlatformEventSource::GetInstance()->AddPlatformEventObserver(this); in XInputHierarchyChangedEventListener()
72 ui::PlatformEventSource::GetInstance()->RemovePlatformEventObserver(this); in Stop()
/external/chromium_org/ui/aura/
Dwindow_tree_host_x11.cc118 if (ui::PlatformEventSource::GetInstance()) in TouchEventCalibrate()
119 ui::PlatformEventSource::GetInstance()->AddPlatformEventObserver(this); in TouchEventCalibrate()
139 if (ui::PlatformEventSource::GetInstance()) in ~TouchEventCalibrate()
140 ui::PlatformEventSource::GetInstance()->RemovePlatformEventObserver(this); in ~TouchEventCalibrate()
261 if (ui::PlatformEventSource::GetInstance()) in WindowTreeHostX11()
262 ui::PlatformEventSource::GetInstance()->AddPlatformEventDispatcher(this); in WindowTreeHostX11()
312 if (ui::PlatformEventSource::GetInstance()) in ~WindowTreeHostX11()
313 ui::PlatformEventSource::GetInstance()->RemovePlatformEventDispatcher(this); in ~WindowTreeHostX11()
Denv.h18 class PlatformEventSource; variable
103 scoped_ptr<ui::PlatformEventSource> event_source_;
Denv.cc87 if (create_event_source && !ui::PlatformEventSource::GetInstance()) in Init()
88 event_source_ = ui::PlatformEventSource::CreateDefault(); in Init()
Dwindow_tree_host_ozone.cc22 ui::PlatformEventSource::GetInstance()->AddPlatformEventDispatcher(this); in WindowTreeHostOzone()
27 ui::PlatformEventSource::GetInstance()->RemovePlatformEventDispatcher(this); in ~WindowTreeHostOzone()
/external/chromium_org/ui/gl/
Dgl_surface_glx.cc429 ui::PlatformEventSource* event_source = in Initialize()
430 ui::PlatformEventSource::GetInstance(); in Initialize()
434 ui::PlatformEventSource::GetInstance()->AddPlatformEventDispatcher(this); in Initialize()
450 ui::PlatformEventSource* event_source = in Destroy()
451 ui::PlatformEventSource::GetInstance(); in Destroy()
/external/chromium_org/ui/base/dragdrop/
Dos_exchange_data_unittest.cc19 : event_source_(ui::PlatformEventSource::CreateDefault()) {} in OSExchangeDataTest()
23 scoped_ptr<PlatformEventSource> event_source_;
/external/chromium_org/ui/display/chromeos/x11/
Dnative_display_delegate_x11.cc157 if (ui::PlatformEventSource::GetInstance()) { in ~NativeDisplayDelegateX11()
158 ui::PlatformEventSource::GetInstance()->RemovePlatformEventDispatcher( in ~NativeDisplayDelegateX11()
160 ui::PlatformEventSource::GetInstance()->RemovePlatformEventObserver( in ~NativeDisplayDelegateX11()
178 if (ui::PlatformEventSource::GetInstance()) { in Initialize()
179 ui::PlatformEventSource::GetInstance()->AddPlatformEventDispatcher( in Initialize()
184 ui::PlatformEventSource::GetInstance()->AddPlatformEventObserver( in Initialize()
/external/chromium_org/mojo/services/native_viewport/
Dnative_viewport_x11.cc59 event_source_ = ui::PlatformEventSource::CreateDefault(); in Init()
145 scoped_ptr<ui::PlatformEventSource> event_source_;
/external/chromium_org/ui/ozone/platform/caca/
Dcaca_event_factory.h19 public PlatformEventSource {

12