| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 virtual gfx::Size GetPreferredSize(); | 50 virtual gfx::Size GetPreferredSize(); |
| 51 virtual void Layout(); | 51 virtual void Layout(); |
| 52 virtual void Paint(ChromeCanvas* canvas); | 52 virtual void Paint(ChromeCanvas* canvas); |
| 53 virtual void ViewHierarchyChanged(bool is_add, | 53 virtual void ViewHierarchyChanged(bool is_add, |
| 54 views::View* parent, | 54 views::View* parent, |
| 55 views::View* child); | 55 views::View* child); |
| 56 | 56 |
| 57 // Overridden from PageNavigator (TabContentsDelegate's base interface): | 57 // Overridden from PageNavigator (TabContentsDelegate's base interface): |
| 58 virtual void OpenURLFromTab(TabContents* source, | 58 virtual void OpenURLFromTab(TabContents* source, |
| 59 const GURL& url, | 59 const GURL& url, |
| 60 const GURL& referrer, |
| 60 WindowOpenDisposition disposition, | 61 WindowOpenDisposition disposition, |
| 61 PageTransition::Type transition); | 62 PageTransition::Type transition); |
| 62 | 63 |
| 63 // Overridden from TabContentsDelegate: | 64 // Overridden from TabContentsDelegate: |
| 64 virtual void NavigationStateChanged(const TabContents* source, | 65 virtual void NavigationStateChanged(const TabContents* source, |
| 65 unsigned changed_flags) {} | 66 unsigned changed_flags) {} |
| 66 virtual void ReplaceContents(TabContents* source, | 67 virtual void ReplaceContents(TabContents* source, |
| 67 TabContents* new_contents) {} | 68 TabContents* new_contents) {} |
| 68 virtual void AddNewContents(TabContents* source, | 69 virtual void AddNewContents(TabContents* source, |
| 69 TabContents* new_contents, | 70 TabContents* new_contents, |
| (...skipping 17 matching lines...) Expand all Loading... |
| 87 WebContents* web_contents_; | 88 WebContents* web_contents_; |
| 88 TabContentsContainerView* web_container_; | 89 TabContentsContainerView* web_container_; |
| 89 std::vector<std::wstring> pending_output_; | 90 std::vector<std::wstring> pending_output_; |
| 90 bool output_ready_; | 91 bool output_ready_; |
| 91 | 92 |
| 92 DISALLOW_EVIL_CONSTRUCTORS(DebuggerView); | 93 DISALLOW_EVIL_CONSTRUCTORS(DebuggerView); |
| 93 }; | 94 }; |
| 94 | 95 |
| 95 | 96 |
| 96 #endif // CHROME_BROWSER_DEBUGGER_DEBUGGER_VIEW_H__ | 97 #endif // CHROME_BROWSER_DEBUGGER_DEBUGGER_VIEW_H__ |
| OLD | NEW |