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

Side by Side Diff: chrome/test/data/instant_extended.html

Issue 13684002: cros: Instant extended support for immersive fullscreen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 4
5 var apiHandle; 5 var apiHandle;
6 var newTabPageHandle; 6 var newTabPageHandle;
7 var savedUserText = null; 7 var savedUserText = null;
8 var suggestionIndex = -1; 8 var suggestionIndex = -1;
9 var suggestions = ["result 1", "result 2", "http://www.google.com"]; 9 var suggestions = ["result 1", "result 2", "http://www.google.com"];
10 var suggestion; 10 var suggestion;
(...skipping 19 matching lines...) Expand all
30 return window.navigator.embeddedSearch.newTabPage; 30 return window.navigator.embeddedSearch.newTabPage;
31 if (window.chrome && window.chrome.embeddedSearch && 31 if (window.chrome && window.chrome.embeddedSearch &&
32 window.chrome.embeddedSearch.newTabPage) 32 window.chrome.embeddedSearch.newTabPage)
33 return window.chrome.embeddedSearch.newTabPage; 33 return window.chrome.embeddedSearch.newTabPage;
34 return null; 34 return null;
35 } 35 }
36 36
37 function handleNativeSuggestions() { 37 function handleNativeSuggestions() {
38 onNativeSuggestionsCalls++; 38 onNativeSuggestionsCalls++;
39 // Showing the loader at 100% height. 39 // Showing the loader at 100% height.
40 apiHandle.hideBars();
40 apiHandle.showOverlay(); 41 apiHandle.showOverlay();
41 } 42 }
42 43
43 function handleSubmit() { 44 function handleSubmit() {
44 location.hash = 'q=' + encodeURIComponent(apiHandle.value); 45 location.hash = 'q=' + encodeURIComponent(apiHandle.value);
45 submitCount++; 46 submitCount++;
46 } 47 }
47 48
48 function handleOnChange() { 49 function handleOnChange() {
49 onChangeCalls++; 50 onChangeCalls++;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 } 115 }
115 116
116 setUp(); 117 setUp();
117 118
118 </script> 119 </script>
119 </head> 120 </head>
120 <body> 121 <body>
121 <h1>Instant</h1> 122 <h1>Instant</h1>
122 </body> 123 </body>
123 </html> 124 </html>
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698