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

Side by Side Diff: content/browser/android/content_view_client.cc

Issue 10798010: Uses gyp "rules" rather than "actions" templates for the JNI generator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Typo on content_jni.gypi 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/browser/android/content_view_client.h" 5 #include "content/browser/android/content_view_client.h"
6 6
7 #include <android/keycodes.h> 7 #include <android/keycodes.h>
8 8
9 #include "base/android/jni_android.h" 9 #include "base/android/jni_android.h"
10 #include "base/android/jni_string.h" 10 #include "base/android/jni_string.h"
11 #include "content/browser/android/content_util.h" 11 #include "content/browser/android/content_util.h"
12 #include "content/browser/android/content_view_core_impl.h" 12 #include "content/browser/android/content_view_core_impl.h"
13 #include "content/browser/android/download_controller.h" 13 #include "content/browser/android/download_controller.h"
14 #include "content/browser/android/ime_utils.h" 14 #include "content/browser/android/ime_utils.h"
15 #include "content/browser/renderer_host/render_view_host_impl.h" 15 #include "content/browser/renderer_host/render_view_host_impl.h"
16 #include "content/common/find_match_rect_android.h" 16 #include "content/common/find_match_rect_android.h"
17 #include "content/public/browser/render_widget_host_view.h" 17 #include "content/public/browser/render_widget_host_view.h"
18 #include "content/public/browser/download_item.h" 18 #include "content/public/browser/download_item.h"
19 #include "content/public/browser/invalidate_type.h" 19 #include "content/public/browser/invalidate_type.h"
20 #include "content/public/browser/page_navigator.h" 20 #include "content/public/browser/page_navigator.h"
21 #include "content/public/browser/navigation_controller.h" 21 #include "content/public/browser/navigation_controller.h"
22 #include "content/public/browser/navigation_entry.h" 22 #include "content/public/browser/navigation_entry.h"
23 #include "content/public/browser/web_contents.h" 23 #include "content/public/browser/web_contents.h"
24 #include "content/public/common/page_transition_types.h" 24 #include "content/public/common/page_transition_types.h"
25 #include "content/public/common/referrer.h" 25 #include "content/public/common/referrer.h"
26 #include "jni/content_view_client_jni.h" 26 #include "jni/ContentViewClient_jni.h"
27 #include "net/http/http_request_headers.h" 27 #include "net/http/http_request_headers.h"
28 #include "ui/gfx/rect.h" 28 #include "ui/gfx/rect.h"
29 #include "webkit/glue/window_open_disposition.h" 29 #include "webkit/glue/window_open_disposition.h"
30 30
31 using base::android::AttachCurrentThread; 31 using base::android::AttachCurrentThread;
32 using base::android::CheckException; 32 using base::android::CheckException;
33 using base::android::ConvertUTF8ToJavaString; 33 using base::android::ConvertUTF8ToJavaString;
34 using base::android::ConvertUTF16ToJavaString; 34 using base::android::ConvertUTF16ToJavaString;
35 using base::android::GetClass; 35 using base::android::GetClass;
36 using base::android::GetMethodID; 36 using base::android::GetMethodID;
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 591
592 bool RegisterContentViewClient(JNIEnv* env) { 592 bool RegisterContentViewClient(JNIEnv* env) {
593 if (!HasClass(env, kContentViewClientClassPath)) { 593 if (!HasClass(env, kContentViewClientClassPath)) {
594 DLOG(ERROR) << "Unable to find class ContentViewClient!"; 594 DLOG(ERROR) << "Unable to find class ContentViewClient!";
595 return false; 595 return false;
596 } 596 }
597 return RegisterNativesImpl(env); 597 return RegisterNativesImpl(env);
598 } 598 }
599 599
600 } // namespace content 600 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/android/content_settings.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698