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

Side by Side Diff: chrome/browser/ui/views/content_setting_bubble_contents.h

Issue 2793413002: [subresource_filter] Update the desktop UI according to mocks (Closed)
Patch Set: engedy review Created 3 years, 8 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 unified diff | Download patch
OLDNEW
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 <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "components/content_settings/core/common/content_settings_types.h" 13 #include "components/content_settings/core/common/content_settings_types.h"
14 #include "content/public/browser/web_contents_observer.h" 14 #include "content/public/browser/web_contents_observer.h"
15 #include "content/public/common/media_stream_request.h" 15 #include "content/public/common/media_stream_request.h"
16 #include "ui/base/models/combobox_model.h" 16 #include "ui/base/models/combobox_model.h"
17 #include "ui/views/bubble/bubble_dialog_delegate.h" 17 #include "ui/views/bubble/bubble_dialog_delegate.h"
18 #include "ui/views/controls/button/button.h" 18 #include "ui/views/controls/button/button.h"
19 #include "ui/views/controls/button/checkbox.h"
19 #include "ui/views/controls/combobox/combobox_listener.h" 20 #include "ui/views/controls/combobox/combobox_listener.h"
20 #include "ui/views/controls/link_listener.h" 21 #include "ui/views/controls/link_listener.h"
21 22
22 class ContentSettingBubbleModel; 23 class ContentSettingBubbleModel;
23 24
24 namespace chrome { 25 namespace chrome {
25 class ContentSettingBubbleViewsBridge; 26 class ContentSettingBubbleViewsBridge;
26 } 27 }
27 28
28 namespace views { 29 namespace views {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 std::unique_ptr<ContentSettingBubbleModel> content_setting_bubble_model_; 110 std::unique_ptr<ContentSettingBubbleModel> content_setting_bubble_model_;
110 111
111 // Some of our controls, so we can tell what's been clicked when we get a 112 // Some of our controls, so we can tell what's been clicked when we get a
112 // message. 113 // message.
113 ListItemLinks list_item_links_; 114 ListItemLinks list_item_links_;
114 typedef std::vector<views::RadioButton*> RadioGroup; 115 typedef std::vector<views::RadioButton*> RadioGroup;
115 RadioGroup radio_group_; 116 RadioGroup radio_group_;
116 views::Link* custom_link_; 117 views::Link* custom_link_;
117 views::Link* manage_link_; 118 views::Link* manage_link_;
118 views::LabelButton* manage_button_; 119 views::LabelButton* manage_button_;
120 views::Checkbox* manage_checkbox_;
119 views::Link* learn_more_link_; 121 views::Link* learn_more_link_;
120 122
121 // Combobox models the bubble owns. 123 // Combobox models the bubble owns.
122 std::list<MediaComboboxModel> combobox_models_; 124 std::list<MediaComboboxModel> combobox_models_;
123 125
124 DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingBubbleContents); 126 DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingBubbleContents);
125 }; 127 };
126 128
127 #endif // CHROME_BROWSER_UI_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ 129 #endif // CHROME_BROWSER_UI_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698