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

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

Issue 8588064: views: Move bubble, events, focus and layout to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 "views/focus/accelerator_handler.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "views/focus/focus_manager.h" 9 #include "views/focus/focus_manager.h"
10 10
11 namespace views { 11 namespace views {
12 12
13 AcceleratorHandler::AcceleratorHandler() {} 13 AcceleratorHandler::AcceleratorHandler() {}
14 14
15 bool AcceleratorHandler::Dispatch(GdkEvent* event) { 15 bool AcceleratorHandler::Dispatch(GdkEvent* event) {
16 // The logic for handling keyboard accelerators has been moved into 16 // The logic for handling keyboard accelerators has been moved into
17 // NativeWidgetGtk::OnEventKey handler (views/widget/widget_gtk.cc). 17 // NativeWidgetGtk::OnEventKey handler (views/widget/widget_gtk.cc).
18 gtk_main_do_event(event); 18 gtk_main_do_event(event);
19 return true; 19 return true;
20 } 20 }
21 21
22 } // namespace views 22 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/focus/accelerator_handler_aura.cc ('k') | ui/views/focus/accelerator_handler_gtk_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698