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

Unified Diff: chrome/browser/cookie_modal_dialog_mac.mm

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/cookie_modal_dialog_mac.mm
===================================================================
--- chrome/browser/cookie_modal_dialog_mac.mm (revision 59533)
+++ chrome/browser/cookie_modal_dialog_mac.mm (working copy)
@@ -1,48 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/cookie_modal_dialog.h"
-#import "chrome/browser/cocoa/cookie_prompt_window_controller.h"
-
-#import <Cocoa/Cocoa.h>
-
-#include "app/l10n_util_mac.h"
-#import "base/cocoa_protocols_mac.h"
-#include "base/mac_util.h"
-#include "base/scoped_nsobject.h"
-#include "base/logging.h"
-#include "chrome/browser/tab_contents/tab_contents.h"
-#include "grit/generated_resources.h"
-
-void CookiePromptModalDialog::CreateAndShowDialog() {
- scoped_nsobject<CookiePromptWindowController> controller(
- [[CookiePromptWindowController alloc] initWithDialog:this]);
- [controller.get() doModalDialog:this];
-
- // Other than JavaScriptAppModalDialog, the cross-platform part of this class
- // does not call |CompleteDialog()|, an explicit call is required.
- CompleteDialog();
- Cleanup();
- delete this;
-}
-
-// The functions below are used by the automation framework.
-
-void CookiePromptModalDialog::AcceptWindow() {
- NOTIMPLEMENTED();
-}
-
-void CookiePromptModalDialog::CancelWindow() {
- NOTIMPLEMENTED();
-}
-
-void CookiePromptModalDialog::CloseModalDialog() {
- dialog_ = nil;
-}
-
-// This is only used by the app-modal dialog machinery on windows.
-NativeDialog CookiePromptModalDialog::CreateNativeDialog() {
- NOTIMPLEMENTED();
- return nil;
-}

Powered by Google App Engine
This is Rietveld 408576698