1 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_UI_ANDROID_OMNIBOX_OMNIBOX_VIEW_UTIL_H_ 6 #define CHROME_BROWSER_UI_ANDROID_OMNIBOX_OMNIBOX_VIEW_UTIL_H_ 7 8 #include "base/android/jni_android.h" 9 #include "base/android/scoped_java_ref.h" 10 #include "base/macros.h" 11 12 // Helper functions for the Omnibox view on Android. 13 class OmniboxViewUtil { 14 public: 15 static bool RegisterOmniboxViewUtil(JNIEnv* env); 16 17 private: 18 DISALLOW_IMPLICIT_CONSTRUCTORS(OmniboxViewUtil); 19 }; 20 21 #endif // CHROME_BROWSER_UI_ANDROID_OMNIBOX_OMNIBOX_VIEW_UTIL_H_ 22