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

Unified Diff: chrome/browser/views/page_info_bubble_view.h

Issue 3221005: Tweaks to the SSL InfoBubble dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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 | « chrome/browser/page_info_model.cc ('k') | chrome/browser/views/page_info_bubble_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/page_info_bubble_view.h
===================================================================
--- chrome/browser/views/page_info_bubble_view.h (revision 57848)
+++ chrome/browser/views/page_info_bubble_view.h (working copy)
@@ -8,6 +8,7 @@
#include "chrome/browser/page_info_model.h"
#include "chrome/browser/views/info_bubble.h"
+#include "views/controls/link.h"
#include "views/view.h"
namespace views {
@@ -16,7 +17,8 @@
class PageInfoBubbleView : public views::View,
public PageInfoModel::PageInfoModelObserver,
- public InfoBubbleDelegate {
+ public InfoBubbleDelegate,
+ public views::LinkController {
public:
PageInfoBubbleView(gfx::NativeWindow parent_window,
Profile* profile,
@@ -43,6 +45,9 @@
virtual bool FadeInOnShow() { return false; }
virtual std::wstring accessible_name() { return L"PageInfoBubble"; }
+ // LinkController methods:
+ virtual void LinkActivated(views::Link* source, int event_flags);
+
private:
// Layout the sections within the bubble.
void LayoutSections();
@@ -58,6 +63,9 @@
InfoBubble* info_bubble_;
+ // The Help Center link at the bottom of the bubble.
+ views::Link* help_center_link_;
+
DISALLOW_COPY_AND_ASSIGN(PageInfoBubbleView);
};
« no previous file with comments | « chrome/browser/page_info_model.cc ('k') | chrome/browser/views/page_info_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698