| OLD | NEW |
| 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 #ifndef CHROME_BROWSER_GTK_OPTIONS_CONTENT_SETTINGS_WINDOW_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_OPTIONS_CONTENT_SETTINGS_WINDOW_GTK_H_ |
| 6 #define CHROME_BROWSER_GTK_OPTIONS_CONTENT_SETTINGS_WINDOW_GTK_H_ | 6 #define CHROME_BROWSER_GTK_OPTIONS_CONTENT_SETTINGS_WINDOW_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 | 10 |
| 11 #include "app/gtk_signal.h" | 11 #include "app/gtk_signal.h" |
| 12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
| 13 #include "chrome/browser/gtk/options/cookie_filter_page_gtk.h" | 13 #include "chrome/browser/gtk/options/cookie_filter_page_gtk.h" |
| 14 #include "chrome/browser/gtk/options/content_filter_page_gtk.h" | 14 #include "chrome/browser/gtk/options/content_filter_page_gtk.h" |
| 15 #include "chrome/browser/pref_member.h" | 15 #include "chrome/browser/prefs/pref_member.h" |
| 16 #include "chrome/common/content_settings_types.h" | 16 #include "chrome/common/content_settings_types.h" |
| 17 | 17 |
| 18 class AccessibleWidgetHelper; | 18 class AccessibleWidgetHelper; |
| 19 | 19 |
| 20 // A window that presents options to the user for blocking various kinds of | 20 // A window that presents options to the user for blocking various kinds of |
| 21 // content in webpages (cookies, javascript, images, popups). | 21 // content in webpages (cookies, javascript, images, popups). |
| 22 class ContentSettingsWindowGtk { | 22 class ContentSettingsWindowGtk { |
| 23 public: | 23 public: |
| 24 // Shows the current content settings page, opening a new one if it doesn't | 24 // Shows the current content settings page, opening a new one if it doesn't |
| 25 // exist. | 25 // exist. |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 ContentFilterPageGtk geolocation_page_; | 64 ContentFilterPageGtk geolocation_page_; |
| 65 ContentFilterPageGtk notifications_page_; | 65 ContentFilterPageGtk notifications_page_; |
| 66 | 66 |
| 67 // Helper object to manage accessibility metadata. | 67 // Helper object to manage accessibility metadata. |
| 68 scoped_ptr<AccessibleWidgetHelper> accessible_widget_helper_; | 68 scoped_ptr<AccessibleWidgetHelper> accessible_widget_helper_; |
| 69 | 69 |
| 70 DISALLOW_COPY_AND_ASSIGN(ContentSettingsWindowGtk); | 70 DISALLOW_COPY_AND_ASSIGN(ContentSettingsWindowGtk); |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 #endif // CHROME_BROWSER_GTK_OPTIONS_CONTENT_SETTINGS_WINDOW_GTK_H_ | 73 #endif // CHROME_BROWSER_GTK_OPTIONS_CONTENT_SETTINGS_WINDOW_GTK_H_ |
| OLD | NEW |