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

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: fixes Created 9 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
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 df1cc98ad0d733adff82cb3534a5ebc82341b8bb..80a74f6bf38c3a316f3862f77c335d41b6a58445 100644
--- a/chrome/browser/tab_contents/web_contents_unittest.cc
+++ b/chrome/browser/tab_contents/web_contents_unittest.cc
@@ -28,7 +28,6 @@
#include "content/public/common/content_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;
@@ -1714,7 +1713,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);
}

Powered by Google App Engine
This is Rietveld 408576698