OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "chrome/browser/android/tab_android.h" | 5 #include "chrome/browser/android/tab_android.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.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" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 #include "chrome/common/search/instant_types.h" | 59 #include "chrome/common/search/instant_types.h" |
60 #include "chrome/common/url_constants.h" | 60 #include "chrome/common/url_constants.h" |
61 #include "components/bookmarks/browser/bookmark_model.h" | 61 #include "components/bookmarks/browser/bookmark_model.h" |
62 #include "components/bookmarks/browser/bookmark_node.h" | 62 #include "components/bookmarks/browser/bookmark_node.h" |
63 #include "components/bookmarks/browser/bookmark_utils.h" | 63 #include "components/bookmarks/browser/bookmark_utils.h" |
64 #include "components/bookmarks/managed/managed_bookmark_service.h" | 64 #include "components/bookmarks/managed/managed_bookmark_service.h" |
65 #include "components/dom_distiller/core/url_utils.h" | 65 #include "components/dom_distiller/core/url_utils.h" |
66 #include "components/favicon/content/content_favicon_driver.h" | 66 #include "components/favicon/content/content_favicon_driver.h" |
67 #include "components/navigation_interception/intercept_navigation_delegate.h" | 67 #include "components/navigation_interception/intercept_navigation_delegate.h" |
68 #include "components/navigation_interception/navigation_params.h" | 68 #include "components/navigation_interception/navigation_params.h" |
69 #include "components/offline_pages/offline_page_feature.h" | 69 #include "components/offline_pages/core/offline_page_feature.h" |
70 #include "components/offline_pages/offline_page_item.h" | 70 #include "components/offline_pages/core/offline_page_item.h" |
71 #include "components/offline_pages/offline_page_model.h" | 71 #include "components/offline_pages/core/offline_page_model.h" |
72 #include "components/sessions/content/content_live_tab.h" | 72 #include "components/sessions/content/content_live_tab.h" |
73 #include "components/sessions/core/tab_restore_service.h" | 73 #include "components/sessions/core/tab_restore_service.h" |
74 #include "components/url_formatter/url_fixer.h" | 74 #include "components/url_formatter/url_fixer.h" |
75 #include "content/public/browser/android/compositor.h" | 75 #include "content/public/browser/android/compositor.h" |
76 #include "content/public/browser/browser_thread.h" | 76 #include "content/public/browser/browser_thread.h" |
77 #include "content/public/browser/interstitial_page.h" | 77 #include "content/public/browser/interstitial_page.h" |
78 #include "content/public/browser/navigation_entry.h" | 78 #include "content/public/browser/navigation_entry.h" |
79 #include "content/public/browser/notification_service.h" | 79 #include "content/public/browser/notification_service.h" |
80 #include "content/public/browser/render_frame_host.h" | 80 #include "content/public/browser/render_frame_host.h" |
81 #include "content/public/browser/render_process_host.h" | 81 #include "content/public/browser/render_process_host.h" |
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 static void Init(JNIEnv* env, const JavaParamRef<jobject>& obj) { | 883 static void Init(JNIEnv* env, const JavaParamRef<jobject>& obj) { |
884 TRACE_EVENT0("native", "TabAndroid::Init"); | 884 TRACE_EVENT0("native", "TabAndroid::Init"); |
885 // This will automatically bind to the Java object and pass ownership there. | 885 // This will automatically bind to the Java object and pass ownership there. |
886 new TabAndroid(env, obj); | 886 new TabAndroid(env, obj); |
887 } | 887 } |
888 | 888 |
889 // static | 889 // static |
890 bool TabAndroid::RegisterTabAndroid(JNIEnv* env) { | 890 bool TabAndroid::RegisterTabAndroid(JNIEnv* env) { |
891 return RegisterNativesImpl(env); | 891 return RegisterNativesImpl(env); |
892 } | 892 } |
OLD | NEW |