| OLD | NEW |
| 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/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//ui/base/ui_features.gni") | 6 import("//ui/base/ui_features.gni") |
| 7 | 7 |
| 8 static_library("constrained_window") { | 8 static_library("constrained_window") { |
| 9 sources = [ | 9 sources = [ |
| 10 "constrained_window_views.cc", | 10 "constrained_window_views.cc", |
| 11 "constrained_window_views.h", | 11 "constrained_window_views.h", |
| 12 "constrained_window_views_client.h", | 12 "constrained_window_views_client.h", |
| 13 "native_web_contents_modal_dialog_manager_views.cc", | 13 "native_web_contents_modal_dialog_manager_views.cc", |
| 14 "native_web_contents_modal_dialog_manager_views.h", | 14 "native_web_contents_modal_dialog_manager_views.h", |
| 15 "native_web_contents_modal_dialog_manager_views_mac.h", |
| 15 "native_web_contents_modal_dialog_manager_views_mac.mm", | 16 "native_web_contents_modal_dialog_manager_views_mac.mm", |
| 16 ] | 17 ] |
| 17 | 18 |
| 18 if (is_mac && !mac_views_browser) { | 19 if (is_mac && !mac_views_browser) { |
| 19 sources += [ "show_modal_dialog_cocoa.cc" ] | 20 sources += [ "show_modal_dialog_cocoa.cc" ] |
| 20 } else { | 21 } else { |
| 21 sources += [ "show_modal_dialog_views.cc" ] | 22 sources += [ "show_modal_dialog_views.cc" ] |
| 22 } | 23 } |
| 23 | 24 |
| 24 deps = [ | 25 deps = [ |
| (...skipping 25 matching lines...) Expand all Loading... |
| 50 if (is_mac && !mac_views_browser) { | 51 if (is_mac && !mac_views_browser) { |
| 51 sources += [ "test_create_native_web_modal_manager_cocoa.cc" ] | 52 sources += [ "test_create_native_web_modal_manager_cocoa.cc" ] |
| 52 } | 53 } |
| 53 | 54 |
| 54 deps = [ | 55 deps = [ |
| 55 ":constrained_window", | 56 ":constrained_window", |
| 56 "//components/web_modal:test_support", | 57 "//components/web_modal:test_support", |
| 57 "//ui/views:test_support", | 58 "//ui/views:test_support", |
| 58 ] | 59 ] |
| 59 } | 60 } |
| OLD | NEW |