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

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

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