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

Unified Diff: chrome/browser/printing/cloud_print/resources/cloud_print_setup_login.js

Issue 9689075: Move some resources to a proper location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Separated icon addition. Created 8 years, 9 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/printing/cloud_print/resources/cloud_print_setup_login.js
diff --git a/chrome/browser/printing/cloud_print/resources/cloud_print_setup_login.js b/chrome/browser/printing/cloud_print/resources/cloud_print_setup_login.js
deleted file mode 100644
index 63f5b9a0b2be0c32c68abeb362957fa82ec4680b..0000000000000000000000000000000000000000
--- a/chrome/browser/printing/cloud_print/resources/cloud_print_setup_login.js
+++ /dev/null
@@ -1,37 +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.
-
-cr.define('cloudprint', function() {
- function learnMore() {
- chrome.send('LearnMore', ['']);
- chrome.send('DialogClose', ['']);
- }
-
- function fixUpTemplateLink() {
- var elm = $('anywhere-explain');
- if (elm)
- elm.innerHTML = elm.textContent;
- }
-
- function showGaiaLogin(args) {
- frames['gaialogin'].showGaiaLogin(args);
- new_height = $('cloudprint-signup').offsetHeight;
- login_height = frames['gaialogin'].document.body.scrollHeight;
- if (login_height > new_height) {
- new_height = login_height;
- }
- $('cloudprint-contents').style.height = new_height + 4 + 'px';
- }
-
- function showGaiaSuccessAndSettingUp() {
- frames['gaialogin'].showGaiaSuccessAndSettingUp()
- }
-
- return {
- learnMore: learnMore,
- fixUpTemplateLink: fixUpTemplateLink,
- showGaiaLogin: showGaiaLogin,
- showGaiaSuccessAndSettingUp: showGaiaSuccessAndSettingUp
- };
-});

Powered by Google App Engine
This is Rietveld 408576698