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

Unified Diff: ui/views/color_chooser/color_chooser_view.h

Issue 10828111: Minor redesigns of color chooser view. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/views/color_chooser/color_chooser_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/color_chooser/color_chooser_view.h
diff --git a/ui/views/color_chooser/color_chooser_view.h b/ui/views/color_chooser/color_chooser_view.h
index 547999beff8a04344034d02662edcd01da1e4d5b..a63efabc739d01a92aa161b067f5016a1f128ebb 100644
--- a/ui/views/color_chooser/color_chooser_view.h
+++ b/ui/views/color_chooser/color_chooser_view.h
@@ -46,6 +46,7 @@ class VIEWS_EXPORT ColorChooserView : public WidgetDelegateView,
private:
class HueView;
class SaturationValueView;
+ class SelectedColorPatchView;
// WidgetDelegate overrides:
virtual View* GetInitiallyFocusedView() OVERRIDE;
@@ -77,6 +78,9 @@ class VIEWS_EXPORT ColorChooserView : public WidgetDelegateView,
// The textfield to write the color explicitly.
Textfield* textfield_;
+ // The rectangle to denote the selected color.
+ SelectedColorPatchView* selected_color_patch_;
+
DISALLOW_COPY_AND_ASSIGN(ColorChooserView);
};
« no previous file with comments | « no previous file | ui/views/color_chooser/color_chooser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698