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

Unified Diff: chrome/browser/ui/views/website_settings/website_settings_popup_view.h

Issue 2581493002: PageInfo bubble: Use the non-client view's window title and close button. (Closed)
Patch Set: Created 4 years 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: chrome/browser/ui/views/website_settings/website_settings_popup_view.h
diff --git a/chrome/browser/ui/views/website_settings/website_settings_popup_view.h b/chrome/browser/ui/views/website_settings/website_settings_popup_view.h
index 7bd93798c3ba5fd396322e2cc7fc12c83eddcc8f..f632b3ec31f5574db4d897ee40ea5e92c10da4ab 100644
--- a/chrome/browser/ui/views/website_settings/website_settings_popup_view.h
+++ b/chrome/browser/ui/views/website_settings/website_settings_popup_view.h
@@ -107,8 +107,11 @@ class WebsiteSettingsPopupView : public content::WebContentsObserver,
const WebsiteSettingsUI::ChosenObjectInfo& info) override;
// views::BubbleDialogDelegateView implementation.
+ base::string16 GetWindowTitle() const override;
+ bool ShouldShowCloseButton() const override;
void OnWidgetDestroying(views::Widget* widget) override;
int GetDialogButtons() const override;
+ const gfx::FontList& GetTitleFontList() const override;
// views::ButtonListener implementation.
void ButtonPressed(views::Button* button, const ui::Event& event) override;
@@ -152,6 +155,9 @@ class WebsiteSettingsPopupView : public content::WebContentsObserver,
// The header section (containing security-related information).
PopupHeaderView* header_;
+ // The label that displays security summary for the current page.
lgarron 2016/12/14 23:46:23 Nit: Remove "label" from comment. (e.g. "The secur
tapted 2017/01/04 00:36:49 Done.
+ base::string16 summary_text_;
+
// The separator between the header and the site settings view.
views::Separator* separator_;

Powered by Google App Engine
This is Rietveld 408576698