Revert 202188 "Introduce content::PageState."

This change bloated npchrome_frame.dll (see
http://build.chromium.org/f/chromium/perf/xp-release/sizes/report.html?=undefined&history=3&rev=202214&graph=npchrome_frame.dll)
because content_common.lib's common_param_traits.obj depends on
content_common.lib's page_state.obj which, in turn, depends on
webkit. This means that consumers of IPC messages in content_common
suddenly require all of webkit.

> Introduce content::PageState.
> 
> This is a concrete class wrapping a string that contains the
> data of a serialized WebKit::WebHistoryItem class.  Previously,
> we've just passed around these as strings, giving them names
> like "state", "content_state" or "history_state".  It has been
> hard to identify all of the places in the code where these
> strings get passed around.  A concrete class should make usage
> more apparent.  Plus, instead of manipulating the strings using
> methods from webkit/glue/glue_serialize.h, we can just declare
> methods on the PageState class.  This makes the code much cleaner.
> 
> This first pass just implements PageState in terms of glue_serialize.
> It also adds content/public/renderer/history_item_serialization.h
> as the home for PageState to WebKit::WebHistoryItem conversion,
> which should ideally only be usable from the renderer process.
> (This bit is a step toward resolving bug 237243.)
> 
> page_state.h declares operator==() to support DCHECK_EQ, which
> seems consistent with the idea of PageState being a replacement
> for std::string.  I didn't want to litter tests with calls to
> PageState::ToEncodedData().  That would get cumbersome.
> 
> BUG=240426
> R=brettw@chromium.org, tsepez@chromium.org
> 
> Review URL: https://codereview.chromium.org/14985014

TBR=darin@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202321 0039d316-1c4b-4281-b951-d872f2087c98
Implement chrome.runtime.setUninstallUrl.
Continued from https://codereview.chromium.org/10825265/

BUG=84556

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202322 0039d316-1c4b-4281-b951-d872f2087c98
Add Create() function to AudioCodecBridge and VideoCodecBridge to allow return of null pointers

If codec is not supported, we should allow null pointers to be returned when trying to create a MediaCodecBridge.

BUG=233420

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202323 0039d316-1c4b-4281-b951-d872f2087c98
Set toolbar model to support extraction of url like search terms

Currently on mixed content pages on ToT getSearchTermsforCurrentTab returns an empty string because we do not set the toolbarModel to support url like terms. Now that we have landed an Android side change with a UI for showing mixed content pages, we need this call to return the extracted search terms. So setting this flag and avoiding the early return. 

TEST: Use any search query to search for images and then click on one of the images. 
-Before this change: Omnibox switches to showing url with yellow padlock
-After this change: Omnibox switches to showing query with yellow padlock
BUG=239602

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202324 0039d316-1c4b-4281-b951-d872f2087c98
Part 2/3 (GL) of adding with device scale factor to transport surfaces

Add a scale factor argument to glResizeCHROMIUM.

Pass the scale factor on to the resize callback in ImageTransportSurface,
and drop it on the floor there.

BUG=132714
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202325 0039d316-1c4b-4281-b951-d872f2087c98
Refactors landscape out of print ticket store.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202326 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 151148:151154

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=151149:151154&mode=html
TBR=
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202327 0039d316-1c4b-4281-b951-d872f2087c98
app_list: Search result launch history and boost.

- Add a History PKS for search history recording and serving;
- Add a HistoryData to maintain an in-memory data structure for serving
  History request. It remembers search result launches and associates
  them with the query being used and also provides hint for future queries
  using the remembered data;
- Add a HistoryDataStore to persist data;

BUG=187809

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

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

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

Have the bottom margin of the print preview dialog be the same as
the side margins (25 pixels).

BUG=243275

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202330 0039d316-1c4b-4281-b951-d872f2087c98
Adding ability to list all of the tokens in the Identity API cache and expose expiration time of the token

BUG=243143

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202331 0039d316-1c4b-4281-b951-d872f2087c98
cros: Exclude user has synced app pins from default pin trial.

- Add helper methods to PrefServiceSyncable to figure out whether a pref
  is pulled from sync;
- Use the helper to exclude users that has synced app pins from trial;

BUG=234415

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202332 0039d316-1c4b-4281-b951-d872f2087c98
Renames Rename CalculateOffsetToAncestorWithLayer() to GetLayer().
Refactors View::ReorderLayers() so that it does not call into the widget anymore.

Bug=237650
Test=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202333 0039d316-1c4b-4281-b951-d872f2087c98
Fix several audio issues:
1. Audio button on ash tray UI does not work when user toggles it.
2. On ash tray bubble, if audio is muted, when user moves slider, audio is not unmuted.
3. Change CrasAudioHandler to update audio state, preference and notify observers for audio state change when user call CrasAudioHandler APIs to change the audio state, not when the dbus signals are received.
4. Move the code for adjusting unmute output volume to minimum unmute level out of SetOutputMute, and it is up to user to decide if they can call AdjustOutputVolumeToAudibleLevel to adjust the volume.
5. This also make the volume bubble shows up each time user presses mute, volume up, volume down button even if there is no audio state changes.

BUG=242549,242964
TBR=jamescook@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202334 0039d316-1c4b-4281-b951-d872f2087c98
[NaCl SDK] Add keyboard interrupt handlers for python scripts

This means that users (and developers) who hit ctrl-C
while running out scripts don't see ugly python backtraces
and get exposed to implementation details.

Also, fix inconsisency in download.py regarding the progess
callback.

BUG=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202335 0039d316-1c4b-4281-b951-d872f2087c98
ui: Make dalvik_limit static so that its value is cached across calls

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202336 0039d316-1c4b-4281-b951-d872f2087c98
Call CreateDefaultOrdinals() when needed, instead of on construction

This is not a complete fix, but it appears to be safe and will make 
it much less likely for this to crash while we consider a more complete
solution.

BUG=243773
For browser/extensions:
TBR=asargent@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202337 0039d316-1c4b-4281-b951-d872f2087c98
gpu: Increase thread priority for waited-on uploads.

The threading waiting on the uploads is a display thread,
so we should increase the priority to display, not normal.

BUG=243923

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202338 0039d316-1c4b-4281-b951-d872f2087c98
Better workaround for extension browser test problems on win debug bots

Instead of trying to fake out gtest output and exiting, just return true
in RunExtensionSubTest.

TBR=shess@chromium.org,mpcomplete@chromium.org

BUG=177163

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202339 0039d316-1c4b-4281-b951-d872f2087c98
Move webkit/gpu into webkit/common/gpu

The code in webkit/gpu is needed everywhere the compositor is used, which means
both renderer and browser processes. This is a bit of a bummer but hard to fix
immediately since the compositor uses WebKit::WebGraphicsContext3D. webkit/gpu
itself only depends on the context type (which is just a vtable) and a couple
exported functions from WebString, so it's not the end of the world to have it
linked into every process. This moves the code into webkit/common/ to make this
clearer.

R=piman, joth
BUG=237267

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

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