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

Unified Diff: mojo/services/html_viewer/html_document_view.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: nuke 'examples' namespace 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
« no previous file with comments | « mojo/services/html_viewer/html_document_view.h ('k') | mojo/services/html_viewer/html_viewer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/html_viewer/html_document_view.cc
diff --git a/mojo/examples/html_viewer/html_document_view.cc b/mojo/services/html_viewer/html_document_view.cc
similarity index 94%
rename from mojo/examples/html_viewer/html_document_view.cc
rename to mojo/services/html_viewer/html_document_view.cc
index 654161abd64e0fc51d93d9b056e341d985357cc0..f8f88b85e046669f05262545fa1ec20eb25ab623 100644
--- a/mojo/examples/html_viewer/html_document_view.cc
+++ b/mojo/services/html_viewer/html_document_view.cc
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "mojo/examples/html_viewer/html_document_view.h"
+#include "mojo/services/html_viewer/html_document_view.h"
#include "base/bind.h"
#include "base/location.h"
#include "base/single_thread_task_runner.h"
#include "base/thread_task_runner_handle.h"
-#include "mojo/examples/html_viewer/blink_input_events_type_converters.h"
-#include "mojo/examples/html_viewer/webstoragenamespace_impl.h"
-#include "mojo/examples/html_viewer/weburlloader_impl.h"
+#include "mojo/services/html_viewer/blink_input_events_type_converters.h"
+#include "mojo/services/html_viewer/webstoragenamespace_impl.h"
+#include "mojo/services/html_viewer/weburlloader_impl.h"
#include "mojo/services/public/cpp/view_manager/node.h"
#include "mojo/services/public/cpp/view_manager/view.h"
#include "mojo/services/public/cpp/view_manager/view_observer.h"
@@ -28,7 +28,6 @@
#include "third_party/skia/include/core/SkDevice.h"
namespace mojo {
-namespace examples {
namespace {
void ConfigureSettings(blink::WebSettings* settings) {
@@ -165,7 +164,6 @@ void HTMLDocumentView::didAddMessageToConsole(
const blink::WebString& source_name,
unsigned source_line,
const blink::WebString& stack_trace) {
- printf("### console: %s\n", std::string(message.text.utf8()).c_str());
}
void HTMLDocumentView::didNavigateWithinPage(
@@ -201,5 +199,4 @@ void HTMLDocumentView::Repaint() {
view_->SetContents(canvas->getDevice()->accessBitmap(false));
}
-} // namespace examples
} // namespace mojo
« no previous file with comments | « mojo/services/html_viewer/html_document_view.h ('k') | mojo/services/html_viewer/html_viewer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698