Clear surface is not supported from M108, so remove this unused code
Refer to:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/324851
Change-Id: I7482219ac19bffd329a57bcca3921bcbfb19e59c
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
beforeQuit() { }
canIgnoreSuspend() { return false; }
clearCache() { }
- clearSurface(webContents: any) { }
focus(webContents: any) { }
handleAppControlEvent(appControl: any) { return true; }
handleProxyInfo(authInfo: any, callback: any) { return false; }
this.tv.cancelDialogs(this.webApplication.mainWindow.webContents);
}
- clearSurface(webContents: any) {
- this.tv.clearSurface(webContents);
- }
-
clearCache() {
console.log('clearcache with low-memory');
this.webApplication.windowList.forEach((window) => {
}
private closeWindows() {
- this.profileDelegate.clearSurface(this.mainWindow.webContents);
this.windowList.slice().forEach((window) => {
if (window != this.mainWindow)
window.destroy();