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

Side by Side Diff: ui/message_center/views/message_center_focus_border.h

Issue 78803002: Fixing focus highlight on high DPI devices for accessibility (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Created 7 years 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 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_
OLDNEW
« no previous file with comments | « ui/message_center/views/message_center_button_bar.cc ('k') | ui/message_center/views/message_center_focus_border.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698