diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-05-03 13:42:47 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-05-15 10:27:51 +0000 |
commit | 8c5c43c7b138c9b4b0bf56d946e61d3bbc111bec (patch) | |
tree | d29d987c4d7b173cf853279b79a51598f104b403 /chromium/ui/views/animation/ink_drop_host_view.h | |
parent | 830c9e163d31a9180fadca926b3e1d7dfffb5021 (diff) | |
download | qtwebengine-chromium-8c5c43c7b138c9b4b0bf56d946e61d3bbc111bec.tar.gz |
BASELINE: Update Chromium to 66.0.3359.156
Change-Id: I0c9831ad39911a086b6377b16f995ad75a51e441
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'chromium/ui/views/animation/ink_drop_host_view.h')
-rw-r--r-- | chromium/ui/views/animation/ink_drop_host_view.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chromium/ui/views/animation/ink_drop_host_view.h b/chromium/ui/views/animation/ink_drop_host_view.h index 8ac475fa752..34ea050d06a 100644 --- a/chromium/ui/views/animation/ink_drop_host_view.h +++ b/chromium/ui/views/animation/ink_drop_host_view.h @@ -95,6 +95,8 @@ class VIEWS_EXPORT InkDropHostView : public View, public InkDropHost { gfx::Point GetInkDropCenterBasedOnLastEvent() const; // View: + void ViewHierarchyChanged( + const ViewHierarchyChangedDetails& details) override; void OnBoundsChanged(const gfx::Rect& previous_bounds) override; void VisibilityChanged(View* starting_from, bool is_visible) override; void OnFocus() override; @@ -128,6 +130,10 @@ class VIEWS_EXPORT InkDropHostView : public View, public InkDropHost { void ResetInkDropMask(); + // Updates the ink drop mask layer size to |new_size|. It does nothing if + // |ink_drop_mask_| is null. + void UpdateInkDropMaskLayerSize(const gfx::Size& new_size); + // Returns an InkDropImpl configured to work well with a // flood-fill ink drop ripple. std::unique_ptr<InkDropImpl> CreateDefaultFloodFillInkDropImpl(); |