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

Unified Diff: ui/views/controls/webview/webview_interactive_uitest.cc

Issue 303503008: Convert geolocation code to use RenderFrame instead of RenderView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: fix interactive ui test Created 6 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/renderer/render_view_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/webview/webview_interactive_uitest.cc
===================================================================
--- ui/views/controls/webview/webview_interactive_uitest.cc (revision 274175)
+++ ui/views/controls/webview/webview_interactive_uitest.cc (working copy)
@@ -8,6 +8,7 @@
#include "base/memory/scoped_ptr.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/test_browser_context.h"
+#include "content/public/test/test_browser_thread.h"
#include "ui/base/ime/text_input_focus_manager.h"
#include "ui/base/ui_base_switches.h"
#include "ui/gl/gl_surface.h"
@@ -18,7 +19,8 @@
class WebViewInteractiveUiTest : public views::test::WidgetTest {
public:
- WebViewInteractiveUiTest() {}
+ WebViewInteractiveUiTest()
+ : ui_thread_(content::BrowserThread::UI, base::MessageLoop::current()) {}
virtual void SetUp() OVERRIDE {
gfx::GLSurface::InitializeOneOffForTests();
@@ -31,6 +33,7 @@
private:
content::TestBrowserContext browser_context_;
views::WebViewTestHelper webview_test_helper_;
+ content::TestBrowserThread ui_thread_;
DISALLOW_COPY_AND_ASSIGN(WebViewInteractiveUiTest);
};
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698