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

Unified Diff: chrome/browser/ui/android/omnibox/omnibox_view_util.h

Issue 298523002: [Android] Use the omnibox paste sanitizing code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove extra blank line Created 6 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: chrome/browser/ui/android/omnibox/omnibox_view_util.h
diff --git a/chrome/browser/ui/android/omnibox/omnibox_view_util.h b/chrome/browser/ui/android/omnibox/omnibox_view_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..2e42cec5f4c62ea95f784348266bcffab5c667b4
--- /dev/null
+++ b/chrome/browser/ui/android/omnibox/omnibox_view_util.h
@@ -0,0 +1,21 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_ANDROID_OMNIBOX_OMNIBOX_VIEW_UTIL_H_
+#define CHROME_BROWSER_UI_ANDROID_OMNIBOX_OMNIBOX_VIEW_UTIL_H_
+
+#include "base/android/jni_android.h"
+#include "base/android/scoped_java_ref.h"
+#include "base/macros.h"
+
+// Helper functions for the Omnibox view on Android.
+class OmniboxViewUtil {
+ public:
+ static bool RegisterOmniboxViewUtil(JNIEnv* env);
+
+ private:
+ DISALLOW_IMPLICIT_CONSTRUCTORS(OmniboxViewUtil);
+};
+
+#endif // CHROME_BROWSER_UI_ANDROID_OMNIBOX_OMNIBOX_VIEW_UTIL_H_
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/ui/android/omnibox/omnibox_view_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698