OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/android/document/document_web_contents_delegate.h" | 5 #include "chrome/browser/android/document/document_web_contents_delegate.h" |
6 | 6 |
7 #include "components/web_contents_delegate_android/web_contents_delegate_android
.h" | 7 #include "components/web_contents_delegate_android/web_contents_delegate_android
.h" |
8 #include "content/public/browser/web_contents.h" | 8 #include "content/public/browser/web_contents.h" |
9 #include "jni/DocumentWebContentsDelegate_jni.h" | 9 #include "jni/DocumentWebContentsDelegate_jni.h" |
10 | 10 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 int main_frame_route_id, | 48 int main_frame_route_id, |
49 WindowContainerType window_container_type, | 49 WindowContainerType window_container_type, |
50 const std::string& frame_name, | 50 const std::string& frame_name, |
51 const GURL& target_url, | 51 const GURL& target_url, |
52 const std::string& partition_id, | 52 const std::string& partition_id, |
53 content::SessionStorageNamespace* session_storage_namespace) { | 53 content::SessionStorageNamespace* session_storage_namespace) { |
54 NOTREACHED(); | 54 NOTREACHED(); |
55 return false; | 55 return false; |
56 } | 56 } |
57 | 57 |
58 | 58 static jlong Initialize(JNIEnv* env, const JavaParamRef<jobject>& obj) { |
59 static jlong Initialize(JNIEnv* env, jobject obj) { | |
60 return reinterpret_cast<intptr_t>(new DocumentWebContentsDelegate(env, obj)); | 59 return reinterpret_cast<intptr_t>(new DocumentWebContentsDelegate(env, obj)); |
61 } | 60 } |
OLD | NEW |