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

Unified Diff: chrome/browser/tab_contents/web_contents_unittest.cc

Issue 8553001: views: Add an Options enum to MessageBoxView control. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adding an IPC_MESSAGE_EXPORT to line 30 of param_traits_macro.h makes it link in shared build Created 9 years 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: chrome/browser/tab_contents/web_contents_unittest.cc
diff --git a/chrome/browser/tab_contents/web_contents_unittest.cc b/chrome/browser/tab_contents/web_contents_unittest.cc
index da5957d18dd8a6d07c9c05a57ca90eaa743e7a65..9a1844b00b52710651da7826f828ba09de17e752 100644
--- a/chrome/browser/tab_contents/web_contents_unittest.cc
+++ b/chrome/browser/tab_contents/web_contents_unittest.cc
@@ -25,7 +25,6 @@
#include "content/public/common/url_constants.h"
#include "content/test/test_browser_thread.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "ui/base/message_box_flags.h"
#include "webkit/glue/webkit_glue.h"
using content::BrowserThread;
@@ -1677,7 +1676,7 @@ TEST_F(TabContentsTest, NoJSMessageOnInterstitials) {
bool did_suppress_message = false;
contents()->RunJavaScriptMessage(contents()->render_view_host(),
ASCIIToUTF16("This is an informative message"), ASCIIToUTF16("OK"),
- kGURL, ui::MessageBoxFlags::kIsJavascriptAlert, dummy_message,
+ kGURL, ui::JAVASCRIPT_MESSAGE_TYPE_ALERT, dummy_message,
&did_suppress_message);
EXPECT_TRUE(did_suppress_message);
}
« no previous file with comments | « chrome/browser/chromeos/external_protocol_dialog.cc ('k') | chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698