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

Unified Diff: mojo/services/native_viewport/BUILD.gn

Issue 510553002: Teach the native viewport service to draw a Surface into itself (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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/mojo_services.gypi ('k') | mojo/services/native_viewport/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/native_viewport/BUILD.gn
diff --git a/mojo/services/native_viewport/BUILD.gn b/mojo/services/native_viewport/BUILD.gn
index 794915616378896423018fd3d0eb6c070447e353..34ec95f8ee8f9f1a52c4b7214a982c71f40f13ec 100644
--- a/mojo/services/native_viewport/BUILD.gn
+++ b/mojo/services/native_viewport/BUILD.gn
@@ -10,18 +10,21 @@ static_library("native_viewport") {
deps = [
"//base",
- "//ui/events",
- "//ui/events/platform",
- "//ui/gfx",
- "//ui/gfx/geometry",
- "//mojo/public/cpp/application:chromium",
+ "//cc/surfaces",
"//mojo/common",
"//mojo/environment:chromium",
- "//mojo/services/public/cpp/geometry",
- "//mojo/services/public/interfaces/geometry",
+ "//mojo/public/cpp/application:chromium",
"//mojo/services/gles2",
+ "//mojo/services/public/cpp/geometry",
"//mojo/services/public/cpp/input_events",
+ "//mojo/services/public/cpp/surfaces",
+ "//mojo/services/public/interfaces/geometry",
"//mojo/services/public/interfaces/native_viewport",
+ "//mojo/services/public/interfaces/surfaces",
+ "//ui/events",
+ "//ui/events/platform",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
]
sources = [
@@ -34,6 +37,8 @@ static_library("native_viewport") {
"platform_viewport_android.h",
"platform_viewport_mac.mm",
"platform_viewport_win.cc",
+ "viewport_surface.cc",
+ "viewport_surface.h",
]
if (is_ios) {
« no previous file with comments | « mojo/mojo_services.gypi ('k') | mojo/services/native_viewport/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698