OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // views::BubbleDelegateView: | 60 // views::BubbleDelegateView: |
61 virtual void Init() OVERRIDE; | 61 virtual void Init() OVERRIDE; |
62 | 62 |
63 private: | 63 private: |
64 class Favicon; | 64 class Favicon; |
65 | 65 |
66 typedef std::map<views::Link*, int> PopupLinks; | 66 typedef std::map<views::Link*, int> PopupLinks; |
67 | 67 |
68 // views::ButtonListener: | 68 // views::ButtonListener: |
69 virtual void ButtonPressed(views::Button* sender, | 69 virtual void ButtonPressed(views::Button* sender, |
70 const views::Event& event) OVERRIDE; | 70 const ui::Event& event) OVERRIDE; |
71 | 71 |
72 // views::LinkListener: | 72 // views::LinkListener: |
73 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; | 73 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; |
74 | 74 |
75 // content::NotificationObserver: | 75 // content::NotificationObserver: |
76 virtual void Observe(int type, | 76 virtual void Observe(int type, |
77 const content::NotificationSource& source, | 77 const content::NotificationSource& source, |
78 const content::NotificationDetails& details) OVERRIDE; | 78 const content::NotificationDetails& details) OVERRIDE; |
79 | 79 |
80 // Provides data for this bubble. | 80 // Provides data for this bubble. |
(...skipping 14 matching lines...) Expand all Loading... |
95 typedef std::vector<views::RadioButton*> RadioGroup; | 95 typedef std::vector<views::RadioButton*> RadioGroup; |
96 RadioGroup radio_group_; | 96 RadioGroup radio_group_; |
97 views::Link* custom_link_; | 97 views::Link* custom_link_; |
98 views::Link* manage_link_; | 98 views::Link* manage_link_; |
99 views::TextButton* close_button_; | 99 views::TextButton* close_button_; |
100 | 100 |
101 DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingBubbleContents); | 101 DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingBubbleContents); |
102 }; | 102 }; |
103 | 103 |
104 #endif // CHROME_BROWSER_UI_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ | 104 #endif // CHROME_BROWSER_UI_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ |
OLD | NEW |