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

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

Issue 3037044: FBTF: Remove unneeded headers from base/ (part 3) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <gtk/gtk.h> 5 #include <gtk/gtk.h>
6 6
7 #include "base/keyboard_code_conversion_gtk.h"
8 #include "base/keyboard_codes.h"
9 #include "views/accelerator.h" 7 #include "views/accelerator.h"
10 #include "views/focus/accelerator_handler.h" 8 #include "views/focus/accelerator_handler.h"
11 #include "views/focus/focus_manager.h" 9 #include "views/focus/focus_manager.h"
12 #include "views/widget/widget_gtk.h" 10 #include "views/widget/widget_gtk.h"
13 11
14 namespace views { 12 namespace views {
15 13
16 AcceleratorHandler::AcceleratorHandler() {} 14 AcceleratorHandler::AcceleratorHandler() {}
17 15
18 bool AcceleratorHandler::Dispatch(GdkEvent* event) { 16 bool AcceleratorHandler::Dispatch(GdkEvent* event) {
19 // The logic for handling keyboard accelerators has been moved into 17 // The logic for handling keyboard accelerators has been moved into
20 // WidgetGtk::OnKeyEvent handler (views/widget/widget_gtk.cc). 18 // WidgetGtk::OnKeyEvent handler (views/widget/widget_gtk.cc).
21 gtk_main_do_event(event); 19 gtk_main_do_event(event);
22 return true; 20 return true;
23 } 21 }
24 22
25 } // namespace views 23 } // namespace views
OLDNEW
« no previous file with comments | « chrome_frame/test/reliability/page_load_test.cc ('k') | webkit/glue/plugins/webplugin_delegate_impl_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698