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

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

Issue 2581493002: PageInfo bubble: Use the non-client view's window title and close button. (Closed)
Patch Set: selfnit: content->website Created 3 years, 12 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/bubble_dialog_delegate.h
diff --git a/ui/views/bubble/bubble_dialog_delegate.h b/ui/views/bubble/bubble_dialog_delegate.h
index 4f791cd735813a91207cf60c9c9f32f86e41688e..888da484391257ec13c7b1317ecd75c0d61587e3 100644
--- a/ui/views/bubble/bubble_dialog_delegate.h
+++ b/ui/views/bubble/bubble_dialog_delegate.h
@@ -79,6 +79,10 @@ class VIEWS_EXPORT BubbleDialogDelegateView : public DialogDelegateView,
const gfx::Insets& margins() const { return margins_; }
void set_margins(const gfx::Insets& margins) { margins_ = margins; }
+ const gfx::Insets& title_margins() const { return title_margins_; }
+ void set_title_margins(const gfx::Insets& title_margins) {
msw 2017/01/05 01:00:00 Bummer, it seems like we need this mostly so the w
tapted 2017/01/05 02:20:42 Done. Added a screenshot at http://crbug.com/67426
+ title_margins_ = title_margins;
+ }
const gfx::Insets& anchor_view_insets() const { return anchor_view_insets_; }
void set_anchor_view_insets(const gfx::Insets& i) { anchor_view_insets_ = i; }
@@ -190,6 +194,7 @@ class VIEWS_EXPORT BubbleDialogDelegateView : public DialogDelegateView,
// The margins between the content and the inside of the border.
gfx::Insets margins_;
+ gfx::Insets title_margins_;
// Insets applied to the |anchor_view_| bounds.
gfx::Insets anchor_view_insets_;
« no previous file with comments | « chrome/browser/ui/views/website_settings/website_settings_popup_view.cc ('k') | ui/views/bubble/bubble_dialog_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698