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

Unified Diff: chrome_frame/cfinstall/src/stub/installer.js

Issue 126143005: Remove Chrome Frame code and resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to r244038 Created 6 years, 11 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_frame/cfinstall/src/stub/installer.js
diff --git a/chrome_frame/cfinstall/src/stub/installer.js b/chrome_frame/cfinstall/src/stub/installer.js
deleted file mode 100644
index 5416adef5a34293e58b65be36ac00376bdfab2ac..0000000000000000000000000000000000000000
--- a/chrome_frame/cfinstall/src/stub/installer.js
+++ /dev/null
@@ -1,43 +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.
-
-/**
- * @fileoverview
- **/
-
-goog.provide('google.cf.installer.Installer');
-
-goog.require('google.cf.ChromeFrame');
-goog.require('google.cf.installer.Prompt');
-
-/**
- * @constructor
- */
-google.cf.installer.Installer = function(prompt, chromeFrame) {
- this.prompt_ = prompt;
- this.chromeFrame_ = chromeFrame;
-};
-
-google.cf.installer.Installer.prototype.require =
- function(opt_onInstall, opt_onFailure) {
- if (this.chromeFrame_.isActiveRenderer())
- return;
-
- if (!this.chromeFrame_.isPlatformSupported()) {
- if (opt_onFailure)
- opt_onFailure();
- return;
- }
-
- var successHandler = opt_onInstall || function() {
- window.location.assign(window.location.href);
- };
-
- if (this.chromeFrame_.activate()) {
- successHandler();
- return;
- }
-
- this.prompt_.open(successHandler, opt_onFailure);
-};
« no previous file with comments | « chrome_frame/cfinstall/src/stub/inlinedelegate.js ('k') | chrome_frame/cfinstall/src/stub/overlaydelegate.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698