summaryrefslogtreecommitdiffstats
path: root/content/browser/android/load_url_params.h
diff options
context:
space:
mode:
authorboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-15 23:33:12 +0000
committerboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-15 23:33:12 +0000
commit60f435aba979653d75519c8074c08f4c3824459e (patch)
treef025c7d928dce8eb30731ded8fc50b9a21db2f3d /content/browser/android/load_url_params.h
parentea987b72d3dbcb03f6f1e62e4a0478b233267ca1 (diff)
downloadchromium_src-60f435aba979653d75519c8074c08f4c3824459e.zip
chromium_src-60f435aba979653d75519c8074c08f4c3824459e.tar.gz
chromium_src-60f435aba979653d75519c8074c08f4c3824459e.tar.bz2
Consolidate ContentViewCore::Load* functions
Consolidate all ContentViewCore::Load* methods into a single LoadUrl call that takes a NavigationController::LoadURLParam. Consolidate all jni ContentViewCore::Load* methods by adding a Java LoadUrlParams. The data is copied to a native AndroidLoadUrlParams object in native jni code. BUG=142933 Review URL: https://chromiumcodereview.appspot.com/10823207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151784 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/android/load_url_params.h')
-rw-r--r--content/browser/android/load_url_params.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/content/browser/android/load_url_params.h b/content/browser/android/load_url_params.h
new file mode 100644
index 0000000..77a68f1
--- /dev/null
+++ b/content/browser/android/load_url_params.h
@@ -0,0 +1,16 @@
+// Copyright (c) 2012 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 CONTENT_BROWSER_ANDROID_LOAD_URL_PARAMS_H_
+#define CONTENT_BROWSER_ANDROID_LOAD_URL_PARAMS_H_
+
+#include <jni.h>
+
+namespace content {
+
+bool RegisterLoadUrlParams(JNIEnv* env);
+
+} // namespace content
+
+#endif // CONTENT_BROWSER_ANDROID_LOAD_URL_PARAMS_H_