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

Unified Diff: content/shell/shell_javascript_dialog_creator.cc

Issue 10451047: content: Move javascript_message_type.h into content/ from ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months 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
Index: content/shell/shell_javascript_dialog_creator.cc
diff --git a/content/shell/shell_javascript_dialog_creator.cc b/content/shell/shell_javascript_dialog_creator.cc
index b0dc5a1c0f088bc0a626dd7f472371fa048681bd..2f950b2181286223f7b22272a9d4f0a4dc5748eb 100644
--- a/content/shell/shell_javascript_dialog_creator.cc
+++ b/content/shell/shell_javascript_dialog_creator.cc
@@ -21,7 +21,7 @@ void ShellJavaScriptDialogCreator::RunJavaScriptDialog(
WebContents* web_contents,
const GURL& origin_url,
const std::string& accept_lang,
- ui::JavascriptMessageType javascript_message_type,
+ JavaScriptMessageType javascript_message_type,
const string16& message_text,
const string16& default_prompt_text,
const DialogClosedCallback& callback,
@@ -68,7 +68,7 @@ void ShellJavaScriptDialogCreator::RunBeforeUnloadDialog(
ASCIIToUTF16("\n\nIs it OK to leave/reload this page?");
dialog_.reset(new ShellJavaScriptDialog(this,
- ui::JAVASCRIPT_MESSAGE_TYPE_CONFIRM,
+ JAVASCRIPT_MESSAGE_TYPE_CONFIRM,
new_message_text,
string16(), // default_prompt_text
callback));

Powered by Google App Engine
This is Rietveld 408576698