| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "ui/views/border.h" | 5 #include "ui/views/border.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 gfx::Insets(top, left, bottom, right), color); | 220 gfx::Insets(top, left, bottom, right), color); |
| 221 } | 221 } |
| 222 | 222 |
| 223 // static | 223 // static |
| 224 std::unique_ptr<Border> Border::CreateBorderPainter( | 224 std::unique_ptr<Border> Border::CreateBorderPainter( |
| 225 std::unique_ptr<Painter> painter, | 225 std::unique_ptr<Painter> painter, |
| 226 const gfx::Insets& insets) { | 226 const gfx::Insets& insets) { |
| 227 return base::WrapUnique(new BorderPainter(std::move(painter), insets)); | 227 return base::WrapUnique(new BorderPainter(std::move(painter), insets)); |
| 228 } | 228 } |
| 229 | 229 |
| 230 bool Border::ShouldAddFocusRing() const { |
| 231 return false; |
| 232 } |
| 233 |
| 230 } // namespace views | 234 } // namespace views |
| OLD | NEW |