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

Side by Side Diff: ui/views/focus/accelerator_handler_touch.cc

Issue 8566052: views: Delete bubble, events, focus, layout directories and its stubbed files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "views/focus/accelerator_handler.h" 5 #include "ui/views/focus/accelerator_handler.h"
6
7 #include <X11/extensions/XInput2.h>
8 #include <gtk/gtk.h>
6 9
7 #include <bitset> 10 #include <bitset>
8 #include <gtk/gtk.h>
9 #include <X11/extensions/XInput2.h>
10 11
11 #include "ui/base/touch/touch_factory.h" 12 #include "ui/base/touch/touch_factory.h"
13 #include "ui/views/events/event.h"
14 #include "ui/views/focus/focus_manager.h"
12 #include "ui/views/ime/input_method.h" 15 #include "ui/views/ime/input_method.h"
13 #include "views/events/event.h"
14 #include "views/focus/focus_manager.h"
15 #include "views/view.h" 16 #include "views/view.h"
16 #include "views/widget/native_widget.h" 17 #include "views/widget/native_widget.h"
17 18
18 namespace views { 19 namespace views {
19 20
20 namespace { 21 namespace {
21 22
22 Widget* FindWidgetForGdkWindow(GdkWindow* gdk_window) { 23 Widget* FindWidgetForGdkWindow(GdkWindow* gdk_window) {
23 gpointer data = NULL; 24 gpointer data = NULL;
24 gdk_window_get_user_data(gdk_window, &data); 25 gdk_window_get_user_data(gdk_window, &data);
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 AcceleratorHandler::AcceleratorHandler() {} 179 AcceleratorHandler::AcceleratorHandler() {}
179 180
180 base::MessagePumpDispatcher::DispatchStatus 181 base::MessagePumpDispatcher::DispatchStatus
181 AcceleratorHandler::Dispatch(XEvent* xev) { 182 AcceleratorHandler::Dispatch(XEvent* xev) {
182 return DispatchXEvent(xev) ? 183 return DispatchXEvent(xev) ?
183 base::MessagePumpDispatcher::EVENT_PROCESSED : 184 base::MessagePumpDispatcher::EVENT_PROCESSED :
184 base::MessagePumpDispatcher::EVENT_IGNORED; 185 base::MessagePumpDispatcher::EVENT_IGNORED;
185 } 186 }
186 187
187 } // namespace views 188 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/focus/accelerator_handler_gtk_unittest.cc ('k') | ui/views/focus/accelerator_handler_wayland.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698