[Telemetry] Disable flaky smoothness.top_25 and testRepaint

BUG=368767
TBR=dtu@chromium.org
NOTRY=True
NOTREECHECKS=True

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268659 0039d316-1c4b-4281-b951-d872f2087c98
ui: Move two more gfx unit tests into gfx_unittests target.

These two tests do not need any ResourceBundle initialization or any
other extra setup so we can move them straightforward into gfx_unittests
target.

BUG=331829
TEST=ui_unittests, gfx_unittests
R=ben@chromium.org
TBR=ben@chromium.org, danakj@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268660 0039d316-1c4b-4281-b951-d872f2087c98
Fixed ChromeOS crash if app launcher is on a display that is destroyed.

BubbleDelegateView should not call OnAnchorBoundsChanged if the anchor
is empty; this would have no effect anyway, but can cause a crash in a
difficult-to-detect situation.

Added test to AppListControllerTest.

BUG=368990
TEST=Attach external monitor, open app launcher on external monitor,
unplug external monitor. Should not crash.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268661 0039d316-1c4b-4281-b951-d872f2087c98
net: Remove one of FileStream's ctors which takes PlatformFile

Fix users, NativeMessageProcessHost and PipeReader.

BUG=322664, 369183
TEST=For NativeMessageProcessHost: unit_tests --gtest_filter="NativeMessagingTest.*"
TEST=For PipeReader: On a Chromebook, open chrome://tracing and start recording with "System tracing" checked, see "Kernel" section appears on the result.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268662 0039d316-1c4b-4281-b951-d872f2087c98
[Linux] Fix crash when closing the app list via the shelf context menu.

AppListServiceLinux::OnViewBeingDestroyed was not calling the function
it overrides. This was lost with the refactoring in r268035.

BUG=370385

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268663 0039d316-1c4b-4281-b951-d872f2087c98
Extension docs: Fix typo to restore rendering of API samples on each sample page.

R=rockot@chromium.org
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268665 0039d316-1c4b-4281-b951-d872f2087c98
[Telemetry] Disable a Dromaeo benchmark on XP due to OOM.

BUG=323782
NOTRY=True
TBR=dtu@chromium.org
NOTREECHECKS=True

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268666 0039d316-1c4b-4281-b951-d872f2087c98
aw: Avoid crash when onAttachedToWindow called multiple times

Currently we insert an hardware initialization task each time in attach.
Apparently attach and detach can be called multiple times. This patch
ignores attach and detach calls if AwContents is already
attach/detached.

Also fix the case when there are no draws between attach and detach, in
which case we try to destroy a non-existent HardwareRenderer.

Internal bug b/14572738

BUG=
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268667 0039d316-1c4b-4281-b951-d872f2087c98
Linux sandbox: implement new BPF testing macros

Implement new BPF_TEST_C and BPF_TEST_D macros to allow writing new BPF
tests without using the deprecated "BPF policies as function pointers".

BUG=368970
R=mdempsky@chromium.org
TBR=jorgelo

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268668 0039d316-1c4b-4281-b951-d872f2087c98
[Files.app] Make MedatadaCache.getCached() simple 

- Get rid of instanceof, which is heaby.
- Remove support of passing array of entry. No caller uses this.

BUG=367123
TEST=manually passes

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268669 0039d316-1c4b-4281-b951-d872f2087c98
Add a regression test for closing the app list natively.

Usually the app list is just dismissed and the window kept around. On
Windows and Linux, a close request can come from the OS by
right-clicking the taskbar/shelf. There is no way to prevent the window
closing in this case, so it is torn down. This exercises a bunch of
codepaths that don't currently have tests.

BUG=370385,169114

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268673 0039d316-1c4b-4281-b951-d872f2087c98
Revert 268661 "Fixed ChromeOS crash if app launcher is on a disp..."

This test is failing on many Windows bots.

> Fixed ChromeOS crash if app launcher is on a display that is destroyed.
> 
> BubbleDelegateView should not call OnAnchorBoundsChanged if the anchor
> is empty; this would have no effect anyway, but can cause a crash in a
> difficult-to-detect situation.
> 
> Added test to AppListControllerTest.
> 
> BUG=368990
> TEST=Attach external monitor, open app launcher on external monitor,
> unplug external monitor. Should not crash.
> 
> Review URL: https://codereview.chromium.org/267713004

TBR=mgiuca@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268678 0039d316-1c4b-4281-b951-d872f2087c98
Fix JSBlockSentAfterPageLoad for the threaded HTML parser.

The test used Reload(), but Reload() didn't wait for frame
loads to complete.

BUG=308321
R=jam@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268679 0039d316-1c4b-4281-b951-d872f2087c98
Fix PrintWebViewHelperTest to use threaded parsing and enable everywhere

Since PrintWebViewHelper doesn't use RenderFrame, install a message
filter and listen for IPCs that signal when a print preview is finished
rendering.

BUG=308321
R=jam@chromium.org, vitalybuka@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268680 0039d316-1c4b-4281-b951-d872f2087c98
Split API permission registration.

Permissions declared in extensions/common are registered there.

This doesn't yet break AppShell's dependencies on Chrome features/permissions (that will be a simple change after this, and it will likely cause breakage).

BUG=339301
R=rockot@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268681 0039d316-1c4b-4281-b951-d872f2087c98
Password bubble: Stub out the blacklisted site icon.

This is not the final icon, but we need a placeholder.

BUG=357597
R=oshima@chromium.org, vabr@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268683 0039d316-1c4b-4281-b951-d872f2087c98
Remove path_util.js from Files app.

This file used to be a sink for lots of random loosly related to paths
utility functions and other enums, eg for the volume manager.

This patch moves the shared enums to volume_manager_common.js, other utility
functions to util.js, and removes path_util.js

TEST=Tested manually + Files app's browser tests.
BUG=328247

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268684 0039d316-1c4b-4281-b951-d872f2087c98
Add /third_party/clang_format/script to gitignore.

This is currently a submodule.

R=mmoss@chromium.org, szager@chromium.org
BUG=366867

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268685 0039d316-1c4b-4281-b951-d872f2087c98
Password bubble: Rename ManagePasswordBubbleUIController.

Drop the 'bubble'. It's cleaner.

BUG=261628
TBR=pkasting@chromium.org

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

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