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

Side by Side Diff: ui/views/animation/ink_drop_host_view.cc

Issue 1849563002: Re-order the BookmarkBarView to be behind the ToolbarView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/views/animation/ink_drop_host_view.h" 5 #include "ui/views/animation/ink_drop_host_view.h"
6 6
7 #include "ui/gfx/color_palette.h" 7 #include "ui/gfx/color_palette.h"
8 #include "ui/views/animation/ink_drop_hover.h" 8 #include "ui/views/animation/ink_drop_hover.h"
9 #include "ui/views/animation/square_ink_drop_animation.h" 9 #include "ui/views/animation/square_ink_drop_animation.h"
10 10
11 namespace views { 11 namespace views {
12 12
13 // Default sizes for ink drop effects. 13 // Default sizes for ink drop effects.
14 const int kInkDropSize = 24; 14 const int kInkDropSize = 40;
15 const int kInkDropLargeCornerRadius = 4; 15 const int kInkDropLargeCornerRadius = 4;
16 16
17 // static 17 // static
18 const int InkDropHostView::kInkDropSmallCornerRadius = 2; 18 const int InkDropHostView::kInkDropSmallCornerRadius = 2;
19 19
20 InkDropHostView::InkDropHostView() 20 InkDropHostView::InkDropHostView()
21 : ink_drop_size_(kInkDropSize, kInkDropSize) {} 21 : ink_drop_size_(kInkDropSize, kInkDropSize) {}
22 22
23 InkDropHostView::~InkDropHostView() {} 23 InkDropHostView::~InkDropHostView() {}
24 24
(...skipping 29 matching lines...) Expand all
54 gfx::Point InkDropHostView::GetInkDropCenter() const { 54 gfx::Point InkDropHostView::GetInkDropCenter() const {
55 return GetLocalBounds().CenterPoint(); 55 return GetLocalBounds().CenterPoint();
56 } 56 }
57 57
58 SkColor InkDropHostView::GetInkDropBaseColor() const { 58 SkColor InkDropHostView::GetInkDropBaseColor() const {
59 NOTREACHED(); 59 NOTREACHED();
60 return gfx::kPlaceholderColor; 60 return gfx::kPlaceholderColor;
61 } 61 }
62 62
63 } // namespace views 63 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698