PDF: Add some CHECKS to help debug a crash.

BUG=402035

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

Cr-Commit-Position: refs/heads/master@{#289822}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289822 0039d316-1c4b-4281-b951-d872f2087c98
Add NotifyOnShowSettings implementation of notification
provider API and test.

When an extension/app with notificationProvider permission
shows a user that certain notifiers have advanced settings.
When the user clicks and chooses to see advanced settings of
one notifier, NotifyOnShowSettings can be used to inform the
notifier that a user requested advanced settings, so the
notifier can do something else to display its advanced
settings.

BUG=397197

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

Cr-Commit-Position: refs/heads/master@{#289823}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289823 0039d316-1c4b-4281-b951-d872f2087c98
Makes restoring a tab work via accelerators on startup

Currently the accelerator tab-restore code path wasn't triggering a
load, which resulted in tab restore via accelator only working if
someone else triggered loading.

BUG=360495
TEST=covered by test now
R=brettw@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#289824}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289824 0039d316-1c4b-4281-b951-d872f2087c98
I've created a new desktop environment, Me2MeWindowDesktopEnvironment. This environment has creates a WindowCapturerScreenWrapper instead of a
ScreenCapturer with its CreateVideoCapturer() method. This wrapper wraps a
WindowCapturer and delegates messages sent to it to the wrapped WindowCapturer.

When the  command line flag window-Id is specified the remoting_me2me_host.cc choses Me2MeWindowDesktopEnvironment instead of the regular desktop environment.

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

Cr-Commit-Position: refs/heads/master@{#289825}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289825 0039d316-1c4b-4281-b951-d872f2087c98
Allow app list tiles to show search results in the experimental app list.

This CL makes app results show as tiles in the experimental app list by
making TileItemViews take SearchResults instead of AppListItems and by
introducing a DisplayType for SearchResults which determines which
surface the result will display on.

Only 4 tiles appear at any one time. This will be fixed in a future
patch.

This CL also has the side effect of fixing a focus bug which was
happening because StartPageView was listening to the AppListModel.

BUG=398801, 349727

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

Cr-Commit-Position: refs/heads/master@{#289826}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289826 0039d316-1c4b-4281-b951-d872f2087c98
[cros] user_manager component - move UserManagerBase and UserManager

* Move UserManager test helper classes in their own files
* Move RemoveUserDelegate to user_manager component
* Move UserManager ownership to BrowserProcessPlatformPart
* UserManager::Get() still stays but instance is explicitly initialized/cleared with instance->Initialize()|Destroy()
* ScopedUserManagerEnabler / ScopedTestUserManager classes still work

* Introduce ChromeUserManager base class (impl: ChromeUserManagerImpl)
* ChromeUserManager adds getters for MultiProfileUserController, UserImageManager, SupervisedUserManager.
All clients that were using these methods now access ChromeUserManager instance through ChromeUserManager::Get().
* FakeUserManager/MockUserManager implement ChromeUserManager
* Move *UserFlow() methods out of UserManager to ChromeUserManager

BUG=387614
TBR=thestig,benwells

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

Cr-Commit-Position: refs/heads/master@{#289827}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289827 0039d316-1c4b-4281-b951-d872f2087c98
Move ALL_BROWSER_TYPES constant to a FindAllBrowsers() function, so that it doesn't run unnecessarily.
This is needed for https://codereview.chromium.org/461043003/, which does an http request to find available browsers.

BUG=401180

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

Cr-Commit-Position: refs/heads/master@{#289828}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289828 0039d316-1c4b-4281-b951-d872f2087c98
Not use GetLastOpenedProfiles to get opened profiles, because it might cause a profile creation, which shouldn't happen when collecting histogram value.

BUG=403723

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

Cr-Commit-Position: refs/heads/master@{#289829}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289829 0039d316-1c4b-4281-b951-d872f2087c98
Fix Autofill popup settings menu item label.

BUG=403607

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

Cr-Commit-Position: refs/heads/master@{#289830}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289830 0039d316-1c4b-4281-b951-d872f2087c98
Views: Draw autofill popup with 1px thickness.

Seems 1px was already the desired thickness, we were just using the wrong Canvas call.

BUG=403600

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

Cr-Commit-Position: refs/heads/master@{#289831}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289831 0039d316-1c4b-4281-b951-d872f2087c98
Remove requirement that bisects for perf trybots specify a metric.

BUG=401180

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

Cr-Commit-Position: refs/heads/master@{#289832}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289832 0039d316-1c4b-4281-b951-d872f2087c98
Fix unpacked extension link to open pop-up in front of browser

BUG=400109

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

Cr-Commit-Position: refs/heads/master@{#289833}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289833 0039d316-1c4b-4281-b951-d872f2087c98
Support intermediate certificates for OpenSSL client auth.

Change the client auth callback to the 'cert_cb' callback which leaves the
callback in charge of installing the certificate, private key, etc. This lets
us attach a certificate chain.

BUG=393323

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

Cr-Commit-Position: refs/heads/master@{#289834}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289834 0039d316-1c4b-4281-b951-d872f2087c98
Add a flag to enable remote CoreAnimation API.

A follow-on patch will switch this flag to be enabled by default.

BUG=312462
TBR=kbr
R=sky

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

Cr-Commit-Position: refs/heads/master@{#289835}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289835 0039d316-1c4b-4281-b951-d872f2087c98
Rename GeolocationProviderImpl unittest file to match what it tests.

It tests geolocation_provider_impl.{h,cc}

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

Cr-Commit-Position: refs/heads/master@{#289836}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289836 0039d316-1c4b-4281-b951-d872f2087c98
Move script_executor.* to extensions/browser

This CL abstracts the dependence of ScriptExecutionObserver on
TabHelper through the introduction of ScriptExecutionObserver::Delegate
and then moves the script_executor files.

BUG=352290

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

Cr-Commit-Position: refs/heads/master@{#289837}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289837 0039d316-1c4b-4281-b951-d872f2087c98
Spin-off the DisplayInfoProvider implementation

Now is up to the component embedding the SystemInfo API to implement
the DisplayInfoProvider. The motivation for this change is we want to
move the SystemInfo API to extensions/ but DisplayInfoProvider depends
on ash/, which will link with ui/views/, that is way too big.

The ultimate goal is to have SystemInfo on the app_shell without increasing its
footprint considerably.

BUG=392842