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

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

Issue 560030: Refactored out JS specific part of modal dialog stack into its own class, exp... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 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
« no previous file with comments | « chrome/browser/cookie_modal_dialog.h ('k') | chrome/browser/cookie_modal_dialog_views.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Name: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/cookie_modal_dialog.h"
6
7 #include "chrome/browser/views/cookie_prompt_view.h"
8 #include "googleurl/src/gurl.h"
9
10 CookiePromptModalDialog::CookiePromptModalDialog(
11 TabContents* tab_contents,
12 const GURL& url,
13 const std::string& cookie_line,
14 CookiePromptModalDialogDelegate* delegate)
15 : AppModalDialog(tab_contents, std::wstring()),
16 url_(url),
17 cookie_line_(cookie_line),
18 cookie_ui_(true),
19 delegate_(delegate) {
20 }
21
22
23 CookiePromptModalDialog::CookiePromptModalDialog(
24 TabContents* tab_contents,
25 const BrowsingDataLocalStorageHelper::LocalStorageInfo& storage_info,
26 CookiePromptModalDialogDelegate* delegate)
27 : AppModalDialog(tab_contents, std::wstring()),
28 storage_info_(storage_info),
29 cookie_ui_(false),
30 delegate_(delegate) {
31 }
32
33
OLDNEW
« no previous file with comments | « chrome/browser/cookie_modal_dialog.h ('k') | chrome/browser/cookie_modal_dialog_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698