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

Unified Diff: chrome_frame/ready_mode/ready_mode.h

Issue 110163004: Remove Chrome Frame ready-mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile fixes for mini_installer_test Created 7 years 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_frame/ready_mode/ready_mode.h
diff --git a/chrome_frame/ready_mode/ready_mode.h b/chrome_frame/ready_mode/ready_mode.h
deleted file mode 100644
index 007beebe5edf32ff5ca0d8274448baad41a02800..0000000000000000000000000000000000000000
--- a/chrome_frame/ready_mode/ready_mode.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2011 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.
-
-#ifndef CHROME_FRAME_READY_MODE_READY_MODE_H_
-#define CHROME_FRAME_READY_MODE_READY_MODE_H_
-
-#include <atlbase.h>
-#include <atlcom.h>
-
-#include "base/basictypes.h"
-
-interface IWebBrowser2;
-
-// Integrates Ready Mode functionality with a specified IWebBrowser2 instance.
-// Displays prompts allowing the user to permanently activate, permanently
-// disable, or temporarily disable Chrome Frame whenever a Chrome Frame-enabled
-// site is rendered in the browser.
-namespace ready_mode {
-
-// Defines an interface for disabling Chrome Frame based on user interaction
-// with Ready Mode.
-class Delegate {
- public:
- virtual ~Delegate() {}
-
- // Disables Chrome Frame functionality in the current process. Will be
- // called after the installer has been invoked to manipulate the system or
- // user-level state.
- virtual void DisableChromeFrame() = 0;
-}; // class Delegate
-
-// Enables Ready Mode for the specified IWebBrowser2 instance, if Chrome Frame
-// is currently in Ready Mode. If Chrome Frame is temporarily or permanently
-// declined, will invoke chrome_frame->DisableChromeFrame() to synchronize the
-// process state with the system- / user-level state.
-void Configure(Delegate* chrome_frame, IWebBrowser2* web_browser);
-
-}; // namespace ready_mode
-
-#endif // CHROME_FRAME_READY_MODE_READY_MODE_H_

Powered by Google App Engine
This is Rietveld 408576698