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

Unified Diff: ui/views/controls/button/custom_button.h

Issue 1860163003: Use MD-style focus indicator on DL shelf items. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 | « chrome/browser/ui/views/download/download_shelf_view.cc ('k') | ui/views/controls/button/custom_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/custom_button.h
diff --git a/ui/views/controls/button/custom_button.h b/ui/views/controls/button/custom_button.h
index d91d3e68771cd9ec6ec873891541b048ec1437a2..05840e0b2dd7a2463c78a0f35a1605990b89e43f 100644
--- a/ui/views/controls/button/custom_button.h
+++ b/ui/views/controls/button/custom_button.h
@@ -32,8 +32,11 @@ class VIEWS_EXPORT CustomButton : public Button, public gfx::AnimationDelegate {
// The menu button's class name.
static const char kViewClassName[];
- static const CustomButton* AsCustomButton(const views::View* view);
- static CustomButton* AsCustomButton(views::View* view);
+ static const CustomButton* AsCustomButton(const View* view);
+ static CustomButton* AsCustomButton(View* view);
+
+ // Paint an MD-style focus ring on the given canvas at the given bounds.
+ static void PaintMdFocusRing(gfx::Canvas* canvas, View* view);
~CustomButton() override;
« no previous file with comments | « chrome/browser/ui/views/download/download_shelf_view.cc ('k') | ui/views/controls/button/custom_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698