summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/external_protocol_dialog.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-05 06:08:54 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-05 06:08:54 +0000
commitcb4282a066df8b0e1c09c90d3780625579c0a569 (patch)
treee3bc08313cbca44a0229775c180511f78ab8e278 /chrome/browser/ui/views/external_protocol_dialog.h
parentc31116a991f7cd93a69a7f609d9dded29c87ab85 (diff)
downloadchromium_src-cb4282a066df8b0e1c09c90d3780625579c0a569.zip
chromium_src-cb4282a066df8b0e1c09c90d3780625579c0a569.tar.gz
chromium_src-cb4282a066df8b0e1c09c90d3780625579c0a569.tar.bz2
Get rid of another bunch of tab_contents.h includes from chrome and switch the code to use WebContents.
BUG=98716 TBR=erg Review URL: http://codereview.chromium.org/9110003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116466 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/views/external_protocol_dialog.h')
-rw-r--r--chrome/browser/ui/views/external_protocol_dialog.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/browser/ui/views/external_protocol_dialog.h b/chrome/browser/ui/views/external_protocol_dialog.h
index 9929b2f..0608baa 100644
--- a/chrome/browser/ui/views/external_protocol_dialog.h
+++ b/chrome/browser/ui/views/external_protocol_dialog.h
@@ -12,7 +12,9 @@
#include "googleurl/src/gurl.h"
#include "ui/views/window/dialog_delegate.h"
-class TabContents;
+namespace content {
+class WebContents;
+}
namespace views {
class MessageBoxView;
@@ -21,7 +23,7 @@ class MessageBoxView;
class ExternalProtocolDialog : public views::DialogDelegate {
public:
// RunExternalProtocolDialog calls this private constructor.
- ExternalProtocolDialog(TabContents* tab_contents,
+ ExternalProtocolDialog(content::WebContents* web_contents,
const GURL& url,
const std::wstring& command);
@@ -49,8 +51,8 @@ class ExternalProtocolDialog : public views::DialogDelegate {
// The message box view whose commands we handle.
views::MessageBoxView* message_box_view_;
- // The associated TabContents.
- TabContents* tab_contents_;
+ // The associated WebContents.
+ content::WebContents* web_contents_;
// URL of the external protocol request.
GURL url_;