mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 893529 - [fig] Allow Tap of reader list icon to open about:home READING LIST page, r=lucasr
First patch removes old code from GeckoApp.java to be moved into BrowserApp.java later
This commit is contained in:
parent
18d02d5092
commit
43d77674d3
@ -554,8 +554,6 @@ abstract public class GeckoApp
|
||||
} else if (event.equals("Reader:FaviconRequest")) {
|
||||
final String url = message.getString("url");
|
||||
handleFaviconRequest(url);
|
||||
} else if (event.equals("Reader:GoToReadingList")) {
|
||||
showReadingList();
|
||||
} else if (event.equals("Gecko:Ready")) {
|
||||
mGeckoReadyStartupTimer.stop();
|
||||
geckoConnected();
|
||||
@ -1491,7 +1489,6 @@ abstract public class GeckoApp
|
||||
registerEventListener("Reader:Removed");
|
||||
registerEventListener("Reader:Share");
|
||||
registerEventListener("Reader:FaviconRequest");
|
||||
registerEventListener("Reader:GoToReadingList");
|
||||
registerEventListener("onCameraCapture");
|
||||
registerEventListener("Menu:Add");
|
||||
registerEventListener("Menu:Remove");
|
||||
@ -2033,7 +2030,6 @@ abstract public class GeckoApp
|
||||
unregisterEventListener("Reader:Removed");
|
||||
unregisterEventListener("Reader:Share");
|
||||
unregisterEventListener("Reader:FaviconRequest");
|
||||
unregisterEventListener("Reader:GoToReadingList");
|
||||
unregisterEventListener("onCameraCapture");
|
||||
unregisterEventListener("Menu:Add");
|
||||
unregisterEventListener("Menu:Remove");
|
||||
@ -2277,10 +2273,6 @@ abstract public class GeckoApp
|
||||
return mPromptService;
|
||||
}
|
||||
|
||||
public void showReadingList() {
|
||||
// FIXME: bug 862798 (also, this probably belong in BrowserApp)
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onBackPressed() {
|
||||
if (getSupportFragmentManager().getBackStackEntryCount() > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user