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

Unified Diff: content/shell/shell_javascript_dialog_mac.mm

Issue 10451047: content: Move javascript_message_type.h into content/ from ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm CONTEXT_EXPORT 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
« no previous file with comments | « content/shell/shell_javascript_dialog_creator.cc ('k') | content/shell/shell_javascript_dialog_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_javascript_dialog_mac.mm
diff --git a/content/shell/shell_javascript_dialog_mac.mm b/content/shell/shell_javascript_dialog_mac.mm
index 90ad82ed32c889a512ff90971073726cd364f5d5..0bf357d7318a83e06e6f5975452c86f50f684b98 100644
--- a/content/shell/shell_javascript_dialog_mac.mm
+++ b/content/shell/shell_javascript_dialog_mac.mm
@@ -88,16 +88,14 @@ namespace content {
ShellJavaScriptDialog::ShellJavaScriptDialog(
ShellJavaScriptDialogCreator* creator,
- ui::JavascriptMessageType javascript_message_type,
+ JavaScriptMessageType message_type,
const string16& message_text,
const string16& default_prompt_text,
const JavaScriptDialogCreator::DialogClosedCallback& callback)
: creator_(creator),
callback_(callback) {
- bool text_field =
- javascript_message_type == ui::JAVASCRIPT_MESSAGE_TYPE_PROMPT;
- bool one_button =
- javascript_message_type == ui::JAVASCRIPT_MESSAGE_TYPE_ALERT;
+ bool text_field = message_type == JAVASCRIPT_MESSAGE_TYPE_PROMPT;
+ bool one_button = message_type == JAVASCRIPT_MESSAGE_TYPE_ALERT;
helper_ =
[[ShellJavaScriptDialogHelper alloc] initHelperWithCreator:creator
« no previous file with comments | « content/shell/shell_javascript_dialog_creator.cc ('k') | content/shell/shell_javascript_dialog_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698