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

Side by Side Diff: chrome/browser/cocoa/cookie_details.h

Issue 3299020: Remove vestigial cookie/web app permissions prompting UI now that the async U... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include "chrome/browser/browsing_data_database_helper.h" 7 #include "chrome/browser/browsing_data_database_helper.h"
8 #include "chrome/browser/browsing_data_local_storage_helper.h" 8 #include "chrome/browser/browsing_data_local_storage_helper.h"
9 #include "base/scoped_nsobject.h" 9 #include "base/scoped_nsobject.h"
10 #include "net/base/cookie_monster.h" 10 #include "net/base/cookie_monster.h"
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 value:(const string16&)value; 182 value:(const string16&)value;
183 183
184 // -initWithAppCacheManifestURL: is called when the cookie prompt is displayed 184 // -initWithAppCacheManifestURL: is called when the cookie prompt is displayed
185 // for an appcache, at that time only the manifest URL of the appcache is known. 185 // for an appcache, at that time only the manifest URL of the appcache is known.
186 - (id)initWithAppCacheManifestURL:(const std::string&)manifestURL; 186 - (id)initWithAppCacheManifestURL:(const std::string&)manifestURL;
187 187
188 // A factory method to create a configured instance given a node from 188 // A factory method to create a configured instance given a node from
189 // the cookie tree in |treeNode|. 189 // the cookie tree in |treeNode|.
190 + (CocoaCookieDetails*)createFromCookieTreeNode:(CookieTreeNode*)treeNode; 190 + (CocoaCookieDetails*)createFromCookieTreeNode:(CookieTreeNode*)treeNode;
191 191
192 // A factory method to create a configured instance given a cookie prompt
193 // modal dialog in |dialog|.
194 + (CocoaCookieDetails*)createFromPromptModalDialog:
195 (CookiePromptModalDialog*)dialog;
196
197 @end 192 @end
198 193
199 // The subpanes of the cookie details view expect to be able to bind to methods 194 // The subpanes of the cookie details view expect to be able to bind to methods
200 // through a key path in the form |content.details.xxxx|. This class serves as 195 // through a key path in the form |content.details.xxxx|. This class serves as
201 // an adapter that simply wraps a |CocoaCookieDetails| object. An instance of 196 // an adapter that simply wraps a |CocoaCookieDetails| object. An instance of
202 // this class is set as the content object for cookie details view's object 197 // this class is set as the content object for cookie details view's object
203 // controller so that key paths are properly resolved through to the 198 // controller so that key paths are properly resolved through to the
204 // |CocoaCookieDetails| object for the cookie prompt. 199 // |CocoaCookieDetails| object for the cookie prompt.
205 @interface CookiePromptContentDetailsAdapter : NSObject { 200 @interface CookiePromptContentDetailsAdapter : NSObject {
206 @private 201 @private
207 scoped_nsobject<CocoaCookieDetails> details_; 202 scoped_nsobject<CocoaCookieDetails> details_;
208 } 203 }
209 204
210 - (CocoaCookieDetails*)details; 205 - (CocoaCookieDetails*)details;
211 206
212 // The adapter assumes ownership of the details object 207 // The adapter assumes ownership of the details object
213 // in its initializer. 208 // in its initializer.
214 - (id)initWithDetails:(CocoaCookieDetails*)details; 209 - (id)initWithDetails:(CocoaCookieDetails*)details;
215 @end 210 @end
216 211
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698