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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « content/content_shell.gypi ('k') | content/shell/browser/shell.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/sanitizers/sanitizers.gni") 6 import("//build/config/sanitizers/sanitizers.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/config/win/console_app.gni") 8 import("//build/config/win/console_app.gni")
9 import("//build/config/win/manifest.gni") 9 import("//build/config/win/manifest.gni")
10 import("//media/media_options.gni") 10 import("//media/media_options.gni")
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 "browser/shell_resource_dispatcher_host_delegate.cc", 144 "browser/shell_resource_dispatcher_host_delegate.cc",
145 "browser/shell_resource_dispatcher_host_delegate.h", 145 "browser/shell_resource_dispatcher_host_delegate.h",
146 "browser/shell_speech_recognition_manager_delegate.cc", 146 "browser/shell_speech_recognition_manager_delegate.cc",
147 "browser/shell_speech_recognition_manager_delegate.h", 147 "browser/shell_speech_recognition_manager_delegate.h",
148 "browser/shell_url_request_context_getter.cc", 148 "browser/shell_url_request_context_getter.cc",
149 "browser/shell_url_request_context_getter.h", 149 "browser/shell_url_request_context_getter.h",
150 "browser/shell_web_contents_view_delegate.h", 150 "browser/shell_web_contents_view_delegate.h",
151 "browser/shell_web_contents_view_delegate_android.cc", 151 "browser/shell_web_contents_view_delegate_android.cc",
152 "browser/shell_web_contents_view_delegate_creator.h", 152 "browser/shell_web_contents_view_delegate_creator.h",
153 "browser/shell_web_contents_view_delegate_mac.mm", 153 "browser/shell_web_contents_view_delegate_mac.mm",
154 "browser/shell_web_contents_view_delegate_win.cc",
155 "common/layout_test/layout_test_content_client.cc", 154 "common/layout_test/layout_test_content_client.cc",
156 "common/layout_test/layout_test_content_client.h", 155 "common/layout_test/layout_test_content_client.h",
157 "common/layout_test/layout_test_messages.cc", 156 "common/layout_test/layout_test_messages.cc",
158 "common/layout_test/layout_test_messages.h", 157 "common/layout_test/layout_test_messages.h",
159 "common/layout_test/layout_test_switches.cc", 158 "common/layout_test/layout_test_switches.cc",
160 "common/layout_test/layout_test_switches.h", 159 "common/layout_test/layout_test_switches.h",
161 "common/leak_detection_result.h", 160 "common/leak_detection_result.h",
162 "common/shell_content_client.cc", 161 "common/shell_content_client.cc",
163 "common/shell_content_client.h", 162 "common/shell_content_client.h",
164 "common/shell_messages.cc", 163 "common/shell_messages.cc",
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 if (use_aura) { 312 if (use_aura) {
314 deps += [ 313 deps += [
315 "//ui/aura", 314 "//ui/aura",
316 "//ui/aura:test_support", 315 "//ui/aura:test_support",
317 "//ui/events", 316 "//ui/events",
318 "//ui/strings", 317 "//ui/strings",
319 "//ui/wm", 318 "//ui/wm",
320 ] 319 ]
321 320
322 if (toolkit_views) { 321 if (toolkit_views) {
323 sources += [ "browser/shell_views.cc" ] 322 sources += [
323 "browser/shell_views.cc",
324 "browser/shell_web_contents_view_delegate_views.cc",
325 ]
324 deps += [ 326 deps += [
325 "//ui/resources", 327 "//ui/resources",
326 "//ui/views", 328 "//ui/views",
327 "//ui/views:test_support", 329 "//ui/views:test_support",
328 "//ui/views/controls/webview", 330 "//ui/views/controls/webview",
329 "//ui/wm:test_support", 331 "//ui/wm:test_support",
330 ] 332 ]
331 } else { 333 } else {
332 sources += [ "browser/shell_aura.cc" ] 334 sources += [
335 "browser/shell_aura.cc",
336 "browser/shell_web_contents_view_delegate_aura.cc",
337 ]
333 } 338 }
334 } else { 339 } else {
335 sources -= [ 340 sources -= [
336 "browser/shell_platform_data_aura.cc", 341 "browser/shell_platform_data_aura.cc",
337 "browser/shell_platform_data_aura.h", 342 "browser/shell_platform_data_aura.h",
338 ] 343 ]
339 } 344 }
340 345
341 if (is_chromeos) { 346 if (is_chromeos) {
342 deps += [ 347 deps += [
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 "{{bundle_resources_dir}}/{{source_file_part}}", 728 "{{bundle_resources_dir}}/{{source_file_part}}",
724 ] 729 ]
725 } 730 }
726 } 731 }
727 732
728 mojom("mojo_bindings") { 733 mojom("mojo_bindings") {
729 sources = [ 734 sources = [
730 "common/layout_test/layout_test_bluetooth_fake_adapter_setter.mojom", 735 "common/layout_test/layout_test_bluetooth_fake_adapter_setter.mojom",
731 ] 736 ]
732 } 737 }
OLDNEW
« 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