Closed
Bug 1461511
Opened 8 years ago
Closed 8 years ago
Add method to request desktop site
Categories
(GeckoView :: General, enhancement)
GeckoView
General
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: ekager, Unassigned)
Details
We are adding a feature now to Focus/Klar to request desktop site. With WebView, we use setUserAgentString("Desktop User Agent") and setUseWideViewPort(true) in WebSettings. It would be great to have equivalent methods or even a requestDesktopSite() method in GeckoSessionSettings.
Comment 1•8 years ago
|
||
GeckoSessionSettings has a "USE_DESKTOP_MODE" setting [1] that might fit your needs.
[1] https://searchfox.org/mozilla-central/rev/2b9779c59390ecc47be7a70d99753653d8eb5afc/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoSessionSettings.java#82
Updated•8 years ago
|
Flags: needinfo?(ekager)
| Reporter | ||
Comment 2•8 years ago
|
||
Thanks!
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(ekager)
Resolution: --- → WORKSFORME
Updated•7 years ago
|
Product: Firefox for Android → GeckoView
You need to log in
before you can comment on or make changes to this bug.
Description
•