|
[TTS] Add a Java Context linked to existing native
Refactor Contextual Search to use a Java Context linked to the
native Context we've had for a while.
Update the native context have only private data members.
Also fix some minor bugs regarding the panel not updating when
a retap is done, and expanding the selection when it's been
changed.
Additional refactoring includes changing the API to the native
Contextual Search Manager to have StartSearchTermResolutionRequest
not automatically gather surrounding text -- that call must now be
done separately.
Also use WebContents instead of ContentViewCore, and some other
cleanup.
BUG= 692824, 699305, 693297
Review-Url: https://codereview.chromium.org/2706333002
Cr-Commit-Position: refs/heads/master@{#456087}
Committed: https://chromium.googlesource.com/chromium/src/+/4740983c521d7ac5ace825964eabddadf64507b8
Total comments: 21
Total comments: 17
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+489 lines, -253 lines) |
Patch |
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchBarControl.java
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchContextControl.java
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanel.java
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
A |
chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchContext.java
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+77 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java
|
View
|
1
2
3
4
5
6
7
|
15 chunks |
+58 lines, -44 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchSelectionController.java
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+17 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java_sources.gni
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/android/javatests/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchTapEventTest.java
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/android/chrome_jni_registrar.cc
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/android/contextualsearch/contextual_search_context.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+71 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/android/contextualsearch/contextual_search_context.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+119 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/android/contextualsearch/contextual_search_delegate.h
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+27 lines, -42 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/android/contextualsearch/contextual_search_delegate.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+80 lines, -106 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/android/contextualsearch/contextual_search_delegate_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/android/contextualsearch/contextual_search_manager.h
|
View
|
|
1 chunk |
+5 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/android/contextualsearch/contextual_search_manager.cc
|
View
|
|
1 chunk |
+14 lines, -22 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 38 (27 generated)
|