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

Unified Diff: chrome/browser/ui/views/permission_bubble/permission_prompt_impl.cc

Issue 2908073003: Ensure that mask layer is of the same size as the owning layer. (Closed)
Patch Set: style change 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
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | ui/views/bubble/bubble_dialog_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/permission_bubble/permission_prompt_impl.cc
diff --git a/chrome/browser/ui/views/permission_bubble/permission_prompt_impl.cc b/chrome/browser/ui/views/permission_bubble/permission_prompt_impl.cc
index 624d469dc5e4e8b72a3eedd68689f357ec6c8b15..5fc2333873b28c601d5060b02d6c02505ed8d1d2 100644
--- a/chrome/browser/ui/views/permission_bubble/permission_prompt_impl.cc
+++ b/chrome/browser/ui/views/permission_bubble/permission_prompt_impl.cc
@@ -55,7 +55,6 @@ class PermissionsBubbleDialogDelegateView
~PermissionsBubbleDialogDelegateView() override;
void CloseBubble();
- void SizeToContents();
// BubbleDialogDelegateView:
bool ShouldShowCloseButton() const override;
@@ -69,6 +68,7 @@ class PermissionsBubbleDialogDelegateView
int GetDefaultDialogButton() const override;
int GetDialogButtons() const override;
base::string16 GetDialogButtonLabel(ui::DialogButton button) const override;
+ void SizeToContents() override;
// Updates the anchor's arrow and view. Also repositions the bubble so it's
// displayed in the correct location.
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | ui/views/bubble/bubble_dialog_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698