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

Side by Side Diff: chrome/browser/resources/history/history.js

Issue 9689048: [webui] fix vertical alignment of buttons and text inputs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/resources/options2/options_page.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 <include src="../uber/uber_utils.js"> 5 <include src="../uber/uber_utils.js">
6 6
7 /////////////////////////////////////////////////////////////////////////////// 7 ///////////////////////////////////////////////////////////////////////////////
8 // Globals: 8 // Globals:
9 var RESULTS_PER_PAGE = 150; 9 var RESULTS_PER_PAGE = 150;
10 var MAX_SEARCH_DEPTH_MONTHS = 18; 10 var MAX_SEARCH_DEPTH_MONTHS = 18;
(...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 862
863 return newHash.join('&'); 863 return newHash.join('&');
864 }; 864 };
865 865
866 /////////////////////////////////////////////////////////////////////////////// 866 ///////////////////////////////////////////////////////////////////////////////
867 // Document Functions: 867 // Document Functions:
868 /** 868 /**
869 * Window onload handler, sets up the page. 869 * Window onload handler, sets up the page.
870 */ 870 */
871 function load() { 871 function load() {
872 cr.enablePlatformSpecificCSSRules();
872 uber.onContentFrameLoaded(); 873 uber.onContentFrameLoaded();
873 874
874 var searchField = $('search-field'); 875 var searchField = $('search-field');
875 searchField.focus(); 876 searchField.focus();
876 877
877 localStrings = new LocalStrings(); 878 localStrings = new LocalStrings();
878 historyModel = new HistoryModel(); 879 historyModel = new HistoryModel();
879 historyView = new HistoryView(historyModel); 880 historyView = new HistoryView(historyModel);
880 pageState = new PageState(historyModel, historyView); 881 pageState = new PageState(historyModel, historyView);
881 882
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
1132 historyView.reload(); 1133 historyView.reload();
1133 } 1134 }
1134 1135
1135 // Add handlers to HTML elements. 1136 // Add handlers to HTML elements.
1136 document.addEventListener('DOMContentLoaded', load); 1137 document.addEventListener('DOMContentLoaded', load);
1137 1138
1138 // This event lets us enable and disable menu items before the menu is shown. 1139 // This event lets us enable and disable menu items before the menu is shown.
1139 document.addEventListener('canExecute', function(e) { 1140 document.addEventListener('canExecute', function(e) {
1140 e.canExecute = true; 1141 e.canExecute = true;
1141 }); 1142 });
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/options2/options_page.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698