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

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

Issue 8687031: views: Move the remaining files to ui/views/controls/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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) 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 #include "chrome/browser/ui/views/content_setting_bubble_contents.h" 5 #include "chrome/browser/ui/views/content_setting_bubble_contents.h"
6 6
7 #if defined(TOOLKIT_USES_GTK) 7 #if defined(TOOLKIT_USES_GTK)
8 #include <gdk/gdk.h> 8 #include <gdk/gdk.h>
9 #endif 9 #endif
10 10
11 #include <algorithm> 11 #include <algorithm>
12 #include <set> 12 #include <set>
13 #include <string> 13 #include <string>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/utf_string_conversions.h" 16 #include "base/utf_string_conversions.h"
17 #include "chrome/browser/content_settings/host_content_settings_map.h" 17 #include "chrome/browser/content_settings/host_content_settings_map.h"
18 #include "chrome/browser/profiles/profile.h" 18 #include "chrome/browser/profiles/profile.h"
19 #include "chrome/browser/ui/content_settings/content_setting_bubble_model.h" 19 #include "chrome/browser/ui/content_settings/content_setting_bubble_model.h"
20 #include "chrome/browser/ui/views/browser_dialogs.h" 20 #include "chrome/browser/ui/views/browser_dialogs.h"
21 #include "content/browser/plugin_service.h" 21 #include "content/browser/plugin_service.h"
22 #include "content/browser/tab_contents/tab_contents.h" 22 #include "content/browser/tab_contents/tab_contents.h"
23 #include "content/public/browser/notification_source.h" 23 #include "content/public/browser/notification_source.h"
24 #include "content/public/browser/notification_types.h" 24 #include "content/public/browser/notification_types.h"
25 #include "grit/generated_resources.h" 25 #include "grit/generated_resources.h"
26 #include "ui/base/l10n/l10n_util.h" 26 #include "ui/base/l10n/l10n_util.h"
27 #include "ui/views/controls/button/radio_button.h" 27 #include "ui/views/controls/button/radio_button.h"
28 #include "ui/views/controls/button/text_button.h" 28 #include "ui/views/controls/button/text_button.h"
29 #include "ui/views/controls/image_view.h"
29 #include "ui/views/controls/label.h" 30 #include "ui/views/controls/label.h"
30 #include "ui/views/controls/link.h" 31 #include "ui/views/controls/link.h"
32 #include "ui/views/controls/separator.h"
31 #include "ui/views/layout/grid_layout.h" 33 #include "ui/views/layout/grid_layout.h"
32 #include "ui/views/layout/layout_constants.h" 34 #include "ui/views/layout/layout_constants.h"
33 #include "views/controls/image_view.h"
34 #include "views/controls/separator.h"
35 35
36 #if defined(TOOLKIT_USES_GTK) 36 #if defined(TOOLKIT_USES_GTK)
37 #include "ui/gfx/gtk_util.h" 37 #include "ui/gfx/gtk_util.h"
38 #endif 38 #endif
39 39
40 #if defined(USE_AURA) 40 #if defined(USE_AURA)
41 #include "ui/aura/cursor.h" 41 #include "ui/aura/cursor.h"
42 #endif 42 #endif
43 43
44 // If we don't clamp the maximum width, then very long URLs and titles can make 44 // If we don't clamp the maximum width, then very long URLs and titles can make
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 } 329 }
330 330
331 void ContentSettingBubbleContents::Observe( 331 void ContentSettingBubbleContents::Observe(
332 int type, 332 int type,
333 const content::NotificationSource& source, 333 const content::NotificationSource& source,
334 const content::NotificationDetails& details) { 334 const content::NotificationDetails& details) {
335 DCHECK(type == content::NOTIFICATION_TAB_CONTENTS_DESTROYED); 335 DCHECK(type == content::NOTIFICATION_TAB_CONTENTS_DESTROYED);
336 DCHECK(source == content::Source<TabContents>(tab_contents_)); 336 DCHECK(source == content::Source<TabContents>(tab_contents_));
337 tab_contents_ = NULL; 337 tab_contents_ = NULL;
338 } 338 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/confirm_bubble_view.cc ('k') | chrome/browser/ui/views/create_application_shortcut_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698