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

Unified Diff: mojo/services/html_viewer/html_viewer.cc

Issue 393983004: Move mojo/examples/html_viewer to mojo/services/html_viewer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort Created 6 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
Index: mojo/services/html_viewer/html_viewer.cc
diff --git a/mojo/examples/html_viewer/html_viewer.cc b/mojo/services/html_viewer/html_viewer.cc
similarity index 94%
rename from mojo/examples/html_viewer/html_viewer.cc
rename to mojo/services/html_viewer/html_viewer.cc
index 9fbf3a45061a0f6ad051c88243c00c573811d8c3..92d6ad3e5caf7d79941ac07c590a511750867368 100644
--- a/mojo/examples/html_viewer/html_viewer.cc
+++ b/mojo/services/html_viewer/html_viewer.cc
@@ -3,11 +3,11 @@
// found in the LICENSE file.
#include "base/message_loop/message_loop.h"
-#include "mojo/examples/html_viewer/blink_platform_impl.h"
-#include "mojo/examples/html_viewer/html_document_view.h"
#include "mojo/public/cpp/application/application_connection.h"
#include "mojo/public/cpp/application/application_delegate.h"
#include "mojo/public/cpp/application/application_impl.h"
+#include "mojo/services/html_viewer/blink_platform_impl.h"
+#include "mojo/services/html_viewer/html_document_view.h"
#include "mojo/services/public/cpp/view_manager/node.h"
#include "mojo/services/public/cpp/view_manager/types.h"
#include "mojo/services/public/cpp/view_manager/view.h"
@@ -102,8 +102,6 @@ void NavigatorImpl::Navigate(
uint32_t node_id,
navigation::NavigationDetailsPtr navigation_details,
navigation::ResponseDetailsPtr response_details) {
- printf("In HTMLViewer, rendering url: %s\n",
- response_details->response->url.data());
viewer_->Load(response_details->response.Pass());
}

Powered by Google App Engine
This is Rietveld 408576698