| Index: content/browser/devtools/protocol/page_handler.h
 | 
| diff --git a/content/browser/devtools/protocol/page_handler.h b/content/browser/devtools/protocol/page_handler.h
 | 
| index 6777a6ab4cdd29682fb782c5309556e625112c9e..cee47594bc3ba0697595379efe35d1a98b243506 100644
 | 
| --- a/content/browser/devtools/protocol/page_handler.h
 | 
| +++ b/content/browser/devtools/protocol/page_handler.h
 | 
| @@ -30,6 +30,12 @@ class PageHandler {
 | 
|   public:
 | 
|    typedef DevToolsProtocolClient::Response Response;
 | 
|  
 | 
| +  class ScreencastListener {
 | 
| +   public:
 | 
| +    virtual ~ScreencastListener() { }
 | 
| +    virtual void ScreencastEnabledChanged() = 0;
 | 
| +  };
 | 
| +
 | 
|    PageHandler();
 | 
|    virtual ~PageHandler();
 | 
|  
 | 
| @@ -40,6 +46,8 @@ class PageHandler {
 | 
|    void OnVisibilityChanged(bool visible);
 | 
|    void DidAttachInterstitialPage();
 | 
|    void DidDetachInterstitialPage();
 | 
| +  void SetScreencastListener(ScreencastListener* listener);
 | 
| +  bool screencast_enabled() const { return enabled_ && screencast_enabled_; }
 | 
|  
 | 
|    Response Enable();
 | 
|    Response Disable();
 | 
| @@ -147,6 +155,7 @@ class PageHandler {
 | 
|  
 | 
|    RenderViewHostImpl* host_;
 | 
|    scoped_ptr<Client> client_;
 | 
| +  ScreencastListener* screencast_listener_;
 | 
|    base::WeakPtrFactory<PageHandler> weak_factory_;
 | 
|  
 | 
|    DISALLOW_COPY_AND_ASSIGN(PageHandler);
 | 
| 
 |