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

Side by Side Diff: chrome/browser/extensions/api/tabs/tabs_api.cc

Issue 93603006: Move Translate-related files to components/translate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 6 years, 11 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
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/extensions/api/tabs/tabs_api.h" 5 #include "chrome/browser/extensions/api/tabs/tabs_api.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 #include "chrome/common/chrome_switches.h" 51 #include "chrome/common/chrome_switches.h"
52 #include "chrome/common/extensions/api/i18n/default_locale_handler.h" 52 #include "chrome/common/extensions/api/i18n/default_locale_handler.h"
53 #include "chrome/common/extensions/api/tabs.h" 53 #include "chrome/common/extensions/api/tabs.h"
54 #include "chrome/common/extensions/api/windows.h" 54 #include "chrome/common/extensions/api/windows.h"
55 #include "chrome/common/extensions/extension_constants.h" 55 #include "chrome/common/extensions/extension_constants.h"
56 #include "chrome/common/extensions/extension_file_util.h" 56 #include "chrome/common/extensions/extension_file_util.h"
57 #include "chrome/common/extensions/extension_l10n_util.h" 57 #include "chrome/common/extensions/extension_l10n_util.h"
58 #include "chrome/common/extensions/extension_messages.h" 58 #include "chrome/common/extensions/extension_messages.h"
59 #include "chrome/common/extensions/message_bundle.h" 59 #include "chrome/common/extensions/message_bundle.h"
60 #include "chrome/common/pref_names.h" 60 #include "chrome/common/pref_names.h"
61 #include "chrome/common/translate/language_detection_details.h"
62 #include "chrome/common/url_constants.h" 61 #include "chrome/common/url_constants.h"
62 #include "components/translate/core/common/language_detection_details.h"
63 #include "components/user_prefs/pref_registry_syncable.h" 63 #include "components/user_prefs/pref_registry_syncable.h"
64 #include "content/public/browser/navigation_controller.h" 64 #include "content/public/browser/navigation_controller.h"
65 #include "content/public/browser/navigation_entry.h" 65 #include "content/public/browser/navigation_entry.h"
66 #include "content/public/browser/notification_details.h" 66 #include "content/public/browser/notification_details.h"
67 #include "content/public/browser/notification_source.h" 67 #include "content/public/browser/notification_source.h"
68 #include "content/public/browser/render_process_host.h" 68 #include "content/public/browser/render_process_host.h"
69 #include "content/public/browser/render_view_host.h" 69 #include "content/public/browser/render_view_host.h"
70 #include "content/public/browser/render_widget_host_view.h" 70 #include "content/public/browser/render_widget_host_view.h"
71 #include "content/public/browser/web_contents.h" 71 #include "content/public/browser/web_contents.h"
72 #include "content/public/browser/web_contents_view.h" 72 #include "content/public/browser/web_contents_view.h"
(...skipping 1847 matching lines...) Expand 10 before | Expand all | Expand 10 after
1920 execute_tab_id_ = tab_id; 1920 execute_tab_id_ = tab_id;
1921 details_ = details.Pass(); 1921 details_ = details.Pass();
1922 return true; 1922 return true;
1923 } 1923 }
1924 1924
1925 bool TabsInsertCSSFunction::ShouldInsertCSS() const { 1925 bool TabsInsertCSSFunction::ShouldInsertCSS() const {
1926 return true; 1926 return true;
1927 } 1927 }
1928 1928
1929 } // namespace extensions 1929 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/translate/page_translated_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698