Deleted experimental.discovery API from the code base

The only use of the API was in chrome/browser/ui/webui/ntp which
combined the suggestions from the discovery API with others.

Also removed the documentation from the docserver, and bumped the yaml
versions.

BUG=304834

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245056 0039d316-1c4b-4281-b951-d872f2087c98
Resubmit of imageWriterPrivate.destroyPartitions

Previous CL: https://codereview.chromium.org/109793006/

BUG=328246

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245059 0039d316-1c4b-4281-b951-d872f2087c98
Handle automatic updates of cached ephemeral apps

Fixed a few issues that occur when cached ephemeral apps are
automatically updated by the extension system:
- The new version of the app should also have the ephemeral flag
enabled. Previously, the flag was switched off, causing the app to
be installed on update.
- Prompt on next launch if the new version requests more permissions.
- Ensure that notifications do not appear in the UI if a cached
ephemeral app is updated and requests more permissions.

BUG=312460
TEST=browser_tests (EphemeralAppBrowserTest.*)

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245060 0039d316-1c4b-4281-b951-d872f2087c98
Support calling setMetaData after start for WebRTC logging.

Patch set 5 credits to vrk@.

BUG=332190

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245062 0039d316-1c4b-4281-b951-d872f2087c98
Disable experimental tryserver builders.

They may be putting too much load on the tryserver.

TBR=joi

BUG=317931, 334681

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245063 0039d316-1c4b-4281-b951-d872f2087c98
Don't crash the renderer if there is an error on runtime.sendMessage from a
hosted app context. The crash comes from us trying to set runtime.lastError
which isn't available to hosted apps. This makes it available to hosted apps.

BUG=326250
R=yoz@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245065 0039d316-1c4b-4281-b951-d872f2087c98
Draw Views Textfield cursors above placeholder text.

Currently the cursor (black) renders under the placeholder text (gray).
This looks odd, so I flipped the painting order and did minor cleanup.
See before/after pictures at http://crbug.com/131660#c85

BUG=131660
TEST=Textfield cursors render over placeholder text.
R=oshima@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245066 0039d316-1c4b-4281-b951-d872f2087c98
Cleanup: Remove unneeded resources from ash/

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245067 0039d316-1c4b-4281-b951-d872f2087c98
Merge latest ChromeVox from upstream.

This merge picks up some bug fixes. Please see upstream logs for further details.

Of note is a fix for input fields as of Chrome 33. There are also fixes for braille panning, command presentation, braille spacing, pass through mode, and fixes for native Chrome OS tree views.


BUG=329641
TEST=Manual.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245068 0039d316-1c4b-4281-b951-d872f2087c98
Omnibox: Reduce Bolding Flicker in SearchProvider

This code extends the code from
https://codereview.chromium.org/23164011/
that prevents query suggestions from flipping highlighting state too
dramatically as the user types to prevent the analogous situation happening
to navigation suggestions.

The analogous situation is less obvious.  When query suggestions flip state,
they go from partially bolded to total bolded.  When navigation suggestions
flip state, they go from partially bolded to not bolded at all.  This is
probably still worth fixing, though it's much less significant.  On the
other hand, if you think the code is too complicated, then maybe we shouldn't
bother?

In particular, this change:
* Moves match_contents_ and match_contents_class_ from SuggestResult to
  the base class Result.
* Adds code to NavigationResult to populate these fields.  The majority of
  this code is a simple copy-paste or cut-paste from elsewhere in this
  file.  There's obviously some additional code here to deal with the
  parameter |allow_bolding_nothing|.
* Adds drops of code in various places to pass the user's accept language
  settings around, which are used to decide what and how to display URLs.
* Revises the appropriate call to UpdateMatchContentsClass().

For reference, an earlier tentative changelist fixed both query suggestions
and navigation suggestion at the same time.  If you care to look at it, it's
patchset 4 of https://codereview.chromium.org/23164011/#ps26001
(Or you can take my word that incorporate the comments from that
changelist as best as possible.)

BUG=259486

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245069 0039d316-1c4b-4281-b951-d872f2087c98
Move webview and web_accessible_resources manifest handlers to src/extensions

This is a mechanical change -- these classes have no Chrome dependencies.
This is a step toward moving extension_protocol.h, which is needed for
app_shell.

BUG=none
TEST=compiles, unit_tests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245070 0039d316-1c4b-4281-b951-d872f2087c98
Pass MIME type parameter for EME WD 'needkey'

Pass the MIME type of the media data so that it is available in the EME WD
'needkey' event.

BUG=224786

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245071 0039d316-1c4b-4281-b951-d872f2087c98
Windows: only change default menu item if available.

Some window can not be maximized. We should not make
'Maximize' the default menu item for them.

BUG=333146
TEST=Open a window inside Chrome that can not be maximized,
for example, the "Report an issue" window in "About Chrome".
The menu in the title bar should not have "Maximize" in bold.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245072 0039d316-1c4b-4281-b951-d872f2087c98
Enable immersive fullscreen for non-browser windows by default.

BUG=334473
TEST=None
R=jamescook
TBR=benwells (For trivial refactor in chrome/browser/ui/views/apps/native_app_window_views.cc)

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245075 0039d316-1c4b-4281-b951-d872f2087c98
Don't enable app shims in tests. (Mac)

This causes problems for try bots as the app shims cannot connect to
the test chrome processes. Also are created in user-local (rather than
test-local) locations.

BUG=334079

TEST=Tests that install apps (e.g.PlatformAppBrowserTest) should
not create app shims (in ~/Applications/Chromium Apps/).

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245076 0039d316-1c4b-4281-b951-d872f2087c98
[Android] Remove EMMA coverage html directory after upload.

BUG=334319
NOTRY=True

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245077 0039d316-1c4b-4281-b951-d872f2087c98
Cleanup: Remove unused IDR entries from build/ios/grit_whitelist.txt.

NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245078 0039d316-1c4b-4281-b951-d872f2087c98
Add Clipboard::GetSequenceNumber test and fix Android.

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245079 0039d316-1c4b-4281-b951-d872f2087c98
Fix NetworkSMSHandler to use DBus service name instead of connection.

The 'DBus.Connection' property of a shill cellular device object is
deprecated. This CL fixes NetworkSMSHandler to use the DBus service
name, obtained from the 'DBus.Service' property of a shill cellular
device object, to create a DBus object proxy that interacts with a modem
object managed by cromo or ModemManager.

BUG=334337
TEST=Tested the following:
1. Run chromeos_unittests.
2. Send a SMS to a E936 modem, which is managed by cromo, and verify
   that Chrome pops up a notification of the received SMS.
3. Repeat (2) using a MU736 modem, which is managed by ModemManager.
4. Repeat (2) using a pseudomodem.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245080 0039d316-1c4b-4281-b951-d872f2087c98
Retrieve the authenticated user's e-mail from GAIA during SAML login

When using SAML, the e-mail address typed into the GAIA login form and
the e-mail address of the user who actually ends up authenticating may
not match. This CL ensures that the correct e-mail address gets used by
querying GAIA for the authenticated user's e-mail instead of using the
e-mail obtained from the GAIA login form.

BUG=332132
TEST=New browser test

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

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