| Index: chrome/browser/resources/history/history.js
|
| diff --git a/chrome/browser/resources/history/history.js b/chrome/browser/resources/history/history.js
|
| index 11c84fd9f8f3f31c053f679c0b84b7a830080dad..20814f108a57e5e3b63642a33e5795a2760342bd 100644
|
| --- a/chrome/browser/resources/history/history.js
|
| +++ b/chrome/browser/resources/history/history.js
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -<include src="../uber/uber_utils.js">
|
| -<include src="history_focus_manager.js">
|
| +// <include src="../uber/uber_utils.js">
|
| +// <include src="history_focus_manager.js">
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
| // Globals:
|
| @@ -1987,7 +1987,7 @@ function load() {
|
| window.addEventListener(
|
| 'resize', historyView.updateClearBrowsingDataButton_);
|
|
|
| -<if expr="is_ios">
|
| +// <if expr="is_ios">
|
| // Trigger window resize event when search field is focused to force update
|
| // of the clear browsing button, which should disappear when search field
|
| // is active. The window is not resized when the virtual keyboard is shown
|
| @@ -1995,7 +1995,7 @@ function load() {
|
| searchField.addEventListener('focus', function() {
|
| cr.dispatchSimpleEvent(window, 'resize');
|
| });
|
| -</if> /* is_ios */
|
| +// </if> /* is_ios */
|
|
|
| // When the search field loses focus, add a delay before updating the
|
| // visibility, otherwise the button will flash on the screen before the
|
| @@ -2015,7 +2015,7 @@ function load() {
|
| searchField.focus();
|
| }
|
|
|
| -<if expr="is_ios">
|
| +// <if expr="is_ios">
|
| function checkKeyboardVisibility() {
|
| // Figure out the real height based on the orientation, becauase
|
| // screen.width and screen.height don't update after rotation.
|
| @@ -2029,7 +2029,7 @@ function load() {
|
| }
|
| window.addEventListener('orientationchange', checkKeyboardVisibility);
|
| window.addEventListener('resize', checkKeyboardVisibility);
|
| -</if> /* is_ios */
|
| +// </if> /* is_ios */
|
| }
|
|
|
| /**
|
|
|