Set the initial size of an app window based on the options passed.

This entails having ShellWindow::Create not instantly show the window, so that
the caller gets time to set the bounds before the window is shown.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139220 0039d316-1c4b-4281-b951-d872f2087c98
Make the frame:custom option work for chrome.appWindow.create


R=mihaip@chromium.org, ben@chromium.org


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139221 0039d316-1c4b-4281-b951-d872f2087c98
Do CHECK before dangerous cast in chromeos::NetworkLibrary

Invalid casts lead to memory corruption and mysterious crash in tcmalloc, let us abort before making trouble.

BUG=128059
TEST=build

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139222 0039d316-1c4b-4281-b951-d872f2087c98
Use grammar markers for contextually-misspelled words.
This change double-checks misspelled words returned by the Spelling service and adds grammar markers to contextually-misspelled words to visualize differences between local spellchecker and the Spelling service.

BUG=107371
TEST=SpellingServiceClientTest.RequestTextCheck, SpellCheckTest.CreateTextCheckingResults

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139223 0039d316-1c4b-4281-b951-d872f2087c98
Remove install dialog for themes when off-store installs are enabled.

There's not supposed to be a prompt here.

TBR=yoz@chromium.org


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139224 0039d316-1c4b-4281-b951-d872f2087c98
Fix build with system zlib.

This adds a missing dependency on zlib.gyp, so that
USE_SYSTEM_ZLIB pre-processor symbol is defined
when using system zlib.

This is upstreaming a Gentoo Linux patch.

BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10416047

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

In this CL:
- Stop layering under FileSystemFileUtil, and make it pure virtual class.
- Introduce LayeringFileUtil class, instead.
- Change NativeFileUtil to pure 'static' class.
- Change {Obfuscated,Local,Isolated}FileUtil to call NativeFileUtil directory.

BUG=114732
TEST='*File*'

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139226 0039d316-1c4b-4281-b951-d872f2087c98
media/audio: Update doc comment to refer to the right function name.

Instead of set_factory, it's set_factory_for_testing.

R=tommi@chromium.org


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139227 0039d316-1c4b-4281-b951-d872f2087c98
Fixed renaming after creating a new folder.

BUG=128695
TEST=Manual test.


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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139230 0039d316-1c4b-4281-b951-d872f2087c98
[cros] Add support for transparent background in sign in screen.
Add flag for OOBE / sign in redesign.

Current implementation requires that --force-compositing-mode is removed (see http://crbug.com/129787)

BUG=129798,129799
TEST=Manual.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139233 0039d316-1c4b-4281-b951-d872f2087c98
[filemanager] Move Gallery to new metadata system.

This also adds a try/catch for a rare exception "Cannot execute code due to CSP script-src: self".

BUG=129347
TEST=Everything works.
Review URL: https://chromiumcodereview.appspot.com/10441045

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139234 0039d316-1c4b-4281-b951-d872f2087c98
Fix Android run_tests.py to report failure on crashes.

This fixes the Android run_tests.py script to report crashed
tests as failures in both single-device and sharded mode.

BUG=none
TEST=run on trybot


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139235 0039d316-1c4b-4281-b951-d872f2087c98
Refactoring attribute access in the Image Gallery.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139236 0039d316-1c4b-4281-b951-d872f2087c98
[File Manager] Error string for FILE_ERROR_QUOTA_EXCEEDED

BUG=129666
TEST=


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139237 0039d316-1c4b-4281-b951-d872f2087c98
Fix content detector nits.

Fix the nits detected in https://chromiumcodereview.appspot.com/10187020/ after
the patch was landed and the bug closed.

BUG=125390
TEST=Unit tests of each component (address/phone number/email).

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139238 0039d316-1c4b-4281-b951-d872f2087c98
Revert 139238 - Fix content detector nits.

Fix the nits detected in https://chromiumcodereview.appspot.com/10187020/ after
the patch was landed and the bug closed.

BUG=125390
TEST=Unit tests of each component (address/phone number/email).

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

TBR=leandrogracia@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10451053

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139239 0039d316-1c4b-4281-b951-d872f2087c98
gtk: Move balloon_collection_gtk.cc into gtk/ directory.

After balloon_collection_views.cc has been moved into views/ directory in
r137686, it makes more sense to have the gtk version in the gtk/ directory.

R=erg@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139240 0039d316-1c4b-4281-b951-d872f2087c98
[File Manager] Make thumbnails larger.

BUG=127084
TEST=


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139241 0039d316-1c4b-4281-b951-d872f2087c98
content: Move javascript_message_type.h into content/ from ui/.

BUG=98716
R=jam@chromium.org
TBR=pkasting@chromium.org

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

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