| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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/layout/layout_provider.h" | 5 #include "ui/views/layout/layout_provider.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
| 9 #include "ui/base/material_design/material_design_controller.h" | 9 #include "ui/base/material_design/material_design_controller.h" |
| 10 #include "ui/views/layout/layout_constants.h" | 10 #include "ui/views/layout/layout_constants.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 return kButtonHorizontalPadding; | 70 return kButtonHorizontalPadding; |
| 71 } | 71 } |
| 72 NOTREACHED(); | 72 NOTREACHED(); |
| 73 return 0; | 73 return 0; |
| 74 } | 74 } |
| 75 | 75 |
| 76 const TypographyProvider& LayoutProvider::GetTypographyProvider() const { | 76 const TypographyProvider& LayoutProvider::GetTypographyProvider() const { |
| 77 return typography_provider_; | 77 return typography_provider_; |
| 78 } | 78 } |
| 79 | 79 |
| 80 } // namespace views | 80 int LayoutProvider::GetSnappedDialogWidth(int min_width) const { |
| 81 return min_width; |
| 82 } |
| 83 |
| 84 } // namespace views |
| OLD | NEW |