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

Unified Diff: chrome/browser/ui/webui/web_ui_test_handler.cc

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | « chrome/browser/ui/webui/web_ui_test_handler.h ('k') | chrome/browser/upgrade_detector.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_test_handler.cc
===================================================================
--- chrome/browser/ui/webui/web_ui_test_handler.cc (revision 91968)
+++ chrome/browser/ui/webui/web_ui_test_handler.cc (working copy)
@@ -15,7 +15,7 @@
if (is_test) {
NotificationRegistrar notification_registrar;
notification_registrar.Add(
- this, NotificationType::EXECUTE_JAVASCRIPT_RESULT,
+ this, content::NOTIFICATION_EXECUTE_JAVASCRIPT_RESULT,
Source<RenderViewHost>(web_ui_->GetRenderViewHost()));
web_ui_->GetRenderViewHost()->ExecuteJavascriptInWebFrameNotifyResult(
string16(), UTF8ToUTF16(js_test));
@@ -27,7 +27,7 @@
}
}
-void WebUITestHandler::Observe(NotificationType type,
+void WebUITestHandler::Observe(int type,
const NotificationSource& source,
const NotificationDetails& details) {
// Quit the message loop if we were waiting so Waiting process can get result
« no previous file with comments | « chrome/browser/ui/webui/web_ui_test_handler.h ('k') | chrome/browser/upgrade_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698