|
In-te-grate hy-phen-ator to con-tent.
This change integrates the Hyphenator class to content so Chrome can use it. This change basically consists of two parts:
* Adds a couple of IPC messages so a renderer asks a browser to open hyphenation dictionaries;
* Adds a HyphenatorMessageFilter class, which opens hyphenation dictionaries in a browser process;
* Changes the Hyphenator class to send IPC messages to open hyphenation dictionaries.
BUG= 47083
TEST=HyphenatorTest.SetDictionary,HyphenatorMessageFilterTest.OpenDictionary
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154663
Total comments: 27
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+599 lines, -7 lines) |
Patch |
|
A |
content/browser/hyphenator/hyphenator_message_filter.h
|
View
|
1
2
|
1 chunk |
+77 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/hyphenator/hyphenator_message_filter.cc
|
View
|
1
|
1 chunk |
+110 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/hyphenator/hyphenator_message_filter_unittest.cc
|
View
|
1
|
1 chunk |
+154 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
content/common/content_message_generator.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
content/common/hyphenator_messages.h
|
View
|
1
2
3
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/content_browser.gypi
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/content_tests.gypi
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/public/test/mock_render_process_host.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
content/public/test/mock_render_thread.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/public/test/mock_render_thread.cc
|
View
|
1
2
3
4
|
1 chunk |
+12 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/hyphenator/hyphenator.h
|
View
|
1
2
3
4
|
2 chunks |
+18 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/renderer/hyphenator/hyphenator.cc
|
View
|
1
2
3
4
|
3 chunks |
+50 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/hyphenator/hyphenator_unittest.cc
|
View
|
1
2
3
4
|
3 chunks |
+99 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/renderer_webkitplatformsupport_impl.h
|
View
|
1
2
3
4
|
3 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/renderer_webkitplatformsupport_impl.cc
|
View
|
1
2
3
4
|
2 chunks |
+33 lines, -0 lines |
0 comments
|
Download
|
|
M |
ipc/ipc_message_utils.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|