Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Side by Side Diff: chrome/browser/debugger/debugger_view.h

Issue 8186: Plumb the referrer throughout the OpenURL APIs.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/constrained_window.h ('k') | chrome/browser/debugger/debugger_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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__
OLDNEW
« no previous file with comments | « chrome/browser/constrained_window.h ('k') | chrome/browser/debugger/debugger_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698