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

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: 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: 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..2053bb0b385ff402f44b29d6ce036a955e8b7788 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 security summary for the current page.
+ 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