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

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

Issue 11633052: Rename platform-independent ConstrainedWindow types to WebContentsModalDialog types (part 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use gtk_widget_get_toplevel for GetNativeWindow Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_COLLECTED_COOKIES_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "chrome/common/content_settings.h" 9 #include "chrome/common/content_settings.h"
10 #include "content/public/browser/notification_observer.h" 10 #include "content/public/browser/notification_observer.h"
11 #include "content/public/browser/notification_registrar.h" 11 #include "content/public/browser/notification_registrar.h"
12 #include "ui/views/controls/button/button.h" 12 #include "ui/views/controls/button/button.h"
13 #include "ui/views/controls/tabbed_pane/tabbed_pane_listener.h" 13 #include "ui/views/controls/tabbed_pane/tabbed_pane_listener.h"
14 #include "ui/views/controls/tree/tree_view_controller.h" 14 #include "ui/views/controls/tree/tree_view_controller.h"
15 #include "ui/views/window/dialog_delegate.h" 15 #include "ui/views/window/dialog_delegate.h"
16 16
17 class ConstrainedWindow; 17 class WebContentsModalDialog;
18 class CookieInfoView; 18 class CookieInfoView;
19 class CookiesTreeModel; 19 class CookiesTreeModel;
20 class InfobarView; 20 class InfobarView;
21 21
22 namespace content { 22 namespace content {
23 class WebContents; 23 class WebContents;
24 } 24 }
25 25
26 namespace views { 26 namespace views {
27 class Label; 27 class Label;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 void AddContentException(views::TreeView* tree_view, ContentSetting setting); 84 void AddContentException(views::TreeView* tree_view, ContentSetting setting);
85 85
86 // content::NotificationObserver: 86 // content::NotificationObserver:
87 virtual void Observe(int type, 87 virtual void Observe(int type,
88 const content::NotificationSource& source, 88 const content::NotificationSource& source,
89 const content::NotificationDetails& details) OVERRIDE; 89 const content::NotificationDetails& details) OVERRIDE;
90 90
91 content::NotificationRegistrar registrar_; 91 content::NotificationRegistrar registrar_;
92 92
93 ConstrainedWindow* window_; 93 WebContentsModalDialog* window_;
94 94
95 // The web contents. 95 // The web contents.
96 content::WebContents* web_contents_; 96 content::WebContents* web_contents_;
97 97
98 // Assorted views. 98 // Assorted views.
99 views::Label* allowed_label_; 99 views::Label* allowed_label_;
100 views::Label* blocked_label_; 100 views::Label* blocked_label_;
101 101
102 views::TreeView* allowed_cookies_tree_; 102 views::TreeView* allowed_cookies_tree_;
103 views::TreeView* blocked_cookies_tree_; 103 views::TreeView* blocked_cookies_tree_;
104 104
105 views::TextButton* block_allowed_button_; 105 views::TextButton* block_allowed_button_;
106 views::TextButton* allow_blocked_button_; 106 views::TextButton* allow_blocked_button_;
107 views::TextButton* for_session_blocked_button_; 107 views::TextButton* for_session_blocked_button_;
108 108
109 scoped_ptr<CookiesTreeModel> allowed_cookies_tree_model_; 109 scoped_ptr<CookiesTreeModel> allowed_cookies_tree_model_;
110 scoped_ptr<CookiesTreeModel> blocked_cookies_tree_model_; 110 scoped_ptr<CookiesTreeModel> blocked_cookies_tree_model_;
111 111
112 CookieInfoView* cookie_info_view_; 112 CookieInfoView* cookie_info_view_;
113 113
114 InfobarView* infobar_; 114 InfobarView* infobar_;
115 115
116 bool status_changed_; 116 bool status_changed_;
117 117
118 DISALLOW_COPY_AND_ASSIGN(CollectedCookiesViews); 118 DISALLOW_COPY_AND_ASSIGN(CollectedCookiesViews);
119 }; 119 };
120 120
121 #endif // CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_ 121 #endif // CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/autofill/autofill_dialog_views.cc ('k') | chrome/browser/ui/views/collected_cookies_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698