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

Side by Side Diff: ui/views/border.cc

Issue 164653002: Remove Unused AsTextButtonBorder RTTI helper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « ui/views/border.h ('k') | ui/views/controls/button/text_button.h » ('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 "ui/views/border.h" 5 #include "ui/views/border.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ui/gfx/canvas.h" 9 #include "ui/gfx/canvas.h"
10 #include "ui/views/painter.h" 10 #include "ui/views/painter.h"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 return scoped_ptr<Border>( 159 return scoped_ptr<Border>(
160 new SidedSolidBorder(top, left, bottom, right, color)); 160 new SidedSolidBorder(top, left, bottom, right, color));
161 } 161 }
162 162
163 // static 163 // static
164 scoped_ptr<Border> Border::CreateBorderPainter(Painter* painter, 164 scoped_ptr<Border> Border::CreateBorderPainter(Painter* painter,
165 const gfx::Insets& insets) { 165 const gfx::Insets& insets) {
166 return scoped_ptr<Border>(new BorderPainter(painter, insets)); 166 return scoped_ptr<Border>(new BorderPainter(painter, insets));
167 } 167 }
168 168
169 TextButtonBorder* Border::AsTextButtonBorder() {
170 return NULL;
171 }
172
173 const TextButtonBorder* Border::AsTextButtonBorder() const {
174 return NULL;
175 }
176
177 } // namespace views 169 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/border.h ('k') | ui/views/controls/button/text_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698