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

Side by Side Diff: chrome/browser/ui/views/infobars/infobar_label_button_border.h

Issue 81833007: Remove unnecessary Border subclasses where we can achieve the same functionality (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 1 month 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
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_INFOBARS_INFOBAR_LABEL_BUTTON_BORDER_H_
6 #define CHROME_BROWSER_UI_VIEWS_INFOBARS_INFOBAR_LABEL_BUTTON_BORDER_H_
7
8 #include "ui/views/controls/button/label_button_border.h"
9
10 // A LabelButtonBorder that is dark and also paints the button frame in the
11 // normal state.
12 class InfoBarLabelButtonBorder : public views::LabelButtonBorder {
13 public:
14 InfoBarLabelButtonBorder();
15
16 private:
17 virtual ~InfoBarLabelButtonBorder();
18
19 // Overridden from views::LabelButtonBorder:
20 virtual gfx::Insets GetInsets() const OVERRIDE;
21
22 DISALLOW_COPY_AND_ASSIGN(InfoBarLabelButtonBorder);
23 };
24
25 #endif // CHROME_BROWSER_UI_VIEWS_INFOBARS_INFOBAR_LABEL_BUTTON_BORDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698