|
Move TranslatePrefs to the Translate component
TranslatePrefs now needs the path to preferences in its constructor.
To help with this, a helper method is added to TranslateTabHelper to build
TranslatePrefs instances.
As a result, TranslatePrefs are no longer instantiated on the stack, but rather
on the heap.
BUG= 335079
TBR=battre, jochen, joi
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251305
Total comments: 5
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+278 lines, -1020 lines) |
Patch |
 |
M |
chrome/browser/prefs/browser_prefs.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/test/integration/migration_test.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc
|
View
|
|
4 chunks |
+35 lines, -28 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/render_view_context_menu.cc
|
View
|
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/translate/translate_infobar_delegate.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/translate/translate_infobar_delegate.cc
|
View
|
1
2
3
4
|
4 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/translate/translate_manager.cc
|
View
|
1
2
3
4
|
4 chunks |
+13 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/translate/translate_manager_browsertest.cc
|
View
|
1
2
3
4
|
13 chunks |
+48 lines, -38 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/translate/translate_prefs.h
|
View
|
|
1 chunk |
+0 lines, -143 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/translate/translate_prefs.cc
|
View
|
|
1 chunk |
+0 lines, -552 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/translate/translate_prefs_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -119 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/translate/translate_tab_helper.h
|
View
|
1
2
3
4
|
3 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/translate/translate_tab_helper.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+23 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/translate/translate_ui_delegate.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/infobars/translate_infobar_unittest.mm
|
View
|
|
3 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/language_options_handler_common.cc
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc
|
View
|
|
3 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/components_tests.gyp
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/translate.gypi
|
View
|
|
2 chunks |
+3 lines, -0 lines |
2 comments
|
Download
|
 |
M |
components/translate/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/translate/core/browser/translate_download_manager.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
components/translate/core/browser/translate_download_manager.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A + |
components/translate/core/browser/translate_prefs.h
|
View
|
1
2
3
4
5
6
|
8 chunks |
+34 lines, -23 lines |
0 comments
|
Download
|
 |
A + |
components/translate/core/browser/translate_prefs.cc
|
View
|
1
2
3
4
5
|
19 chunks |
+52 lines, -64 lines |
0 comments
|
Download
|
 |
A + |
components/translate/core/browser/translate_prefs_unittest.cc
|
View
|
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tools/gn/secondary/components/translate/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 32 (0 generated)
|