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

Unified Diff: content/shell/BUILD.gn

Issue 2132983002: Move content shell context menu to ShellWebContentsViewDelegate in Views (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed cast_shell_linux compile error Created 4 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 | « content/content_shell.gypi ('k') | content/shell/browser/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/BUILD.gn
diff --git a/content/shell/BUILD.gn b/content/shell/BUILD.gn
index 01ad049b84c9dc15efd2af5b55378fd504d50698..2f815c753d475837d3ac5401ebe95f69c9120f19 100644
--- a/content/shell/BUILD.gn
+++ b/content/shell/BUILD.gn
@@ -151,7 +151,6 @@ static_library("content_shell_lib") {
"browser/shell_web_contents_view_delegate_android.cc",
"browser/shell_web_contents_view_delegate_creator.h",
"browser/shell_web_contents_view_delegate_mac.mm",
- "browser/shell_web_contents_view_delegate_win.cc",
"common/layout_test/layout_test_content_client.cc",
"common/layout_test/layout_test_content_client.h",
"common/layout_test/layout_test_messages.cc",
@@ -320,7 +319,10 @@ static_library("content_shell_lib") {
]
if (toolkit_views) {
- sources += [ "browser/shell_views.cc" ]
+ sources += [
+ "browser/shell_views.cc",
+ "browser/shell_web_contents_view_delegate_views.cc",
+ ]
deps += [
"//ui/resources",
"//ui/views",
@@ -329,7 +331,10 @@ static_library("content_shell_lib") {
"//ui/wm:test_support",
]
} else {
- sources += [ "browser/shell_aura.cc" ]
+ sources += [
+ "browser/shell_aura.cc",
+ "browser/shell_web_contents_view_delegate_aura.cc",
+ ]
}
} else {
sources -= [
« no previous file with comments | « content/content_shell.gypi ('k') | content/shell/browser/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698