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

Side by Side Diff: chrome/browser/android/tab_android.cc

Issue 333723002: Componentize google_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + build fix Created 6 years, 6 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
« no previous file with comments | « chrome/browser/android/logo_service.cc ('k') | chrome/browser/android/url_utilities.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chrome/browser/android/tab_android.h" 5 #include "chrome/browser/android/tab_android.h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/jni_array.h" 8 #include "base/android/jni_array.h"
9 #include "base/android/jni_string.h" 9 #include "base/android/jni_string.h"
10 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
11 #include "chrome/browser/android/chrome_web_contents_delegate_android.h" 11 #include "chrome/browser/android/chrome_web_contents_delegate_android.h"
12 #include "chrome/browser/browser_about_handler.h" 12 #include "chrome/browser/browser_about_handler.h"
13 #include "chrome/browser/chrome_notification_types.h" 13 #include "chrome/browser/chrome_notification_types.h"
14 #include "chrome/browser/content_settings/tab_specific_content_settings.h" 14 #include "chrome/browser/content_settings/tab_specific_content_settings.h"
15 #include "chrome/browser/google/google_url_tracker_factory.h" 15 #include "chrome/browser/google/google_url_tracker_factory.h"
16 #include "chrome/browser/google/google_util.h"
17 #include "chrome/browser/infobars/infobar_service.h" 16 #include "chrome/browser/infobars/infobar_service.h"
18 #include "chrome/browser/prerender/prerender_contents.h" 17 #include "chrome/browser/prerender/prerender_contents.h"
19 #include "chrome/browser/prerender/prerender_manager.h" 18 #include "chrome/browser/prerender/prerender_manager.h"
20 #include "chrome/browser/prerender/prerender_manager_factory.h" 19 #include "chrome/browser/prerender/prerender_manager_factory.h"
21 #include "chrome/browser/printing/print_view_manager_basic.h" 20 #include "chrome/browser/printing/print_view_manager_basic.h"
22 #include "chrome/browser/profiles/profile.h" 21 #include "chrome/browser/profiles/profile.h"
23 #include "chrome/browser/profiles/profile_android.h" 22 #include "chrome/browser/profiles/profile_android.h"
24 #include "chrome/browser/search/search.h" 23 #include "chrome/browser/search/search.h"
25 #include "chrome/browser/sessions/session_tab_helper.h" 24 #include "chrome/browser/sessions/session_tab_helper.h"
26 #include "chrome/browser/sync/glue/synced_tab_delegate_android.h" 25 #include "chrome/browser/sync/glue/synced_tab_delegate_android.h"
27 #include "chrome/browser/ui/android/content_settings/popup_blocked_infobar_deleg ate.h" 26 #include "chrome/browser/ui/android/content_settings/popup_blocked_infobar_deleg ate.h"
28 #include "chrome/browser/ui/android/context_menu_helper.h" 27 #include "chrome/browser/ui/android/context_menu_helper.h"
29 #include "chrome/browser/ui/android/infobars/infobar_container_android.h" 28 #include "chrome/browser/ui/android/infobars/infobar_container_android.h"
30 #include "chrome/browser/ui/android/tab_model/tab_model.h" 29 #include "chrome/browser/ui/android/tab_model/tab_model.h"
31 #include "chrome/browser/ui/android/tab_model/tab_model_list.h" 30 #include "chrome/browser/ui/android/tab_model/tab_model_list.h"
32 #include "chrome/browser/ui/android/window_android_helper.h" 31 #include "chrome/browser/ui/android/window_android_helper.h"
33 #include "chrome/browser/ui/blocked_content/popup_blocker_tab_helper.h" 32 #include "chrome/browser/ui/blocked_content/popup_blocker_tab_helper.h"
34 #include "chrome/browser/ui/search/instant_search_prerenderer.h" 33 #include "chrome/browser/ui/search/instant_search_prerenderer.h"
35 #include "chrome/browser/ui/search/search_tab_helper.h" 34 #include "chrome/browser/ui/search/search_tab_helper.h"
36 #include "chrome/browser/ui/tab_contents/core_tab_helper.h" 35 #include "chrome/browser/ui/tab_contents/core_tab_helper.h"
37 #include "chrome/browser/ui/tab_helpers.h" 36 #include "chrome/browser/ui/tab_helpers.h"
38 #include "chrome/browser/ui/toolbar/toolbar_model_impl.h" 37 #include "chrome/browser/ui/toolbar/toolbar_model_impl.h"
39 #include "chrome/common/url_constants.h" 38 #include "chrome/common/url_constants.h"
40 #include "components/google/core/browser/google_url_tracker.h" 39 #include "components/google/core/browser/google_url_tracker.h"
40 #include "components/google/core/browser/google_util.h"
41 #include "components/infobars/core/infobar_container.h" 41 #include "components/infobars/core/infobar_container.h"
42 #include "components/url_fixer/url_fixer.h" 42 #include "components/url_fixer/url_fixer.h"
43 #include "content/public/browser/android/content_view_core.h" 43 #include "content/public/browser/android/content_view_core.h"
44 #include "content/public/browser/navigation_entry.h" 44 #include "content/public/browser/navigation_entry.h"
45 #include "content/public/browser/notification_service.h" 45 #include "content/public/browser/notification_service.h"
46 #include "content/public/browser/user_metrics.h" 46 #include "content/public/browser/user_metrics.h"
47 #include "content/public/browser/web_contents.h" 47 #include "content/public/browser/web_contents.h"
48 #include "jni/Tab_jni.h" 48 #include "jni/Tab_jni.h"
49 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" 49 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
50 50
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 526
527 static void Init(JNIEnv* env, jobject obj) { 527 static void Init(JNIEnv* env, jobject obj) {
528 TRACE_EVENT0("native", "TabAndroid::Init"); 528 TRACE_EVENT0("native", "TabAndroid::Init");
529 // This will automatically bind to the Java object and pass ownership there. 529 // This will automatically bind to the Java object and pass ownership there.
530 new TabAndroid(env, obj); 530 new TabAndroid(env, obj);
531 } 531 }
532 532
533 bool TabAndroid::RegisterTabAndroid(JNIEnv* env) { 533 bool TabAndroid::RegisterTabAndroid(JNIEnv* env) {
534 return RegisterNativesImpl(env); 534 return RegisterNativesImpl(env);
535 } 535 }
OLDNEW
« no previous file with comments | « chrome/browser/android/logo_service.cc ('k') | chrome/browser/android/url_utilities.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698