| Index: chrome/views/controls/label.h
|
| ===================================================================
|
| --- chrome/views/controls/label.h (revision 14445)
|
| +++ chrome/views/controls/label.h (working copy)
|
| @@ -190,6 +190,9 @@
|
| void set_paint_as_focused(bool paint_as_focused) {
|
| paint_as_focused_ = paint_as_focused;
|
| }
|
| + void set_has_focus_border(bool has_focus_border) {
|
| + has_focus_border_ = has_focus_border;
|
| + }
|
|
|
| private:
|
| // These tests call CalculateDrawStringParams in order to verify the
|
| @@ -241,6 +244,10 @@
|
| // When embedded in a larger control that is focusable, setting this flag
|
| // allows this view to be painted as focused even when it is itself not.
|
| bool paint_as_focused_;
|
| + // When embedded in a larger control that is focusable, setting this flag
|
| + // allows this view to reserve space for a focus border that it otherwise
|
| + // might not have because it is not itself focusable.
|
| + bool has_focus_border_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(Label);
|
| };
|
|
|