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

Unified Diff: content/browser/renderer_host/gtk_key_bindings_handler.h

Issue 10383239: Move NativeWebKeyboardEvent to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/gtk_key_bindings_handler.h
===================================================================
--- content/browser/renderer_host/gtk_key_bindings_handler.h (revision 137859)
+++ content/browser/renderer_host/gtk_key_bindings_handler.h (working copy)
@@ -14,7 +14,9 @@
#include "content/common/content_export.h"
#include "ui/base/gtk/owned_widget_gtk.h"
+namespace content {
struct NativeWebKeyboardEvent;
+}
// This class is a convenience class for handling editor key bindings defined
// in gtk keyboard theme.
@@ -43,7 +45,8 @@
// Matches a key event against predefined gtk key bindings, false will be
// returned if the key event doesn't correspond to a predefined key binding.
// Edit commands matched with |wke| will be stored in |edit_commands|.
- bool Match(const NativeWebKeyboardEvent& wke, EditCommands* edit_commands);
+ bool Match(const content::NativeWebKeyboardEvent& wke,
+ EditCommands* edit_commands);
private:
// Object structure of Handler class, which is derived from GtkTextView.
« no previous file with comments | « content/browser/renderer_host/gtk_im_context_wrapper.cc ('k') | content/browser/renderer_host/gtk_key_bindings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698