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

Unified Diff: content/browser/renderer_host/gtk_im_context_wrapper.cc

Issue 10804031: Move more files into the content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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_im_context_wrapper.cc
===================================================================
--- content/browser/renderer_host/gtk_im_context_wrapper.cc (revision 147462)
+++ content/browser/renderer_host/gtk_im_context_wrapper.cc (working copy)
@@ -21,10 +21,9 @@
#include "ui/gfx/gtk_util.h"
#include "ui/gfx/rect.h"
-using content::NativeWebKeyboardEvent;
-using content::RenderWidgetHostImpl;
+namespace content {
+namespace {
-namespace {
// Copied from third_party/WebKit/Source/WebCore/page/EventHandler.cpp
//
// Match key code of composition keydown event on windows.
@@ -38,6 +37,7 @@
// - ImmGetVirtualKey Function
// http://msdn.microsoft.com/en-us/library/dd318570(VS.85).aspx
const int kCompositionEventKeyCode = 229;
+
} // namespace
// ui::CompositionUnderline should be identical to
@@ -660,3 +660,5 @@
GtkWidget* widget, GtkIMContextWrapper* self) {
self->HandleHostViewUnrealize();
}
+
+} // namespace content
« no previous file with comments | « content/browser/renderer_host/gtk_im_context_wrapper.h ('k') | content/browser/renderer_host/popup_menu_helper_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698