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 29 matching lines...) Expand all Loading... |
40 #include "chrome/browser/ui/android/context_menu_helper.h" | 40 #include "chrome/browser/ui/android/context_menu_helper.h" |
41 #include "chrome/browser/ui/android/infobars/infobar_container_android.h" | 41 #include "chrome/browser/ui/android/infobars/infobar_container_android.h" |
42 #include "chrome/browser/ui/android/tab_model/tab_model.h" | 42 #include "chrome/browser/ui/android/tab_model/tab_model.h" |
43 #include "chrome/browser/ui/android/tab_model/tab_model_list.h" | 43 #include "chrome/browser/ui/android/tab_model/tab_model_list.h" |
44 #include "chrome/browser/ui/android/view_android_helper.h" | 44 #include "chrome/browser/ui/android/view_android_helper.h" |
45 #include "chrome/browser/ui/blocked_content/popup_blocker_tab_helper.h" | 45 #include "chrome/browser/ui/blocked_content/popup_blocker_tab_helper.h" |
46 #include "chrome/browser/ui/search/instant_search_prerenderer.h" | 46 #include "chrome/browser/ui/search/instant_search_prerenderer.h" |
47 #include "chrome/browser/ui/search/search_tab_helper.h" | 47 #include "chrome/browser/ui/search/search_tab_helper.h" |
48 #include "chrome/browser/ui/tab_contents/core_tab_helper.h" | 48 #include "chrome/browser/ui/tab_contents/core_tab_helper.h" |
49 #include "chrome/browser/ui/tab_helpers.h" | 49 #include "chrome/browser/ui/tab_helpers.h" |
50 #include "chrome/common/instant_types.h" | |
51 #include "chrome/common/render_messages.h" | 50 #include "chrome/common/render_messages.h" |
| 51 #include "chrome/common/search/instant_types.h" |
52 #include "chrome/common/url_constants.h" | 52 #include "chrome/common/url_constants.h" |
53 #include "components/bookmarks/browser/bookmark_model.h" | 53 #include "components/bookmarks/browser/bookmark_model.h" |
54 #include "components/bookmarks/browser/bookmark_node.h" | 54 #include "components/bookmarks/browser/bookmark_node.h" |
55 #include "components/bookmarks/browser/bookmark_utils.h" | 55 #include "components/bookmarks/browser/bookmark_utils.h" |
56 #include "components/bookmarks/managed/managed_bookmark_service.h" | 56 #include "components/bookmarks/managed/managed_bookmark_service.h" |
57 #include "components/dom_distiller/core/url_utils.h" | 57 #include "components/dom_distiller/core/url_utils.h" |
58 #include "components/favicon/content/content_favicon_driver.h" | 58 #include "components/favicon/content/content_favicon_driver.h" |
59 #include "components/navigation_interception/intercept_navigation_delegate.h" | 59 #include "components/navigation_interception/intercept_navigation_delegate.h" |
60 #include "components/navigation_interception/navigation_params.h" | 60 #include "components/navigation_interception/navigation_params.h" |
61 #include "components/offline_pages/offline_page_feature.h" | 61 #include "components/offline_pages/offline_page_feature.h" |
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
901 static void Init(JNIEnv* env, const JavaParamRef<jobject>& obj) { | 901 static void Init(JNIEnv* env, const JavaParamRef<jobject>& obj) { |
902 TRACE_EVENT0("native", "TabAndroid::Init"); | 902 TRACE_EVENT0("native", "TabAndroid::Init"); |
903 // This will automatically bind to the Java object and pass ownership there. | 903 // This will automatically bind to the Java object and pass ownership there. |
904 new TabAndroid(env, obj); | 904 new TabAndroid(env, obj); |
905 } | 905 } |
906 | 906 |
907 // static | 907 // static |
908 bool TabAndroid::RegisterTabAndroid(JNIEnv* env) { | 908 bool TabAndroid::RegisterTabAndroid(JNIEnv* env) { |
909 return RegisterNativesImpl(env); | 909 return RegisterNativesImpl(env); |
910 } | 910 } |
OLD | NEW |