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

Side by Side Diff: components/translate/core/browser/BUILD.gn

Issue 2090283002: add experimental param to control the triggering threshold to default Always Translate checked (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review issues Created 4 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
« no previous file with comments | « components/translate/DEPS ('k') | components/translate/core/browser/translate_prefs.h » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 source_set("browser") { 7 source_set("browser") {
8 sources = [ 8 sources = [
9 "language_state.cc", 9 "language_state.cc",
10 "language_state.h", 10 "language_state.h",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 deps = [ 42 deps = [
43 "//base", 43 "//base",
44 "//base:i18n", 44 "//base:i18n",
45 "//components/data_use_measurement/core", 45 "//components/data_use_measurement/core",
46 "//components/language_usage_metrics", 46 "//components/language_usage_metrics",
47 "//components/pref_registry", 47 "//components/pref_registry",
48 "//components/prefs", 48 "//components/prefs",
49 "//components/resources:components_resources", 49 "//components/resources:components_resources",
50 "//components/strings", 50 "//components/strings",
51 "//components/translate/core/common", 51 "//components/translate/core/common",
52 "//components/variations",
52 "//google_apis", 53 "//google_apis",
53 "//net", 54 "//net",
54 "//third_party/icu", 55 "//third_party/icu",
55 "//ui/base", 56 "//ui/base",
56 "//url", 57 "//url",
57 ] 58 ]
58 59
59 if (!use_aura) { 60 if (!use_aura) {
60 sources += [ 61 sources += [
61 "translate_infobar_delegate.cc", 62 "translate_infobar_delegate.cc",
(...skipping 23 matching lines...) Expand all
85 "translate_script_unittest.cc", 86 "translate_script_unittest.cc",
86 "translate_ui_delegate_unittest.cc", 87 "translate_ui_delegate_unittest.cc",
87 ] 88 ]
88 deps = [ 89 deps = [
89 ":browser", 90 ":browser",
90 "//base", 91 "//base",
91 "//components/infobars/core", 92 "//components/infobars/core",
92 "//components/pref_registry:test_support", 93 "//components/pref_registry:test_support",
93 "//components/prefs", 94 "//components/prefs",
94 "//components/translate/core/common", 95 "//components/translate/core/common",
96 "//components/variations",
95 "//net:test_support", 97 "//net:test_support",
96 "//testing/gtest", 98 "//testing/gtest",
97 ] 99 ]
98 } 100 }
OLDNEW
« no previous file with comments | « components/translate/DEPS ('k') | components/translate/core/browser/translate_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698