Revert 214144 "Add PRESUBMIT check to cc to ensure that C++ std:..."

For some reason patch is causing a win7_aura failure, reverting
to investigate.

> Add PRESUBMIT check to cc to ensure that C++ std::abs is used
> 
> Before this patch, it is possible to use abs() without the std::
> namespace qualifier, which may link to the C standard library
> implementation of abs(). Thus, someone using abs(float) may get
> wrong results because C standard version will convert the float
> to an int. This patch updates the occurrences of of abs() and
> fabs() in cc/ (though technically none were incorrect, thankfully)
> and adds a PRESUBMIT to enforce that all uses of abs from now on
> have an explicit std:: to resolve them correctly.
> 
> BUG=261900
> R=enne@chromium.org
> 
> Review URL: https://codereview.chromium.org/19835003

TBR=shawnsingh@google.com

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214149 0039d316-1c4b-4281-b951-d872f2087c98
Re-land: Colors shouldn't break runs and should be handled while drawing the text

Previous CL: https://codereview.chromium.org/19672006/ http://crrev.com/212778

BUG=262119, 256908
TEST=In a views textfield, selecting half of a ligature shouldn't break the ligature. See http://www.catch22.net/tuts/uniscribe-mysteries in Firefox for an example of how it used to look versus how it is supposed to look.
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/20241002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214150 0039d316-1c4b-4281-b951-d872f2087c98
Fix capture picture implementation
    
Capturing the whole content, and starting the capture from the origin.

BUG=224003
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/19864002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214151 0039d316-1c4b-4281-b951-d872f2087c98
file_manager: Move FileBrowserFunction::GetTabId() to anonymous namespace

This function doesn't have to be part of FileBrowserFunction.

BUG=257918
TEST=none
R=hashimoto@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214152 0039d316-1c4b-4281-b951-d872f2087c98
file_manager: Give some consistency to file_browser_private.h/cc

- Move some function definitions of SelectFileFunction.
- Define constructors in .cc file for every class
- Define destroctors in .cc file for every class
- Add some comment to ZoomFunction
- Remove FileBrowserFunction::GetElapsedTime()

BUG=257918
TEST=none
R=hashimoto@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214153 0039d316-1c4b-4281-b951-d872f2087c98
Updating trunk VERSION from 1580.0 to 1581.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214155 0039d316-1c4b-4281-b951-d872f2087c98
Remove unused content/browser/in_process_webkit/

This code is all unreachable as of r212661

BUG=237267
R=jam
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/20115002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214159 0039d316-1c4b-4281-b951-d872f2087c98
Implement Worker-MainThread bridge for FileSystem API in Chrome

This basically adds the same worker/mainThread bridge functionality
for FileSystem API in Chrome side.

Keeping bridge code around is suboptimal, but this allows us to remove
bridge code in Blink side which in turn allows us to make further
worker-related cleanups in Blink.

This change doesn't contain FileWriter related changes yet.
(For reference, combined patch is uploaded here:
https://codereview.chromium.org/19287010/)

BUG=257349
TEST=no behavioral changes yet
R=atwilson@chromium.org, jochen@chromium.org, michaeln@chromium.org, tzik@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214160 0039d316-1c4b-4281-b951-d872f2087c98
Fix parsing of CaCertPEM properties in NetworkLibrary.

BUG=208986
R=stevenjb@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214161 0039d316-1c4b-4281-b951-d872f2087c98
Make Platform::queryStorageUsageAndQuota work from worker threads

For renderer/worker to browser side:
- Always use thread-local QuotaDispatcher
- Make QuotaDispatcher use ThreadSafeSender to send IPC msgs
- Keep ipc_thread_id:request_id mapping in QuotaMessageFilter

For browser to renderer/worker side:
- Add QuotaMessageFilter to receive quota IPC msgs and
to relay the msgs to the correct thread's QuotaDispatcher

BUG=259660
TEST=no behavioral changes yet (fast/workers/*storagequota* after blink side changes)
R=jam@chromium.org, michaeln@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214162 0039d316-1c4b-4281-b951-d872f2087c98
Revert "cc: Cleanup Layer::SetNeedsDisplayInRect" (r214103).

This change seems to be causing 20+ compositing tests to fail on all layout test bots. E.g., http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux/builds/14949/steps/webkit_tests/logs/stdio.

TBR=enne,danakj

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214163 0039d316-1c4b-4281-b951-d872f2087c98
Fix crash when reloading an empty WalletItems (no Addresses or Instruments).

R=isherman@chromium.org
BUG=264727
TEST=unit_tests, abodenha@ gets less crash dialogs
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/20780003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214164 0039d316-1c4b-4281-b951-d872f2087c98
Rework the FileWatcher in Files.app.

This patch reworks the previous implementation of the file watcher to fix numerous issues.
- Changing tracked directory is performed before changing the directory in DirectoryModel. This eliminates the infamous race causing most Files.app's tests flaky.
- Removed dependencies to DirectoryModel and to the VolumeManager. The watcher notifies about changes via events.
- Merged MetadataFileWatcher to FileWatcher, since there is no reason to keep both.
- Moved to a separate files and removed redundant code.

TEST=browser_tests: *FileBrowserManager*, also manually deleting, changing volumes should work.
BUG=252622
R=yoshiki@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214165 0039d316-1c4b-4281-b951-d872f2087c98
Fix NetworkEventLog output to error log.

BUG=NONE
R=stevenjb@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214168 0039d316-1c4b-4281-b951-d872f2087c98
Fully enable Chromoting Android client NAT traversal

This should now work in all network environments

Review URL: https://chromiumcodereview.appspot.com/20790003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214169 0039d316-1c4b-4281-b951-d872f2087c98
[rAc] More consistently reset WalletClient::request_ upon completion.

Currently, there are several code paths that can cause an early exit from the
method, which leaves the |request_| needlessly alive.

BUG=none
TEST=none
R=ahutter@chromium.org

Review URL: https://chromiumcodereview.appspot.com/20040003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214171 0039d316-1c4b-4281-b951-d872f2087c98
Revert 214162 "Make Platform::queryStorageUsageAndQuota work fro..."

> Make Platform::queryStorageUsageAndQuota work from worker threads
> 
> For renderer/worker to browser side:
> - Always use thread-local QuotaDispatcher
> - Make QuotaDispatcher use ThreadSafeSender to send IPC msgs
> - Keep ipc_thread_id:request_id mapping in QuotaMessageFilter
> 
> For browser to renderer/worker side:
> - Add QuotaMessageFilter to receive quota IPC msgs and
> to relay the msgs to the correct thread's QuotaDispatcher
> 
> BUG=259660
> TEST=no behavioral changes yet (fast/workers/*storagequota* after blink side changes)
> R=jam@chromium.org, michaeln@chromium.org
> 
> Review URL: https://codereview.chromium.org/20015002

TBR=kinuko@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214172 0039d316-1c4b-4281-b951-d872f2087c98
Revert 214172 "Revert 214162 "Make Platform::queryStorageUsageAn..."

> Revert 214162 "Make Platform::queryStorageUsageAndQuota work fro..."
> 
> > Make Platform::queryStorageUsageAndQuota work from worker threads
> > 
> > For renderer/worker to browser side:
> > - Always use thread-local QuotaDispatcher
> > - Make QuotaDispatcher use ThreadSafeSender to send IPC msgs
> > - Keep ipc_thread_id:request_id mapping in QuotaMessageFilter
> > 
> > For browser to renderer/worker side:
> > - Add QuotaMessageFilter to receive quota IPC msgs and
> > to relay the msgs to the correct thread's QuotaDispatcher
> > 
> > BUG=259660
> > TEST=no behavioral changes yet (fast/workers/*storagequota* after blink side changes)
> > R=jam@chromium.org, michaeln@chromium.org
> > 
> > Review URL: https://codereview.chromium.org/20015002
> 
> TBR=kinuko@chromium.org
> 
> Review URL: https://codereview.chromium.org/21042002

TBR=kinuko@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214173 0039d316-1c4b-4281-b951-d872f2087c98
Fix handling commands when executed with a shortcut.

Before, commands were not executed if they were formerly disabled, and later a shortcut was fired. This was happening because command state (enabled/disabled) is checked when focus changes.

This patch resolves this issue by rechecking if the command is enabled or disabled when firing a shortcut.

TEST=browser_test:*KeyboardOperations*
BUG=263703
R=nkostylev@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214174 0039d316-1c4b-4281-b951-d872f2087c98
file_manager: Move utility functions in FileBrowserFunction to anonymous namespace

These shouldn't be part of FileBrowserFunction, as the main purpose of this class is to
add logging.

BUG=257918
TEST=none

Review URL: https://chromiumcodereview.appspot.com/21006003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214175 0039d316-1c4b-4281-b951-d872f2087c98