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

Unified Diff: chrome/browser/ui/webui/web_ui_browsertest.h

Issue 8986007: Move WebUIMessageHandler to its own file in the public directory and put it in the content namesp... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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
« no previous file with comments | « chrome/browser/ui/webui/tracing_ui.cc ('k') | chrome/browser/ui/webui/web_ui_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/web_ui_browsertest.h
===================================================================
--- chrome/browser/ui/webui/web_ui_browsertest.h (revision 116051)
+++ chrome/browser/ui/webui/web_ui_browsertest.h (working copy)
@@ -16,12 +16,15 @@
#include "content/test/test_navigation_observer.h"
class RenderViewHost;
-class WebUIMessageHandler;
namespace base {
class Value;
}
+namespace content {
+class WebUIMessageHandler;
+}
+
// This macro simplifies the declaration of simple javascript unit tests.
// Use:
// WEB_UI_UNITTEST_F(MyWebUIPageTest, myJavascriptUnittest);
@@ -134,7 +137,7 @@
void SetWebUIInstance(WebUI* web_ui);
// Returns a mock WebUI object under test (if any).
- virtual WebUIMessageHandler* GetMockMessageHandler();
+ virtual content::WebUIMessageHandler* GetMockMessageHandler();
// Returns a file:// GURL constructed from |path| inside the test data dir for
// webui tests.
« no previous file with comments | « chrome/browser/ui/webui/tracing_ui.cc ('k') | chrome/browser/ui/webui/web_ui_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698