Updating trunk VERSION from 1811.0 to 1812.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247613 0039d316-1c4b-4281-b951-d872f2087c98
Changing comments in test to use // rather than preprocessor directives as per https://code.google.com/p/chromium/issues/detail?id=334276

BUG=334276

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247614 0039d316-1c4b-4281-b951-d872f2087c98
[App Shell] Enable Initialized Logging

BUG=None
TEST=manual

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247615 0039d316-1c4b-4281-b951-d872f2087c98
cc: Refactor and cleanup RasterWorkerPool unit tests.

Use parametrized tests to exercise all implementations of the
RasterWorkerPool interface.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247616 0039d316-1c4b-4281-b951-d872f2087c98
Move blob/mock_blob_url_request_context to content/

BUG=338338

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247618 0039d316-1c4b-4281-b951-d872f2087c98
Fixes sizing issue when dragging tabs

To avoid unnecessary layout (and stopping of animations) TabStrip
caches the last size it layed out. During drag and drop of tabs
SetTabBoundsForDrag may be used to force a particular tab
size/location. After a call to SetTabBoundsForDrag we need to ensure
the tabstrip does in fact relayout next time Layout() is invoked. By
clearing last_layaout_size_ we ensure this happens.

BUG=338617
TEST=see bug

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247619 0039d316-1c4b-4281-b951-d872f2087c98
Initialize AppListItem::has_shadow_ to avoid uninitialized reads.

BUG=338739
R=koz@chromium.org
TEST=unit_tests:AppListModelPicklerUnitTest.OneItem

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247620 0039d316-1c4b-4281-b951-d872f2087c98
Performance fixes for CoreAnimation.

Consolidate the calls to [NSScreen screens] because this call can take
several milliseconds, and use an observer to ensure that this call is
only made when the value is changed.

Only use a single OpenGL context because using multiple contexts does
not improve performance and only adds complexity.

BUG=245900

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247621 0039d316-1c4b-4281-b951-d872f2087c98
Change ContentLinker to share relro sections with browser process only on low-end devices.

While this change increases memory usage on non low-end devices, the
impact is small enough that we can limit the exposure surface to only
where it makes a signficant impact.

Also adds content_linker_test_apk to the android builders to ensure it
doesn't regress.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247622 0039d316-1c4b-4281-b951-d872f2087c98
Skeleton of a View Manager.

This CL doesn't add any real View Management nor does it convert any apps to use this API. Mostly this is just getting the target in and doing the event interception to load the Launcher.

R=sky@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247623 0039d316-1c4b-4281-b951-d872f2087c98
Extensions: Make it possible for permission parsing code to return a detailed error message.

BUG=337758

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247624 0039d316-1c4b-4281-b951-d872f2087c98
cc: Add useful TaskGraphRunner performance tests.

Current perf tests are not useful for profiling as output heavily
depends on kernel scheduling. An improvement in CPU time is not
guaranteed to result in a better result from these tests as they
mostly measure context switching cost.

This includes a small refactor to TaskGraphRunner that allow us
to run tests on a single thread. The result is more predictable
results and useful profiling output.

The number of tasks used in tests have also been adjusted to more
realistic values.

BUG=338355

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247625 0039d316-1c4b-4281-b951-d872f2087c98
Remove SetJavaScriptFlags() wrapper function from webkit.

This function is just an helper/wrapper function around v8::V8::SetFlagsFromString() and used only by content.

John preferred to just remove the wrapper and call the v8 API directly in content.

Also removing it from webkit_glue.h helps with the removal of src/webkit/ directory.

BUG=265753
TEST=content_shell and content_unittests
R=jochen@chromium.org, jam@chromium.org
TBR=darin

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247626 0039d316-1c4b-4281-b951-d872f2087c98
Fix UAF in WebSocketDispatcherHost

If Send() fails in SendOrDrop(), then |message| will have been deleted,
but SendOrDrop() will still try to access its header fields.

Fixed.

BUG=338354
TEST=content_unittests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247627 0039d316-1c4b-4281-b951-d872f2087c98
[Aura] RenderWidgetHostViewAura fixes for embedding fullscreen views within browser tabs.

1. Modify OnBoundsChanged() to unconditionally call SetSize() to propagate all aura::Window size changes (e.g., due to container layout) to the renderer.  There are already re-entrancy and redundancy guards in place, making this safe/sane.

2. Apply coordinate conversion for mouse events propagated to the parent->delegate.  This was previously overlooked because it was assumed WebContentsViewAura was the only parent->delegate, and WCVA does not do anything with mouse coordinates.

BUG=256870

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247628 0039d316-1c4b-4281-b951-d872f2087c98
Make generated hosted app icons have white background.

This CL changes the transparent background of icons generated by the "Create app
from this website" button into solid white.

BUG=315632

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247629 0039d316-1c4b-4281-b951-d872f2087c98
[FileAPI] Replace default leveldb::Env with leveldb::MemEnv in tests.

Use in-memory LevelDB in tests that don't test LevelDB behavior itself.

BUG=331988
R=kinuko@chromium.org, nhiroki@chromium.org, sky@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247634 0039d316-1c4b-4281-b951-d872f2087c98
Fix platform checks in Clipboard.

Ozone uses clipboard_aura and DChecks in WriteObjects with type
CLIPBOARD_TYPE_SELECTION fail here as this is defined only for X11 
platform. This CL replaces the current platform checks(X11) with 
checks this shouldn't be defined on.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247635 0039d316-1c4b-4281-b951-d872f2087c98
Remove some uses of ATL in UI code

Started by trying to remove only atlbase.h, but atlcrack.h (WTL)
uses CPoint/CSize, etc from ATL. So, msg_util.h is atlcrack.h,
but adapted to use gfx types, and with CR_ prefix on crack macros
for now.

R=ben@chromium.org
BUG=5027, 323300

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

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