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

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

Issue 2124533002: Revert middle click related changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/new_tab.html » ('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="../synthetic_middleclick.js">
6 <include src="../uber/uber_utils.js"> 5 <include src="../uber/uber_utils.js">
7 <include src="history_focus_manager.js"> 6 <include src="history_focus_manager.js">
8 7
9 /////////////////////////////////////////////////////////////////////////////// 8 ///////////////////////////////////////////////////////////////////////////////
10 // Globals: 9 // Globals:
11 /** @const */ var RESULTS_PER_PAGE = 150; 10 /** @const */ var RESULTS_PER_PAGE = 150;
12 11
13 // Amount of time between pageviews that we consider a 'break' in browsing, 12 // Amount of time between pageviews that we consider a 'break' in browsing,
14 // measured in milliseconds. 13 // measured in milliseconds.
15 /** @const */ var BROWSING_GAP_TIME = 15 * 60 * 1000; 14 /** @const */ var BROWSING_GAP_TIME = 15 * 60 * 1000;
(...skipping 2387 matching lines...) Expand 10 before | Expand all | Expand 10 after
2403 historyView.reload(); 2402 historyView.reload();
2404 } 2403 }
2405 2404
2406 // Add handlers to HTML elements. 2405 // Add handlers to HTML elements.
2407 document.addEventListener('DOMContentLoaded', load); 2406 document.addEventListener('DOMContentLoaded', load);
2408 2407
2409 // This event lets us enable and disable menu items before the menu is shown. 2408 // This event lets us enable and disable menu items before the menu is shown.
2410 document.addEventListener('canExecute', function(e) { 2409 document.addEventListener('canExecute', function(e) {
2411 e.canExecute = true; 2410 e.canExecute = true;
2412 }); 2411 });
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/new_tab.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698