| 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 29 matching lines...) Expand all Loading... |
| 40 void OnClose(); | 40 void OnClose(); |
| 41 | 41 |
| 42 void SetOutputViewReady(); | 42 void SetOutputViewReady(); |
| 43 | 43 |
| 44 // Overridden from views::View: | 44 // Overridden from views::View: |
| 45 virtual std::string GetClassName() const { | 45 virtual std::string GetClassName() const { |
| 46 return "DebuggerView"; | 46 return "DebuggerView"; |
| 47 } | 47 } |
| 48 virtual gfx::Size GetPreferredSize(); | 48 virtual gfx::Size GetPreferredSize(); |
| 49 virtual void Layout(); | 49 virtual void Layout(); |
| 50 virtual void Paint(ChromeCanvas* canvas); | 50 virtual void Paint(gfx::Canvas* canvas); |
| 51 virtual void ViewHierarchyChanged(bool is_add, | 51 virtual void ViewHierarchyChanged(bool is_add, |
| 52 views::View* parent, | 52 views::View* parent, |
| 53 views::View* child); | 53 views::View* child); |
| 54 | 54 |
| 55 // Overridden from PageNavigator (TabContentsDelegate's base interface): | 55 // Overridden from PageNavigator (TabContentsDelegate's base interface): |
| 56 virtual void OpenURLFromTab(TabContents* source, | 56 virtual void OpenURLFromTab(TabContents* source, |
| 57 const GURL& url, | 57 const GURL& url, |
| 58 const GURL& referrer, | 58 const GURL& referrer, |
| 59 WindowOpenDisposition disposition, | 59 WindowOpenDisposition disposition, |
| 60 PageTransition::Type transition); | 60 PageTransition::Type transition); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 TabContentsContainerView* web_container_; | 93 TabContentsContainerView* web_container_; |
| 94 std::vector<std::wstring> pending_output_; | 94 std::vector<std::wstring> pending_output_; |
| 95 std::vector<std::string> pending_events_; | 95 std::vector<std::string> pending_events_; |
| 96 bool output_ready_; | 96 bool output_ready_; |
| 97 | 97 |
| 98 DISALLOW_EVIL_CONSTRUCTORS(DebuggerView); | 98 DISALLOW_EVIL_CONSTRUCTORS(DebuggerView); |
| 99 }; | 99 }; |
| 100 | 100 |
| 101 | 101 |
| 102 #endif // CHROME_BROWSER_DEBUGGER_DEBUGGER_VIEW_H__ | 102 #endif // CHROME_BROWSER_DEBUGGER_DEBUGGER_VIEW_H__ |
| OLD | NEW |