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

Unified Diff: chrome/browser/views/jsmessage_box_dialog.h

Issue 373006: Implement window.alert() and its cousins for extensions.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.cc ('k') | chrome/browser/views/jsmessage_box_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/jsmessage_box_dialog.h
===================================================================
--- chrome/browser/views/jsmessage_box_dialog.h (revision 31156)
+++ chrome/browser/views/jsmessage_box_dialog.h (working copy)
@@ -11,7 +11,7 @@
#include "views/window/dialog_delegate.h"
class MessageBoxView;
-class TabContents;
+class JavaScriptMessageBoxClient;
namespace views {
class Window;
}
@@ -47,8 +47,8 @@
virtual void OnClose();
private:
- TabContents* tab_contents() {
- return parent_->tab_contents();
+ JavaScriptMessageBoxClient* client() {
+ return parent_->client();
}
// A pointer to the AppModalDialog that owns us.
Property changes on: chrome\browser\views\jsmessage_box_dialog.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.cc ('k') | chrome/browser/views/jsmessage_box_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698