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

Unified Diff: ui/views/controls/menu/menu_separator.h

Issue 10837317: Setting the touch wrench menu as default menu for ChromeOS (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
Index: ui/views/controls/menu/menu_separator.h
diff --git a/ui/views/controls/menu/menu_separator.h b/ui/views/controls/menu/menu_separator.h
index f3eabb29a3c705641f52b0f8803ba098b1996d52..e37bca80afe18ae33d54d8688ba05d085f1410b5 100644
--- a/ui/views/controls/menu/menu_separator.h
+++ b/ui/views/controls/menu/menu_separator.h
@@ -12,13 +12,16 @@ namespace views {
class MenuSeparator : public View {
public:
- MenuSeparator() {}
+ MenuSeparator(const string16& type) : type_(type) {}
// View overrides.
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
virtual gfx::Size GetPreferredSize() OVERRIDE;
private:
+ // The type of the separator.
+ string16 type_;
+
DISALLOW_COPY_AND_ASSIGN(MenuSeparator);
};

Powered by Google App Engine
This is Rietveld 408576698