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

Unified Diff: views/controls/menu/chrome_menu.h

Issue 113443: ChromeCanvas->gfx::Canvas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | « views/controls/link.cc ('k') | views/controls/menu/chrome_menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/menu/chrome_menu.h
===================================================================
--- views/controls/menu/chrome_menu.h (revision 16147)
+++ views/controls/menu/chrome_menu.h (working copy)
@@ -9,7 +9,7 @@
#include <vector>
#include "app/drag_drop_types.h"
-#include "app/gfx/chrome_font.h"
+#include "app/gfx/font.h"
#include "base/gfx/point.h"
#include "base/gfx/rect.h"
#include "base/message_loop.h"
@@ -352,7 +352,7 @@
int GetCommand() const { return command_; }
// Paints the menu item.
- virtual void Paint(ChromeCanvas* canvas);
+ virtual void Paint(gfx::Canvas* canvas);
// Returns the preferred size of this item.
virtual gfx::Size GetPreferredSize();
@@ -421,7 +421,7 @@
// Actual paint implementation. If for_drag is true, portions of the menu
// are not rendered.
- void Paint(ChromeCanvas* canvas, bool for_drag);
+ void Paint(gfx::Canvas* canvas, bool for_drag);
// Destroys the window used to display this menu and recursively destroys
// the windows used to display all descendants.
@@ -517,7 +517,7 @@
const gfx::Rect& current);
// Painting.
- void PaintChildren(ChromeCanvas* canvas);
+ void PaintChildren(gfx::Canvas* canvas);
// Drag and drop methods. These are forwarded to the MenuController.
virtual bool CanDrop(const OSExchangeData& data);
@@ -578,7 +578,7 @@
private:
// Paints the drop indicator. This is only invoked if item is non-NULL and
// position is not DROP_NONE.
- void PaintDropIndicator(ChromeCanvas* canvas,
+ void PaintDropIndicator(gfx::Canvas* canvas,
MenuItemView* item,
MenuDelegate::DropPosition position);
« no previous file with comments | « views/controls/link.cc ('k') | views/controls/menu/chrome_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698