| 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 "ash/wm/dialog_frame_view.h" | 5 #include "ash/wm/dialog_frame_view.h" |
| 6 | 6 |
| 7 #include "ui/gfx/canvas.h" | 7 #include "ui/gfx/canvas.h" |
| 8 #include "ui/gfx/font.h" | 8 #include "ui/gfx/font.h" |
| 9 #include "ui/views/background.h" | 9 #include "ui/views/background.h" |
| 10 #include "ui/views/border.h" | 10 #include "ui/views/border.h" |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 | 130 |
| 131 //////////////////////////////////////////////////////////////////////////////// | 131 //////////////////////////////////////////////////////////////////////////////// |
| 132 // DialogFrameView, private: | 132 // DialogFrameView, private: |
| 133 | 133 |
| 134 int DialogFrameView::GetNonClientTopHeight() const { | 134 int DialogFrameView::GetNonClientTopHeight() const { |
| 135 return kDialogTopPadding + title_font_->GetHeight() + kDialogContentVSpacing; | 135 return kDialogTopPadding + title_font_->GetHeight() + kDialogContentVSpacing; |
| 136 } | 136 } |
| 137 | 137 |
| 138 } // namespace internal | 138 } // namespace internal |
| 139 } // namespace views | 139 } // namespace views |
| OLD | NEW |