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

Side by Side Diff: chrome/browser/gtk/gtk_chrome_cookie_view.h

Issue 1338001: Block database access on allowDatabase instead of databaseOpenFile. (Closed)
Patch Set: without worker support Created 10 years, 8 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_GTK_CHROME_COOKIE_VIEW_H_ 5 #ifndef CHROME_BROWSER_GTK_GTK_CHROME_COOKIE_VIEW_H_
6 #define CHROME_BROWSER_GTK_GTK_CHROME_COOKIE_VIEW_H_ 6 #define CHROME_BROWSER_GTK_GTK_CHROME_COOKIE_VIEW_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // The local storage item widgets. 88 // The local storage item widgets.
89 GtkWidget* local_storage_item_table_; 89 GtkWidget* local_storage_item_table_;
90 GtkWidget* local_storage_item_origin_entry_; 90 GtkWidget* local_storage_item_origin_entry_;
91 GtkWidget* local_storage_item_key_entry_; 91 GtkWidget* local_storage_item_key_entry_;
92 GtkWidget* local_storage_item_value_entry_; 92 GtkWidget* local_storage_item_value_entry_;
93 93
94 // The database accessed widgets. 94 // The database accessed widgets.
95 GtkWidget* database_accessed_table_; 95 GtkWidget* database_accessed_table_;
96 GtkWidget* database_accessed_origin_entry_; 96 GtkWidget* database_accessed_origin_entry_;
97 GtkWidget* database_accessed_name_entry_; 97 GtkWidget* database_accessed_name_entry_;
98 GtkWidget* database_accessed_description_entry_;
99 GtkWidget* database_accessed_size_entry_;
98 100
99 // The appcache created widgets. 101 // The appcache created widgets.
100 GtkWidget* appcache_created_table_; 102 GtkWidget* appcache_created_table_;
101 GtkWidget* appcache_created_manifest_entry_; 103 GtkWidget* appcache_created_manifest_entry_;
102 } GtkChromeCookieView; 104 } GtkChromeCookieView;
103 105
104 typedef struct { 106 typedef struct {
105 GtkFrameClass parent_class; 107 GtkFrameClass parent_class;
106 } GtkChromeCookieViewClass; 108 } GtkChromeCookieViewClass;
107 109
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 // Switches the display to an individual storage item. 152 // Switches the display to an individual storage item.
151 void gtk_chrome_cookie_view_display_local_storage_item( 153 void gtk_chrome_cookie_view_display_local_storage_item(
152 GtkChromeCookieView* widget, 154 GtkChromeCookieView* widget,
153 const std::string& host, 155 const std::string& host,
154 const string16& key, 156 const string16& key,
155 const string16& value); 157 const string16& value);
156 158
157 void gtk_chrome_cookie_view_display_database_accessed( 159 void gtk_chrome_cookie_view_display_database_accessed(
158 GtkChromeCookieView* self, 160 GtkChromeCookieView* self,
159 const std::string& host, 161 const std::string& host,
160 const string16& database_name); 162 const string16& database_name,
163 const string16& display_name,
164 unsigned long estimated_size);
161 165
162 void gtk_chrome_cookie_view_display_appcache_created( 166 void gtk_chrome_cookie_view_display_appcache_created(
163 GtkChromeCookieView* self, 167 GtkChromeCookieView* self,
164 const GURL& manifest_url); 168 const GURL& manifest_url);
165 169
166 #endif // CHROME_BROWSER_GTK_GTK_CHROME_COOKIE_VIEW_H_ 170 #endif // CHROME_BROWSER_GTK_GTK_CHROME_COOKIE_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698