This will be re-implemented without reference to Fennec's Tab/Tabs
data structures.
MozReview-Commit-ID: I12Dlb3ef58
--HG--
extra : rebase_source : 853e65fa5fff403defb16d2d95855cf5812dd440
extra : histedit_source : 362571ca464dbd40e4537667643f3cd6b55199f3
These have no consumer and deserve to be properly reworked.
MozReview-Commit-ID: KmjE44nmLXx
--HG--
extra : rebase_source : c2944ad44a0d3eb5b5486ca0afb4548a429dc518
extra : histedit_source : e2b2a2848e64bc0151b8c92071e83aea2e88237f
The existing code assumes an Activity, not just a Context, but doesn't
statically guarantee it. This patch is safe because it dynamically
type-checks, but it would be better to declare the member to be an
Activity.
MozReview-Commit-ID: 9AigV055I5j
--HG--
extra : rebase_source : d2ab14604b27e028d105bb9fd328f703f4d720ad
extra : histedit_source : 14ecb536dcc3719fe9108a1493177b0583bc1c03
GlobalHistory is Fennec-specific: it accesses the Fennec history data
store, and collects Telemetry. This allows other consumers to
implement their own store as appropriate.
MozReview-Commit-ID: 75Uxc5k8V0O
--HG--
extra : rebase_source : 7492eeac06478a64aced9d956940b54d6425b697
extra : histedit_source : ff6e7af17362c316163bc94778ddc8e236df3780
This moves some Fennec-specific home-screen icon manipulations out of
GeckoAppShell. A GeckoView interface can follow.
MozReview-Commit-ID: 7OhRAT9Agdh
--HG--
extra : rebase_source : e09513eb2f922a06b931005eea1151b2365fd990
extra : histedit_source : 82c1feda1c8b504de99e0010bee99b4b264d84c0
This is just a small simplification to allow us to not depend on
org.mozilla.gecko.R.
MozReview-Commit-ID: TjSYwYyAMS
--HG--
extra : rebase_source : 3c107cfec7bfbdbe276823eb3f0c715647485a32
extra : histedit_source : 0e13217f988363f5a68372695860bb56e21a7078
To use this, uncomment the line in geckoview.ddf. Then, after a
build, run
./mach gradle jarLocalDebugClasses
and then
java -cp mobile/android/build/classycle/classycle-1.4.1.jar classycle.dependency.DependencyChecker -mergeInnerClasses -dependencies=@mobile/android/base/geckoview.ddf $OBJDIR/gradle/build/mobile/android/app/intermediates/packaged/local/debug/classes.jar
MozReview-Commit-ID: KYtHXpmCp6x
--HG--
extra : rebase_source : 5b66a5fed9435784960a8f96a682ec3b12bdab3b
Based on the original patch from danemacmillan.
* suggestion-picker.js
Add a new shared util to find the most popular css property in an array.
The list of popular css properties is extracted from chrome devtools code.
* autocomplete-popup.js
Can specify selected item index when opening the popup or setting items.
* inplace-editor.js
Use the suggestion-picker to select a default property.
MozReview-Commit-ID: JuWZzbBSBqX
--HG--
extra : rebase_source : 3317766ae63aea83f845d3cf3d134ecf60135f67
Additionally, added WeakReferences to the SEM in its callbacks so we can
GC ASAP if the Activity (and thus the SEM) gets GC'd. This is important
since we hold a reference to Context which can be a rather large object.
Furthermore, I added some related thread annotations where I felt they
were useful.
MozReview-Commit-ID: KaWlw14uOoN
--HG--
extra : rebase_source : 71e8363985179834aaa21b9885a66bd46ae1a361
The callback may be null if setChangeCallback is never called and would cause
a crash.
MozReview-Commit-ID: BNd16Db1A8Q
--HG--
extra : rebase_source : bc54f8eda9a985843358ebd2075edfeedd99b302
The default search engine attribute may be null in the core ping if we haven't
been able to retrieve the value yet. It's unclear when this might be, but the
possibility is in the javadoc of `SearchEngineManager.getEngine`.
MozReview-Commit-ID: IrJB6GyjyTO
--HG--
extra : rebase_source : 7be9fdf01e57b5eba21842707a42662307dc5bee
We want to reuse this code for the main Activity.
MozReview-Commit-ID: BZxIrgmJI2r
--HG--
rename : mobile/android/search/java/org/mozilla/search/providers/SearchEngine.java => mobile/android/base/java/org/mozilla/gecko/search/SearchEngine.java
rename : mobile/android/search/java/org/mozilla/search/providers/SearchEngineManager.java => mobile/android/base/java/org/mozilla/gecko/search/SearchEngineManager.java
extra : rebase_source : 0a4cd7c64ecfbb5270fa2811924b7d22a87741cb