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

Side by Side Diff: ash/wm/dialog_frame_view.cc

Issue 9166014: Allow a Views client to provide a default frameview for window widgets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « ash/wm/dialog_frame_view.h ('k') | ash/wm/modal_container_layout_manager.cc » ('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 (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
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
OLDNEW
« no previous file with comments | « ash/wm/dialog_frame_view.h ('k') | ash/wm/modal_container_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698