Browser Plugin: WebContnets should notify when it's restored
Renamed NOTIFICATION_WEB_CONTENTS_HIDDEN to NOTIFICATION_WEB_CONTENTS_VISIBILITY_CHANGED and updated all appropriate places. We check for the detail false if we meant to check if the WebContents is hidden. This matches the behavior of RenderWidget's NOTIFICATION_RENDER_WIDGET_VISIBILITY_CHANGED. Added a WasRestored method to WebContents public interface. Call WasRestored from WebContents::ShowContents BUG=128814 TEST=did not break existing autofill popup browser test Review URL: https://chromiumcodereview.appspot.com/10411033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138372 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment