Closed
Bug 1339685
Opened 8 years ago
Closed 8 years ago
Split GeckoEditable into parent and child classes
Categories
(Firefox for Android Graveyard :: Keyboards and IME, defect)
Tracking
(firefox54 fixed)
RESOLVED
FIXED
Firefox 54
Tracking | Status | |
---|---|---|
firefox54 | --- | fixed |
People
(Reporter: jchen, Assigned: jchen)
References
Details
Attachments
(8 files)
(deleted),
patch
|
nalexander
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
esawin
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
esawin
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
esawin
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
esawin
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
snorp
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
esawin
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
jchen
:
review+
|
Details | Diff | Splinter Review |
Split GeckoEditable into parent and child classes, with the parent class living inside the main process, and the child class living inside the main process and any child content processes.
Assignee | ||
Comment 1•8 years ago
|
||
Specify a list of AIDL files for GeckoView so we can include AIDLs from
multiple packages, and not just those from the org.mozilla.gecko.process
package.
Attachment #8840573 -
Flags: review?(nalexander)
Assignee | ||
Comment 2•8 years ago
|
||
Add IGeckoEditableParent.aidl and IGeckoEditableChild.aidl for two-way
communication between the parent, which lives in the main process, and
the child, which lives in the main process or a child content process.
Attachment #8840574 -
Flags: review?(esawin)
Assignee | ||
Comment 3•8 years ago
|
||
Auto-generate native constants for the constants in GeckoEditableClient,
instead of keeping a separate set of constants in native code.
Attachment #8840591 -
Flags: review?(esawin)
Assignee | ||
Comment 4•8 years ago
|
||
Add the GeckoEditableChild class, which is currently only used in the
main process as the interface between the native nsWindow and
GeckoEditable. Eventually, it will be expanded to child content
processes as the interface between the native PuppetWidget and
main process GeckoEditable.
Attachment #8840593 -
Flags: review?(esawin)
Assignee | ||
Comment 5•8 years ago
|
||
Make calls to GeckoEditableChild from GeckoEditable, and remove code
that exists in GeckoEditableChild from GeckoEditable.
Attachment #8840594 -
Flags: review?(esawin)
Assignee | ||
Comment 6•8 years ago
|
||
Add a convenience function for getting the C++ object that is the target
of the native call.
Attachment #8840595 -
Flags: review?(snorp)
Assignee | ||
Comment 7•8 years ago
|
||
Make nsWindow and GeckoEditableSupport use GeckoEditableChild for
communication. nsWindow still keeps a reference to GeckoEditable for
switching views.
Attachment #8840596 -
Flags: review?(esawin)
Assignee | ||
Comment 8•8 years ago
|
||
Attachment #8840597 -
Flags: review+
Assignee | ||
Updated•8 years ago
|
Attachment #8840574 -
Attachment description: 2. Add AIDLs for GeckoEditable (v2) → 2. Add AIDLs for GeckoEditable (v1)
Comment 9•8 years ago
|
||
Comment on attachment 8840573 [details] [diff] [review]
1. Support compiling GeckoView aidl from multiple packages (v1)
Review of attachment 8840573 [details] [diff] [review]:
-----------------------------------------------------------------
Sure.
Attachment #8840573 -
Flags: review?(nalexander) → review+
Attachment #8840595 -
Flags: review?(snorp) → review+
Updated•8 years ago
|
Attachment #8840574 -
Flags: review?(esawin) → review+
Updated•8 years ago
|
Attachment #8840591 -
Flags: review?(esawin) → review+
Updated•8 years ago
|
Attachment #8840593 -
Flags: review?(esawin) → review+
Updated•8 years ago
|
Attachment #8840594 -
Flags: review?(esawin) → review+
Comment 10•8 years ago
|
||
Comment on attachment 8840596 [details] [diff] [review]
7. Use GeckoEditableChild from native code (v1)
Review of attachment 8840596 [details] [diff] [review]:
-----------------------------------------------------------------
::: widget/android/GeckoEditableSupport.h
@@ +130,5 @@
> {
> + using GES = GeckoEditableSupport;
> + return Base::lambda.IsTarget(&GES::OnKeyEvent) ||
> + Base::lambda.IsTarget(&GES::OnImeReplaceText) ||
> + Base::lambda.IsTarget(&GES::OnImeUpdateComposition) ?
Can you add parentheses for readability?
Attachment #8840596 -
Flags: review?(esawin) → review+
Comment 11•8 years ago
|
||
Pushed by nchen@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/952cd4007da7
Split GeckoEditable into parent and child classes; r=nalexander r=esawin r=snorp
Comment 12•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 54
Blocks: 1359983
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•