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