Add ready-to-show event
This commit is contained in:
parent
2dc453b4be
commit
4d65af3c60
5 changed files with 29 additions and 0 deletions
|
@ -275,6 +275,7 @@ class NativeWindow : public base::SupportsUserData,
|
|||
// content::WebContentsObserver:
|
||||
void RenderViewCreated(content::RenderViewHost* render_view_host) override;
|
||||
void BeforeUnloadDialogCancelled() override;
|
||||
void DidFirstVisuallyNonEmptyPaint() override;
|
||||
bool OnMessageReceived(const IPC::Message& message) override;
|
||||
|
||||
private:
|
||||
|
@ -284,6 +285,9 @@ class NativeWindow : public base::SupportsUserData,
|
|||
// Dispatch unresponsive event to observers.
|
||||
void NotifyWindowUnresponsive();
|
||||
|
||||
// Dispatch ReadyToShow event to observers.
|
||||
void NotifyReadyToShow();
|
||||
|
||||
// Called when CapturePage has done.
|
||||
void OnCapturePageDone(const CapturePageCallback& callback,
|
||||
const SkBitmap& bitmap,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue