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

Side by Side Diff: components/constrained_window/BUILD.gn

Issue 2934883003: Snap non toplevel dialog windows to pixel boundary. (Closed)
Patch Set: addressed comment Created 3 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 | « no previous file | components/constrained_window/DEPS » ('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/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",
(...skipping 19 matching lines...) Expand all
30 "//ui/views", 30 "//ui/views",
31 ] 31 ]
32 public_deps = [ 32 public_deps = [
33 # Skia headers are exposed in the public API. 33 # Skia headers are exposed in the public API.
34 "//skia", 34 "//skia",
35 ] 35 ]
36 36
37 if (use_aura) { 37 if (use_aura) {
38 deps += [ 38 deps += [
39 "//ui/aura", 39 "//ui/aura",
40 "//ui/compositor",
40 "//ui/wm", 41 "//ui/wm",
41 ] 42 ]
42 } 43 }
43 } 44 }
44 45
45 source_set("unit_tests") { 46 source_set("unit_tests") {
46 testonly = true 47 testonly = true
47 sources = [ 48 sources = [
48 "constrained_window_views_unittest.cc", 49 "constrained_window_views_unittest.cc",
49 ] 50 ]
50 51
51 if (is_mac && !mac_views_browser) { 52 if (is_mac && !mac_views_browser) {
52 sources += [ "test_create_native_web_modal_manager_cocoa.cc" ] 53 sources += [ "test_create_native_web_modal_manager_cocoa.cc" ]
53 } 54 }
54 55
55 deps = [ 56 deps = [
56 ":constrained_window", 57 ":constrained_window",
57 "//components/web_modal:test_support", 58 "//components/web_modal:test_support",
58 "//ui/views:test_support", 59 "//ui/views:test_support",
59 ] 60 ]
60 } 61 }
OLDNEW
« no previous file with comments | « no previous file | components/constrained_window/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698