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

Unified Diff: chrome/browser/ui/views/toolbar/wrench_toolbar_button.h

Issue 869453002: Define class names for views class in c/b/ui/views (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 years, 11 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: chrome/browser/ui/views/toolbar/wrench_toolbar_button.h
diff --git a/chrome/browser/ui/views/toolbar/wrench_toolbar_button.h b/chrome/browser/ui/views/toolbar/wrench_toolbar_button.h
index 5321ddfc1d5152c99299c00901baa1819dc3ef54..3e99ecd7da1509a6ab23c54eff59c09e87c62f68 100644
--- a/chrome/browser/ui/views/toolbar/wrench_toolbar_button.h
+++ b/chrome/browser/ui/views/toolbar/wrench_toolbar_button.h
@@ -28,7 +28,6 @@ class WrenchToolbarButton : public views::MenuButton,
// views::MenuButton:
gfx::Size GetPreferredSize() const override;
- void OnPaint(gfx::Canvas* canvas) override;
// WrenchIconPainter::Delegate:
void ScheduleWrenchIconPaint() override;
@@ -45,7 +44,8 @@ class WrenchToolbarButton : public views::MenuButton,
static bool g_open_wrench_immediately_for_testing;
private:
- // views::View:
+ // views::MenuButton:
+ const char* GetClassName() const override;
bool GetDropFormats(
int* formats,
std::set<ui::OSExchangeData::CustomFormat>* custom_formats) override;
@@ -55,6 +55,7 @@ class WrenchToolbarButton : public views::MenuButton,
int OnDragUpdated(const ui::DropTargetEvent& event) override;
void OnDragExited() override;
int OnPerformDrop(const ui::DropTargetEvent& event) override;
+ void OnPaint(gfx::Canvas* canvas) override;
// Show the extension action overflow menu (which is in the app menu).
void ShowOverflowMenu();
« no previous file with comments | « chrome/browser/ui/views/toolbar/toolbar_button.cc ('k') | chrome/browser/ui/views/toolbar/wrench_toolbar_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698