OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 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 | |
sky
2016/10/03 23:53:15
Don't forget header guards.
Evan Stade
2016/10/04 01:04:55
Done.
| |
5 #include "ui/views/view.h" | |
6 | |
7 namespace views { | |
8 | |
9 // FocusRing is a View that is designed to act as an indicator of focus for its | |
10 // parent. It is a stand-alone view that paints to a layer which extends beyond | |
11 // the bounds of its parent view. | |
12 class FocusRing : public View { | |
13 public: | |
14 FocusRing(); | |
15 ~FocusRing() override; | |
16 | |
17 // View: | |
18 bool CanProcessEventsWithinSubtree() const override; | |
19 void Layout() override; | |
20 void OnPaint(gfx::Canvas* canvas) override; | |
21 | |
22 private: | |
23 DISALLOW_COPY_AND_ASSIGN(FocusRing); | |
24 }; | |
25 | |
26 } // views | |
OLD | NEW |