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

Unified Diff: chrome/browser/ui/views/toolbar/toolbar_button.cc

Issue 2897533003: Change default ink drop center points to center of contents bounds (Closed)
Patch Set: fix compile Created 3 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 | « chrome/browser/ui/views/toolbar/toolbar_button.h ('k') | ui/views/animation/ink_drop_host_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/toolbar/toolbar_button.cc
diff --git a/chrome/browser/ui/views/toolbar/toolbar_button.cc b/chrome/browser/ui/views/toolbar/toolbar_button.cc
index d7def39234de20d4c3d574ab35e7492cb3ff07d6..51fe992fed27776bee2d6e62e6584000108a3d03 100644
--- a/chrome/browser/ui/views/toolbar/toolbar_button.cc
+++ b/chrome/browser/ui/views/toolbar/toolbar_button.cc
@@ -137,17 +137,6 @@ void ToolbarButton::GetAccessibleNodeData(ui::AXNodeData* node_data) {
}
}
-std::unique_ptr<views::InkDropRipple> ToolbarButton::CreateInkDropRipple()
- const {
- return CreateDefaultInkDropRipple(GetContentsBounds().CenterPoint());
-}
-
-std::unique_ptr<views::InkDropHighlight> ToolbarButton::CreateInkDropHighlight()
- const {
- return CreateDefaultInkDropHighlight(
- gfx::RectF(GetContentsBounds()).CenterPoint());
-}
-
void ToolbarButton::ShowContextMenuForView(View* source,
const gfx::Point& point,
ui::MenuSourceType source_type) {
« no previous file with comments | « chrome/browser/ui/views/toolbar/toolbar_button.h ('k') | ui/views/animation/ink_drop_host_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698