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

Unified Diff: ui/views/bubble/tray_bubble_view.h

Issue 2908073003: Ensure that mask layer is of the same size as the owning layer. (Closed)
Patch Set: Compiling failure Created 3 years, 6 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: ui/views/bubble/tray_bubble_view.h
diff --git a/ui/views/bubble/tray_bubble_view.h b/ui/views/bubble/tray_bubble_view.h
index 81042a839e1dc55c79d2e3b6af1f2fc76cb62a4b..edd2dcdb28ddf39fcc4d789d09060cb853443cb0 100644
--- a/ui/views/bubble/tray_bubble_view.h
+++ b/ui/views/bubble/tray_bubble_view.h
@@ -151,6 +151,8 @@ class VIEWS_EXPORT TrayBubbleView : public BubbleDialogDelegateView,
void ViewHierarchyChanged(
const ViewHierarchyChangedDetails& details) override;
+ void SizeToContents() override;
James Cook 2017/06/13 20:43:46 nit: move this up to line 148 to put it with the o
sunxd 2017/06/13 22:13:47 Done.
+
private:
InitParams params_;
BoxLayout* layout_;

Powered by Google App Engine
This is Rietveld 408576698