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

Unified Diff: chrome_frame/cfinstall/src/stub/inlinedelegate.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
« no previous file with comments | « chrome_frame/cfinstall/src/stub/frame.js ('k') | chrome_frame/cfinstall/src/stub/installer.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/cfinstall/src/stub/inlinedelegate.js
diff --git a/chrome_frame/cfinstall/src/stub/inlinedelegate.js b/chrome_frame/cfinstall/src/stub/inlinedelegate.js
deleted file mode 100644
index 2489d6025e6c5567a533059192747a5739847ecc..0000000000000000000000000000000000000000
--- a/chrome_frame/cfinstall/src/stub/inlinedelegate.js
+++ /dev/null
@@ -1,87 +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 Implements a compatibility layer for older versions of
- * CFInstall.js .
- **/
-
-goog.provide('google.cf.installer.InlineDelegate');
-
-goog.require('goog.style');
-
-goog.require('google.cf.installer.InteractionDelegate');
-goog.require('google.cf.installer.frame');
-
-/**
- * Adds an unadorned iframe into the page, taking arguments to customize it.
- * @param {Object} args A map of user-specified properties to set
- * @constructor
- * @implements {google.cf.installer.InteractionDelegate}
- */
-google.cf.installer.InlineDelegate = function(args) {
- this.args_ = args;
- this.args_.className = 'chromeFrameInstallDefaultStyle ' +
- (this.args_.className || '');
-};
-
-/**
- * Indicates whether the overlay CSS has already been injected.
- * @type {boolean}
- * @private
- */
-google.cf.installer.InlineDelegate.styleInjected_ = false;
-
-/**
- * Generates the CSS for the overlay.
- * @private
- */
-google.cf.installer.InlineDelegate.injectCss_ = function() {
- if (google.cf.installer.InlineDelegate.styleInjected_)
- return;
-
- goog.style.installStyles('.chromeFrameInstallDefaultStyle {' +
- 'width: 800px;' +
- 'height: 600px;' +
- 'position: absolute;' +
- 'left: 50%;' +
- 'top: 50%;' +
- 'margin-left: -400px;' +
- 'margin-top: -300px;' +
- '}');
- google.cf.installer.InlineDelegate.styleInjected_ = true;
-};
-
-/**
- * @inheritDoc
- */
-google.cf.installer.InlineDelegate.prototype.getIFrameContainer = function() {
- // TODO(user): This will append to the end of the container, whereas
- // prior behaviour was beginning...
- google.cf.installer.InlineDelegate.injectCss_();
- return google.cf.installer.frame.getParentNode(this.args_);
-};
-
-/**
- * @inheritDoc
- */
-google.cf.installer.InlineDelegate.prototype.customizeIFrame =
- function(iframe) {
- google.cf.installer.frame.setProperties(iframe, this.args_);
-};
-
-/**
- * @inheritDoc
- */
-google.cf.installer.InlineDelegate.prototype.show = function() {
- // TODO(user): Should start it out hidden and reveal/resize here.
-};
-
-/**
- * @inheritDoc
- */
-google.cf.installer.InlineDelegate.prototype.reset =
- function() {
- // TODO(user): Should hide it here.
-};
« no previous file with comments | « chrome_frame/cfinstall/src/stub/frame.js ('k') | chrome_frame/cfinstall/src/stub/installer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698