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

Side by Side Diff: chrome/browser/gtk/options/content_settings_window_gtk.h

Issue 650180: Initial Geolocation location bar icons. (Closed)
Patch Set: Addresses Peter and Brett's comments. Created 10 years, 9 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 #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 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
11 #include "chrome/browser/gtk/options/cookie_filter_page_gtk.h" 11 #include "chrome/browser/gtk/options/cookie_filter_page_gtk.h"
12 #include "chrome/browser/gtk/options/content_filter_page_gtk.h" 12 #include "chrome/browser/gtk/options/content_filter_page_gtk.h"
13 #include "chrome/browser/gtk/options/geolocation_filter_page_gtk.h"
13 #include "chrome/browser/pref_member.h" 14 #include "chrome/browser/pref_member.h"
14 #include "chrome/common/content_settings_types.h" 15 #include "chrome/common/content_settings_types.h"
15 16
16 class AccessibleWidgetHelper; 17 class AccessibleWidgetHelper;
17 18
18 // A window that presents options to the user for blocking various kinds of 19 // A window that presents options to the user for blocking various kinds of
19 // content in webpages (cookies, javascript, images, popups). 20 // content in webpages (cookies, javascript, images, popups).
20 class ContentSettingsWindowGtk { 21 class ContentSettingsWindowGtk {
21 public: 22 public:
22 // Shows the current content settings page, opening a new one if it doesn't 23 // Shows the current content settings page, opening a new one if it doesn't
(...skipping 28 matching lines...) Expand all
51 IntegerPrefMember last_selected_page_; 52 IntegerPrefMember last_selected_page_;
52 53
53 // The individual page implementations. Note that we have a specialized one 54 // The individual page implementations. Note that we have a specialized one
54 // for cookies (which have more complex rules) and use the same basic page 55 // for cookies (which have more complex rules) and use the same basic page
55 // layout for each other type. 56 // layout for each other type.
56 CookieFilterPageGtk cookie_page_; 57 CookieFilterPageGtk cookie_page_;
57 ContentFilterPageGtk image_page_; 58 ContentFilterPageGtk image_page_;
58 ContentFilterPageGtk javascript_page_; 59 ContentFilterPageGtk javascript_page_;
59 ContentFilterPageGtk plugin_page_; 60 ContentFilterPageGtk plugin_page_;
60 ContentFilterPageGtk popup_page_; 61 ContentFilterPageGtk popup_page_;
62 GeolocationFilterPageGtk geolocation_page_;
61 63
62 // Helper object to manage accessibility metadata. 64 // Helper object to manage accessibility metadata.
63 scoped_ptr<AccessibleWidgetHelper> accessible_widget_helper_; 65 scoped_ptr<AccessibleWidgetHelper> accessible_widget_helper_;
64 66
65 DISALLOW_COPY_AND_ASSIGN(ContentSettingsWindowGtk); 67 DISALLOW_COPY_AND_ASSIGN(ContentSettingsWindowGtk);
66 }; 68 };
67 69
68 #endif // CHROME_BROWSER_GTK_OPTIONS_CONTENT_SETTINGS_WINDOW_GTK_H_ 70 #endif // CHROME_BROWSER_GTK_OPTIONS_CONTENT_SETTINGS_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/options/content_exceptions_window_gtk.cc ('k') | chrome/browser/gtk/options/content_settings_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698