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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title></title>
5 <style>
6 html, body {
7 height: 100%;
8 }
9
10 body {
11 margin: 0;
12 overflow: hidden;
13 }
14
15 #chrome {
16 height: 100%;
17 }
18
19 #top-panel {
20 height: 298px;
21 position: absolute;
22 width: 100%;
23 z-index: 2;
24 }
25
26 #top-spacer {
27 padding: 139px 100px 0;
28 }
29
30 #provider-logo {
31 background: red;
32 height: 94px;
33 margin: 0 auto 26px;
34 width: 344px;
35 }
36
37 #omnibox {
38 background: white;
39 border: 1px solid #cbdef0;
40 border-radius: 2px;
41 box-shadow: 0 0 0 1px #84a5c4;
42 height: 36px;
43 margin: 0 auto;
44 max-width: 748px;
45 }
46
47 #bottom-panel {
48 border: none;
49 height: 100%;
50 position: absolute;
51 width: 100%;
52 z-index: 1;
53 }
54 </style>
55 <script src="mock.js" type="text/javascript"></script>
56 <script>
57 if (chrome.debugArgs && chrome.debugArgs.background)
58 document.body.style.background = chrome.debugArgs.background;
59
60 window.onload = function() {
61 // Propagates the debug args to the iframe.
62 var bottomPanel = document.getElementById('bottom-panel');
63 var parts = location.href.split('?');
64 var args = parts[1] ? '?' + parts[1] : '';
65 bottomPanel.src = '../new_tab.html' + args;
66 };
67 </script>
68 </head>
69 <body>
70 <div id="chrome">
71 <div id="top-panel">
72 <div id="top-spacer">
73 <div id="provider-logo"></div>
74 <div id="omnibox"></div>
75 </div>
76 </div>
77 <iframe id="bottom-panel"></iframe>
78 </div>
79 </body>
80 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698