| Index: content/public/browser/web_contents_observer.h
|
| diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h
|
| index 59e0a1b84272768c89c75e1d274abb6a9aef0f4e..93565da511af756481180689f9350f764db9336c 100644
|
| --- a/content/public/browser/web_contents_observer.h
|
| +++ b/content/public/browser/web_contents_observer.h
|
| @@ -10,6 +10,7 @@
|
| #include "content/common/content_export.h"
|
| #include "content/public/browser/navigation_controller.h"
|
| #include "content/public/common/page_transition_types.h"
|
| +#include "content/public/common/three_d_api_types.h"
|
| #include "ipc/ipc_listener.h"
|
| #include "ipc/ipc_sender.h"
|
| #include "webkit/glue/window_open_disposition.h"
|
| @@ -149,6 +150,12 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener,
|
| const FilePath& plugin_path,
|
| const base::Callback<void(bool)>& callback);
|
|
|
| + // Indicates that client 3D APIs (Pepper 3D, WebGL) were just
|
| + // blocked on the current page, specifically because the GPU was
|
| + // reset recently.
|
| + virtual void DidBlock3DAPIs(const GURL& url,
|
| + ThreeDAPIType requester) {}
|
| +
|
| // IPC::Listener implementation.
|
| virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
|
|
|
|
|