| 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 // Simple UI for the command-line V8 debugger consisting of a text field for | 5 // Simple UI for the command-line V8 debugger consisting of a text field for |
| 6 // entry and an output view consisting of (potentially wrapped) lines of text. | 6 // entry and an output view consisting of (potentially wrapped) lines of text. |
| 7 | 7 |
| 8 // TODO(erikkay): investigate replacing this with a DHTML interface | 8 // TODO(erikkay): investigate replacing this with a DHTML interface |
| 9 | 9 |
| 10 #ifndef CHROME_BROWSER_DEBUGGER_DEBUGGER_VIEW_H__ | 10 #ifndef CHROME_BROWSER_DEBUGGER_DEBUGGER_VIEW_H__ |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 virtual void AddNewContents(TabContents* source, | 69 virtual void AddNewContents(TabContents* source, |
| 70 TabContents* new_contents, | 70 TabContents* new_contents, |
| 71 WindowOpenDisposition disposition, | 71 WindowOpenDisposition disposition, |
| 72 const gfx::Rect& initial_pos, | 72 const gfx::Rect& initial_pos, |
| 73 bool user_gesture) {} | 73 bool user_gesture) {} |
| 74 virtual void ActivateContents(TabContents* contents) {} | 74 virtual void ActivateContents(TabContents* contents) {} |
| 75 virtual void LoadingStateChanged(TabContents* source); | 75 virtual void LoadingStateChanged(TabContents* source); |
| 76 virtual void CloseContents(TabContents* source) {} | 76 virtual void CloseContents(TabContents* source) {} |
| 77 virtual void MoveContents(TabContents* source, const gfx::Rect& pos) {} | 77 virtual void MoveContents(TabContents* source, const gfx::Rect& pos) {} |
| 78 virtual bool IsPopup(TabContents* source) { return false; } | 78 virtual bool IsPopup(TabContents* source) { return false; } |
| 79 virtual bool IsEmbedded(TabContents* source) { return false; } |
| 79 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating) {} | 80 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating) {} |
| 80 virtual void URLStarredChanged(TabContents* source, bool) {} | 81 virtual void URLStarredChanged(TabContents* source, bool) {} |
| 81 virtual void UpdateTargetURL(TabContents* source, const GURL& url) {} | 82 virtual void UpdateTargetURL(TabContents* source, const GURL& url) {} |
| 82 virtual bool CanBlur() const { return false; } | 83 virtual bool CanBlur() const { return false; } |
| 83 | 84 |
| 84 private: | 85 private: |
| 85 void ExecuteJavascript(const std::string& js); | 86 void ExecuteJavascript(const std::string& js); |
| 86 | 87 |
| 87 ChromeFont font_; | 88 ChromeFont font_; |
| 88 WebContents* web_contents_; | 89 WebContents* web_contents_; |
| 89 TabContentsContainerView* web_container_; | 90 TabContentsContainerView* web_container_; |
| 90 std::vector<std::wstring> pending_output_; | 91 std::vector<std::wstring> pending_output_; |
| 91 bool output_ready_; | 92 bool output_ready_; |
| 92 | 93 |
| 93 DISALLOW_EVIL_CONSTRUCTORS(DebuggerView); | 94 DISALLOW_EVIL_CONSTRUCTORS(DebuggerView); |
| 94 }; | 95 }; |
| 95 | 96 |
| 96 | 97 |
| 97 #endif // CHROME_BROWSER_DEBUGGER_DEBUGGER_VIEW_H__ | 98 #endif // CHROME_BROWSER_DEBUGGER_DEBUGGER_VIEW_H__ |
| OLD | NEW |