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

Unified Diff: chrome/browser/resources/ntp_search/mock/mock.html

Issue 12207138: Remove unused ntp_search. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/resources/ntp_search/mock/mock.html
diff --git a/chrome/browser/resources/ntp_search/mock/mock.html b/chrome/browser/resources/ntp_search/mock/mock.html
deleted file mode 100644
index c0487963742a22244702d91f21aed9b6c78bc8fd..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/ntp_search/mock/mock.html
+++ /dev/null
@@ -1,80 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title></title>
- <style>
- html, body {
- height: 100%;
- }
-
- body {
- margin: 0;
- overflow: hidden;
- }
-
- #chrome {
- height: 100%;
- }
-
- #top-panel {
- height: 298px;
- position: absolute;
- width: 100%;
- z-index: 2;
- }
-
- #top-spacer {
- padding: 139px 100px 0;
- }
-
- #provider-logo {
- background: red;
- height: 94px;
- margin: 0 auto 26px;
- width: 344px;
- }
-
- #omnibox {
- background: white;
- border: 1px solid #cbdef0;
- border-radius: 2px;
- box-shadow: 0 0 0 1px #84a5c4;
- height: 36px;
- margin: 0 auto;
- max-width: 748px;
- }
-
- #bottom-panel {
- border: none;
- height: 100%;
- position: absolute;
- width: 100%;
- z-index: 1;
- }
- </style>
- <script src="mock.js" type="text/javascript"></script>
- <script>
- if (chrome.debugArgs && chrome.debugArgs.background)
- document.body.style.background = chrome.debugArgs.background;
-
- window.onload = function() {
- // Propagates the debug args to the iframe.
- var bottomPanel = document.getElementById('bottom-panel');
- var parts = location.href.split('?');
- var args = parts[1] ? '?' + parts[1] : '';
- bottomPanel.src = '../new_tab.html' + args;
- };
- </script>
-</head>
-<body>
-<div id="chrome">
- <div id="top-panel">
- <div id="top-spacer">
- <div id="provider-logo"></div>
- <div id="omnibox"></div>
- </div>
- </div>
- <iframe id="bottom-panel"></iframe>
-</div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698