Index: ui/views/controls/label.h |
diff --git a/ui/views/controls/label.h b/ui/views/controls/label.h |
index 0964b036c511fd8c15f27d3e96a37213aebd278c..4621d6af73ec6121d58b4007d45a3db7737c71b2 100644 |
--- a/ui/views/controls/label.h |
+++ b/ui/views/controls/label.h |
@@ -94,6 +94,10 @@ class VIEWS_EXPORT Label : public View { |
// Sets the drop shadow's offset from the text. |
void SetShadowOffset(int x, int y); |
+ // Sets the shadow blur. Default is zero. |
+ double shadow_blur() const { return shadow_blur_; } |
sadrul
2014/04/16 21:18:33
Doesn't look like this is used anywhere?
|
+ void set_shadow_blur(double shadow_blur) { shadow_blur_ = shadow_blur; } |
+ |
// Disables shadows. |
void ClearEmbellishing(); |
@@ -267,6 +271,8 @@ class VIEWS_EXPORT Label : public View { |
bool auto_color_readability_; |
mutable gfx::Size text_size_; |
mutable bool text_size_valid_; |
+ // Indicates the level of shadow blurring. Default is zero. |
+ double shadow_blur_; |
int line_height_; |
bool is_multi_line_; |
bool is_obscured_; |
@@ -291,6 +297,9 @@ class VIEWS_EXPORT Label : public View { |
// Should a shadow be drawn behind the text? |
bool has_shadow_; |
+ // If true, surrender the text with the shadow. Default is false. |
+ bool mirror_shadow_; |
+ |
// The cached heights to avoid recalculation in GetHeightForWidth(). |
std::vector<gfx::Size> cached_heights_; |
int cached_heights_cursor_; |