| OLD | NEW |
| (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 UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_FOCUS_BORDER_H_ | |
| 6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_FOCUS_BORDER_H_ | |
| 7 | |
| 8 #include "ui/views/focus_border.h" | |
| 9 #include "ui/views/view.h" | |
| 10 | |
| 11 namespace message_center { | |
| 12 | |
| 13 // Focus border class that draws a 1px blue border inset more on the bottom than | |
| 14 // on the sides. | |
| 15 class MessageCenterFocusBorder : public views::FocusBorder { | |
| 16 public: | |
| 17 MessageCenterFocusBorder(); | |
| 18 virtual ~MessageCenterFocusBorder(); | |
| 19 | |
| 20 private: | |
| 21 // views::FocusBorder overrides: | |
| 22 virtual void Paint(const views::View& view, gfx::Canvas* canvas) const | |
| 23 OVERRIDE; | |
| 24 | |
| 25 DISALLOW_COPY_AND_ASSIGN(MessageCenterFocusBorder); | |
| 26 }; | |
| 27 | |
| 28 } // namespace message_center | |
| 29 | |
| 30 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_FOCUS_BORDER_H_ | |
| OLD | NEW |