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

Side by Side Diff: chrome/browser/content_setting_bubble_model.cc

Issue 3145001: FBTF: Clean up task.h in x11_util.h and header usage in some delegates. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: more 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/content_setting_bubble_model.h" 5 #include "chrome/browser/content_setting_bubble_model.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/blocked_popup_container.h" 10 #include "chrome/browser/blocked_popup_container.h"
10 #include "chrome/browser/geolocation/geolocation_content_settings_map.h" 11 #include "chrome/browser/geolocation/geolocation_content_settings_map.h"
11 #include "chrome/browser/host_content_settings_map.h" 12 #include "chrome/browser/host_content_settings_map.h"
12 #include "chrome/browser/pref_service.h" 13 #include "chrome/browser/pref_service.h"
13 #include "chrome/browser/profile.h" 14 #include "chrome/browser/profile.h"
14 #include "chrome/browser/renderer_host/render_view_host.h" 15 #include "chrome/browser/renderer_host/render_view_host.h"
15 #include "chrome/browser/tab_contents/tab_contents.h" 16 #include "chrome/browser/tab_contents/tab_contents.h"
16 #include "chrome/browser/tab_contents/tab_contents_delegate.h" 17 #include "chrome/browser/tab_contents/tab_contents_delegate.h"
17 #include "chrome/common/chrome_switches.h" 18 #include "chrome/common/chrome_switches.h"
18 #include "chrome/common/notification_service.h" 19 #include "chrome/common/notification_service.h"
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 ContentSettingBubbleModel::~ContentSettingBubbleModel() { 365 ContentSettingBubbleModel::~ContentSettingBubbleModel() {
365 } 366 }
366 367
367 void ContentSettingBubbleModel::Observe(NotificationType type, 368 void ContentSettingBubbleModel::Observe(NotificationType type,
368 const NotificationSource& source, 369 const NotificationSource& source,
369 const NotificationDetails& details) { 370 const NotificationDetails& details) {
370 DCHECK(type == NotificationType::TAB_CONTENTS_DESTROYED); 371 DCHECK(type == NotificationType::TAB_CONTENTS_DESTROYED);
371 DCHECK(source == Source<TabContents>(tab_contents_)); 372 DCHECK(source == Source<TabContents>(tab_contents_));
372 tab_contents_ = NULL; 373 tab_contents_ = NULL;
373 } 374 }
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/location_bar/location_bar_view_mac.mm ('k') | chrome/browser/custom_home_pages_table_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698