[Hotword] Remove unneeded preferences. Cleaning up look of settings.

Removed preferences include:
- flag for incognito mode -- hotwording is now always off in incognito
- flag for 5 minute timeout -- hotwording now always times out after 5 minutes

Cleanup includes:
- Moved the pref from Search to Privacy
- Added confirm bubble for clicking the pref which adds hotword_confirm_overlay.{html,css}
- Changed the wording for the description (also added strings for the confirm/cancel buttons)


BUG=325439, 289023

Review URL: https://codereview.chromium.org/136693013

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247945 0039d316-1c4b-4281-b951-d872f2087c98
Files.app; Serializes event handler calls for particular URLs.

Previously DriveSyncHandler#updateItem_ is called for 'in_progress' events and
DriveSyncHandler#removeItem_ is called for 'completed' events.

We should do updateItem_ and removeItem_ in this order but sometimes removeItem_
calls before updateItem_ is done becuase updateItem_ needs asynchronous
opeartion.

This CL serializes function calls of updateItem_ and removeItem_ by using
Promise.

BUG=339046
TEST=manually

Review URL: https://codereview.chromium.org/136783003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247946 0039d316-1c4b-4281-b951-d872f2087c98
Refactors ui::internal::InputMethodDelegate.

Simplify and combine Dispatch{,Fabricated}KeyEventPostIME methods into one method.

TEST=Run unit_tests, ui_unittests, views_unittests.
TBR=pfeldman@chromium.org

Review URL: https://codereview.chromium.org/142043006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247947 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247947
Fix rounding of time interval strings

Previously, text output for time intervals always was rounded
down. For example, a time interval of 1 min 59 sec was
displayed as "1 min", which was confusing users in some cases.
This CL implements rounding to nearest integer. Some example
outputs are given below.

0.49 sec --> "0 secs"
0.5  sec --> "1 sec"
59.4 sec --> "59 secs"
59.5 sec --> "1 min"
89.9 sec --> "1 min"
90.0 sec --> "2 mins"
59 min   --> "59 mins"
60 min   --> "1 hour"
89 min   --> "1 hour"
90 min   --> "2 hours"
...

BUG=338631
TEST=unit tests updated

Review URL: https://codereview.chromium.org/143633003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247948 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247948