Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Fix onPageStarted/Finished never called in subclass of CordovaWebViewCl... #116

Merged
merged 1 commit into from
Jun 13, 2014

Conversation

huningxin
Copy link
Contributor

...ient

onPageStarted/Finished are methods of XWalkClient which is internal class.
For subclass of CordovaWebViewClient usage, We need to route them out.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1882

@huningxin
Copy link
Contributor Author

@wang16 @hmin , PTAL. Thanks.

…Client

onPageStarted/Finished are methods of XWalkClient which is internal class.
For subclass of CordovaWebViewClient usage, We need to route them out.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1882
@hmin
Copy link

hmin commented Jun 12, 2014

nit: nenver -> never

lgtm with the above nit.

@huningxin huningxin changed the title Fix onPageStarted/Finished nenver called in subclass of CordovaWebViewCl... Fix onPageStarted/Finished never called in subclass of CordovaWebViewCl... Jun 12, 2014
@huningxin
Copy link
Contributor Author

@hmin , Commit title updated. Please take another look.

@huningxin
Copy link
Contributor Author

As @wang16 is offline, @gaochun, could you please take a look? Thanks.

boolean isCurrentlyLoading;
private boolean doClearHistory = false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To align with the history commit of upstream. Could you please move this line above to "boolean isCurrentlyLoading;".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. It would be easier for next rebasing. I'll do that.

@huningxin
Copy link
Contributor Author

Updated the commit. @gaochun , please take another look. thanks.

@gaochun
Copy link
Contributor

gaochun commented Jun 13, 2014

LGTM

@huningxin
Copy link
Contributor Author

Thanks for the review. I am going to merge.

huningxin added a commit that referenced this pull request Jun 13, 2014
Fix onPageStarted/Finished never called in subclass of CordovaWebViewCl...
@huningxin huningxin merged commit c761501 into crosswalk-project:master Jun 13, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants