summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/html_dialog_window_controller.h
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-03 23:54:45 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-03 23:54:45 +0000
commitfeacf6810018543467b9befdfdc0d52dc9ae7d92 (patch)
tree3c79970c0e7226d482ac8132aade6022c1cfbc0b /chrome/browser/cocoa/html_dialog_window_controller.h
parent2ba5cda1fd02703c0066d297bcfb5848d6d926b9 (diff)
downloadchromium_src-feacf6810018543467b9befdfdc0d52dc9ae7d92.zip
chromium_src-feacf6810018543467b9befdfdc0d52dc9ae7d92.tar.gz
chromium_src-feacf6810018543467b9befdfdc0d52dc9ae7d92.tar.bz2
Created HtmlDialogTabContentsDelegate, which encapsulates the TabContentsDelegate behavior for HTML dialogs. Made all three implementations (gtk, win32, and cocoa) use it.
This also makes HTML dialogs not tied to a Browser instance. Also, unlike the current behavior, any links followed from an HTML dialog box will be opened in a non-incognito browser, even if the HTML dialog was launched from an incognito browser. According to beng, this is okay. BUG=28609 TEST=unittests, manual testing on linux/windows/os x with sync setup wizard Review URL: http://codereview.chromium.org/441011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33752 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/html_dialog_window_controller.h')
-rw-r--r--chrome/browser/cocoa/html_dialog_window_controller.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/html_dialog_window_controller.h b/chrome/browser/cocoa/html_dialog_window_controller.h
index 26b761d..c8e3884 100644
--- a/chrome/browser/cocoa/html_dialog_window_controller.h
+++ b/chrome/browser/cocoa/html_dialog_window_controller.h
@@ -22,7 +22,6 @@ class TabContents;
// from a HTMLDialogUIDelegate object.
@interface HtmlDialogWindowController : NSWindowController {
@private
- Profile* profile_; // weak. Always a non-incognito profile.
// Order here is important, as tab_contents_ may send messages to
// delegate_ when it gets destroyed.
scoped_ptr<HtmlDialogWindowDelegateBridge> delegate_;