| OLD | NEW | 
|---|
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef CHROME_BROWSER_DEBUGGER_DEBUGGER_HOST_IMPL_H__ | 5 #ifndef CHROME_BROWSER_DEBUGGER_DEBUGGER_HOST_IMPL_H__ | 
| 6 #define CHROME_BROWSER_DEBUGGER_DEBUGGER_HOST_IMPL_H__ | 6 #define CHROME_BROWSER_DEBUGGER_DEBUGGER_HOST_IMPL_H__ | 
| 7 | 7 | 
| 8 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" | 
| 9 #include "chrome/browser/debugger/debugger_host.h" | 9 #include "chrome/browser/debugger/debugger_host.h" | 
| 10 | 10 | 
| (...skipping 16 matching lines...) Expand all  Loading... | 
| 27   // We've been successfully attached to a renderer. | 27   // We've been successfully attached to a renderer. | 
| 28   virtual void OnDebugAttach(); | 28   virtual void OnDebugAttach(); | 
| 29   // The renderer we're attached to is gone. | 29   // The renderer we're attached to is gone. | 
| 30   virtual void OnDebugDisconnect(); | 30   virtual void OnDebugDisconnect(); | 
| 31 | 31 | 
| 32   virtual void DidDisconnect(); | 32   virtual void DidDisconnect(); | 
| 33 | 33 | 
| 34   // Handles messages from debugger UI. | 34   // Handles messages from debugger UI. | 
| 35   virtual void OnDebuggerHostMsg(const ListValue* args); | 35   virtual void OnDebuggerHostMsg(const ListValue* args); | 
| 36 | 36 | 
|  | 37   virtual bool ShowWindow(); | 
|  | 38 | 
| 37  private: | 39  private: | 
| 38 |  | 
| 39   TabContents* GetTabContentsBeingDebugged() const; | 40   TabContents* GetTabContentsBeingDebugged() const; | 
| 40 | 41 | 
| 41   scoped_refptr<DebuggerInputOutput> io_; | 42   scoped_refptr<DebuggerInputOutput> io_; | 
| 42   // reference to the tab being debugged by this instance | 43   // reference to the tab being debugged by this instance | 
| 43   scoped_ptr<TabContentsReference> tab_reference_; | 44   scoped_ptr<TabContentsReference> tab_reference_; | 
| 44   // If the debugger is ready to process another command or is busy. | 45   // If the debugger is ready to process another command or is busy. | 
| 45   bool debugger_ready_; | 46   bool debugger_ready_; | 
| 46 | 47 | 
| 47   DISALLOW_COPY_AND_ASSIGN(DebuggerHostImpl); | 48   DISALLOW_COPY_AND_ASSIGN(DebuggerHostImpl); | 
| 48 }; | 49 }; | 
| 49 | 50 | 
| 50 #endif  // CHROME_BROWSER_DEBUGGER_DEBUGGER_HOST_IMPL_H__ | 51 #endif  // CHROME_BROWSER_DEBUGGER_DEBUGGER_HOST_IMPL_H__ | 
| OLD | NEW | 
|---|