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

Side by Side Diff: chrome/browser/views/html_dialog_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/views/dom_view.cc ('k') | chrome/browser/views/html_dialog_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 #ifndef CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H__ 5 #ifndef CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H__
6 #define CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H__ 6 #define CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/dom_ui/html_dialog_contents.h" 10 #include "chrome/browser/dom_ui/html_dialog_contents.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 // Overridden from HtmlDialogContentsDelegate: 50 // Overridden from HtmlDialogContentsDelegate:
51 virtual GURL GetDialogContentURL() const; 51 virtual GURL GetDialogContentURL() const;
52 virtual void GetDialogSize(CSize* size) const; 52 virtual void GetDialogSize(CSize* size) const;
53 virtual std::string GetDialogArgs() const; 53 virtual std::string GetDialogArgs() const;
54 virtual void OnDialogClosed(const std::string& json_retval); 54 virtual void OnDialogClosed(const std::string& json_retval);
55 55
56 // Overridden from TabContentsDelegate: 56 // Overridden from TabContentsDelegate:
57 virtual void OpenURLFromTab(TabContents* source, 57 virtual void OpenURLFromTab(TabContents* source,
58 const GURL& url, 58 const GURL& url,
59 const GURL& referrer,
59 WindowOpenDisposition disposition, 60 WindowOpenDisposition disposition,
60 PageTransition::Type transition); 61 PageTransition::Type transition);
61 virtual void NavigationStateChanged(const TabContents* source, 62 virtual void NavigationStateChanged(const TabContents* source,
62 unsigned changed_flags); 63 unsigned changed_flags);
63 virtual void ReplaceContents(TabContents* source, 64 virtual void ReplaceContents(TabContents* source,
64 TabContents* new_contents); 65 TabContents* new_contents);
65 virtual void AddNewContents(TabContents* source, 66 virtual void AddNewContents(TabContents* source,
66 TabContents* new_contents, 67 TabContents* new_contents,
67 WindowOpenDisposition disposition, 68 WindowOpenDisposition disposition,
68 const gfx::Rect& initial_pos, 69 const gfx::Rect& initial_pos,
(...skipping 18 matching lines...) Expand all
87 // about when the dialog is closing. For all other actions (besides dialog 88 // about when the dialog is closing. For all other actions (besides dialog
88 // closing) we delegate to the creator of this view, which we keep track of 89 // closing) we delegate to the creator of this view, which we keep track of
89 // using this variable. 90 // using this variable.
90 HtmlDialogContentsDelegate* delegate_; 91 HtmlDialogContentsDelegate* delegate_;
91 92
92 DISALLOW_EVIL_CONSTRUCTORS(HtmlDialogView); 93 DISALLOW_EVIL_CONSTRUCTORS(HtmlDialogView);
93 }; 94 };
94 95
95 #endif // CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H__ 96 #endif // CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H__
96 97
OLDNEW
« no previous file with comments | « chrome/browser/views/dom_view.cc ('k') | chrome/browser/views/html_dialog_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698