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

Unified Diff: mojo/examples/html_viewer/webthemeengine_impl.cc

Issue 358953002: Mojo: Add WebThemeEngine implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/examples/html_viewer/webthemeengine_impl.h ('k') | mojo/mojo_examples.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/html_viewer/webthemeengine_impl.cc
diff --git a/content/child/webthemeengine_impl_default.cc b/mojo/examples/html_viewer/webthemeengine_impl.cc
similarity index 98%
copy from content/child/webthemeengine_impl_default.cc
copy to mojo/examples/html_viewer/webthemeengine_impl.cc
index 4f78f1c9da21206899fe0e4d18a6d3d087657279..3b329028d630c8ddac79b66296316ee1d337ad99 100644
--- a/content/child/webthemeengine_impl_default.cc
+++ b/mojo/examples/html_viewer/webthemeengine_impl.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/child/webthemeengine_impl_default.h"
+#include "mojo/examples/html_viewer/webthemeengine_impl.h"
#include "skia/ext/platform_canvas.h"
#include "third_party/WebKit/public/platform/WebRect.h"
@@ -14,7 +14,8 @@ using blink::WebColor;
using blink::WebRect;
using blink::WebThemeEngine;
-namespace content {
+namespace mojo {
+namespace examples {
static ui::NativeTheme::Part NativeThemePart(
WebThemeEngine::Part part) {
@@ -199,4 +200,5 @@ void WebThemeEngineImpl::paintStateTransition(blink::WebCanvas* canvas,
gfx::Rect(rect));
}
-} // namespace content
+} // namespace examples
+} // namespace mojo
« no previous file with comments | « mojo/examples/html_viewer/webthemeengine_impl.h ('k') | mojo/mojo_examples.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698