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

Unified Diff: views/controls/menu/menu_separator_gtk.cc

Issue 199050: Wires up drag and drop for bookmark menus and cleans up a couple of... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 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: views/controls/menu/menu_separator_gtk.cc
===================================================================
--- views/controls/menu/menu_separator_gtk.cc (revision 25647)
+++ views/controls/menu/menu_separator_gtk.cc (working copy)
@@ -4,13 +4,16 @@
#include "views/controls/menu/menu_separator.h"
-#include "base/logging.h"
+#include "app/gfx/canvas.h"
+#include "third_party/skia/include/core/SkColor.h"
#include "views/controls/menu/menu_config.h"
namespace views {
+static const SkColor kSeparatorColor = SkColorSetARGB(50, 00, 00, 00);
+
void MenuSeparator::Paint(gfx::Canvas* canvas) {
- NOTIMPLEMENTED();
+ canvas->DrawLineInt(kSeparatorColor, 0, height() / 2, width(), height() / 2);
}
gfx::Size MenuSeparator::GetPreferredSize() {

Powered by Google App Engine
This is Rietveld 408576698