Incrementing VERSION to 32.0.1700.58

git-svn-id: svn://svn.chromium.org/chrome/branches/1700/src@240191 0039d316-1c4b-4281-b951-d872f2087c98
Merge 237531 "Fix DesktopCaptureDevice to handle inverted frames."

> Fix DesktopCaptureDevice to handle inverted frames.
> 
> Previously DesktopCaptureDevice was passing inverted frames to
> OnIncomingCapturedFrame() as is, and it would crash the browser.
> 
> BUG=306876
> 
> Review URL: https://codereview.chromium.org/77623002

TBR=sergeyu@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/branches/1700/src@240220 0039d316-1c4b-4281-b951-d872f2087c98
Merge 236159 "[osx] Whitelist NSException thrown by system on Ma..."

> [osx] Whitelist NSException thrown by system on Mavericks.
> 
> During background processing to extract an address term from text
> (probably), nil is being passed as the string to process.  Hilarity
> ensues.
> 
> Additionally, add histograms to track when special cases are firing.
> 
> BUG=316759
> 
> Review URL: https://codereview.chromium.org/76513003

TBR=shess@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/branches/1700/src@240229 0039d316-1c4b-4281-b951-d872f2087c98
Merge 239508 "Bypass data reduction proxy on 502 responses"

> Bypass data reduction proxy on 502 responses
> 
> BUG=325401
> 
> Review URL: https://codereview.chromium.org/103003002

TBR=bengr@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/branches/1700/src@240230 0039d316-1c4b-4281-b951-d872f2087c98
Merge 239137 "In Metro, send WM_SYSxxx variants when Alt pressed..."

> In Metro, send WM_SYSxxx variants when Alt pressed and faking messages
> 
> This fixes Alt-F or Alt-E to bring up the wrench menu in Metro mode.
> Otherwise, the F as a regular character causes the "&Find..." to be
> immediately selected.
> 
> R=sky@chromium.org
> BUG=321055
> 
> Review URL: https://codereview.chromium.org/105533003

TBR=scottmg@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/branches/1700/src@240232 0039d316-1c4b-4281-b951-d872f2087c98
Incrementing VERSION to 32.0.1700.59

git-svn-id: svn://svn.chromium.org/chrome/branches/1700/src@240233 0039d316-1c4b-4281-b951-d872f2087c98
Merge 236586 "Linux: own the installed .desktop file."

> Linux: own the installed .desktop file.
> 
> This helps to ensure it's correctly removed. postinst/prerm
> is always less reliable than just owning a file.
> 
> BUG=295118, 318548
> R=mmoss@chromium.org, thestig@chromium.org
> 
> Review URL: https://codereview.chromium.org/58843003

TBR=phajdan.jr@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/branches/1700/src@240234 0039d316-1c4b-4281-b951-d872f2087c98
Merge 239596 "[Mac] Prevent inactive pinned tabs from throbbing ..."

> [Mac] Prevent inactive pinned tabs from throbbing continuously when media indicator is on.
> 
> This was caused by TabStripController::setTabTitle() being called repeatedly (i.e., several times per second) while audio is playing.  From there, TabController::setTitle() was being called repeatedly; and, therefore, the alert throbber animation was being repeatedly restarted.
> 
> The short-term solution is to put in a simple check to determine whether the title text has actually changed; and, if not, don't do anything.  In the long term, we need to do a larger clean-up of the Mac tab strip UI to eliminate redundant processing.
> 
> BUG=323042
> R=avi@chromium.org
> 
> Review URL: https://codereview.chromium.org/106983006

TBR=miu@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/branches/1700/src@240236 0039d316-1c4b-4281-b951-d872f2087c98
Merge 239912 "Only move dialogs on BrowserViewLayout::Layout as ..."

> Only move dialogs on BrowserViewLayout::Layout as needed.
> 
> BrowserView layout occurs frequently with unchanged bounds.
> (ex. when the page title changes Widget::UpdateWindowTitle)
> 
> Only update dialog positions on browser layout as needed.
> (ie. when the browser's dialog hosting position changes)
> (this happens very rarely, since most dialogs are modal)
> Make the GetDialogPosition OVERRIDE public, matches decl.
> 
> BUG=305480
> TEST=Modal dialogs do not flicker while dragging during tab load. Load a site that takes a few seconds to finish loading (cnn.com, youtube.com, etc.), open and drag the edit bookmark dialog or edit search engine dialog while the tab is loading, ensure the dialog does not flicker while dragging and is not automatically moved back to its starting position after dragging.
> R=sky@chromium.org
> TBR=ben@chromium.org
> 
> Review URL: https://codereview.chromium.org/111003004

TBR=msw@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/branches/1700/src@240408 0039d316-1c4b-4281-b951-d872f2087c98
Merge 239674 "Fix ExtensionPopup closing for DesktopNativeWidget..."

> Fix ExtensionPopup closing for DesktopNativeWidgetAura.
> 
> On Linux Aura and Windows Aura classic theme, DesktopNativeWidgetAura does not send the expected browser widget [de]activation notifications. Instead, use OnWindowActivated for closing extension popups.
> 
> No CrOS, non-Aura Win, nor Win Aura w/ Aero Glass changes.
> (these configurations are already working as expected)
> 
> Add more Bubble Widget testing, remove disabled test.
> 
> TODO(followup): Fix DesktopNativeWidgetAura activation...
> TODO(followup): Add even more extension popup testing...
> 
> BUG=320889
> TEST=Extension popup bubbles close when clicking the browser window in Windows classic theme (XP styling, not glass). No other behavior changes or regressions (I tested no close on JS alerts from extension popups, no close on inspect popup, expected close on clicking away from the bubble, etc. on Win7 Classic/Basic/Glass, Win8 Desktop/Metro Ash, ChromeOS, Linux Aura).
> R=sky@chromium.org
> 
> Review URL: https://codereview.chromium.org/82123002

TBR=msw@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/branches/1700/src@240424 0039d316-1c4b-4281-b951-d872f2087c98
Merge 239665 "cc: Fix checkboard after a pinch-zoom followed by ..."

> cc: Fix checkboard after a pinch-zoom followed by a scroll.
> 
> It was possible for CleanUpTilingsOnActiveLayer() to remove 
> a tiling that had NON_IDEAL_RESOLUTION in the active layer 
> but LOW_RESOLUTION or HIGH_RESOLUTION in the pending layer. 
> 
> After the pinch-zoom ends ManageTilings for the pending
> layer early-outs because the scale factor stopped changing
> so the low-res tiling never gets added to the layer.
> Without low-res tilings we checkerboard when the page is
> scrolled. With this patch we check the tiling to be removed
> from the active layer is also a NON_IDEAL_RESOLUTION tiling
> in the pending layer to make sure we don't remove
> LOW_RESOLUTION or HIGH_RESOLUTION tiles.
> 
> BUG=319983
> 
> Review URL: https://codereview.chromium.org/100193003

TBR=kaanb@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/branches/1700/src@240431 0039d316-1c4b-4281-b951-d872f2087c98
Merge 238726 "Don't remove service object proxy for '/'"

> Don't remove service object proxy for '/'
> 
> This is a *possible* fix for a crash bug, although it is not clear what would cause a service to have a path of '/'. There should be no harm in adding the extra check.
> 
> BUG=324849
> R=hashimoto@chromium.org, pneubeck@chromium.org
> 
> Review URL: https://codereview.chromium.org/102603003

TBR=stevenjb@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/branches/1700/src@240432 0039d316-1c4b-4281-b951-d872f2087c98
Merge 239106 "Disable the AppKeepAliveService."

> Disable the AppKeepAliveService.
> 
> Keeping Chrome alive while packaged app background pages allowed apps to
> keep the browser process alive with no visible windows or tray icons.
> This disables that keep alive until a decision is reached on how to
> handle app quits in a way that avoids this issue.
> 
> BUG=326040
> 
> Review URL: https://codereview.chromium.org/94113003

TBR=sammc@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/branches/1700/src@240448 0039d316-1c4b-4281-b951-d872f2087c98
Merge 238501 "Attempt to fix audio wedges by restarting all stre..."

> Attempt to fix audio wedges by restarting all streams on OSX.
> 
> Introduces two new methods to AudioOutputDispatcher:
> CloseStreamsForWedgeFix() and RestartStreamsForWedgeFix().
> 
> Respectively, each method closes or restarts all active
> streams owned by a given dispatcher.  The process is
> completely transparent to upstream clients.
> 
> A new method on AudioManager, FixWedgedAudio() calls
> CloseStreamsForWedgeFix() for all dispatchers and then
> calls RestartStreamsForWedgeFix() afterward.
> 
> FixWedgedAudio() is called by each AudioOutputController
> when a wedge is detected.  Multiple in flight wedge checks
> are serialized by the audio thread.  The hope is that wedges
> will be fixed before the next WedgeCheck() fires.
> 
> While the methods are available on all platforms, FixWedgedAudio()
> is only wired up on OSX.
> 
> BUG=160920
> TEST=unittest. fake wedge and observe stream recreation.
> R=scherkus@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238325
> 
> Review URL: https://codereview.chromium.org/61203008

TBR=dalecurtis@google.com

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

git-svn-id: svn://svn.chromium.org/chrome/branches/1700/src@240453 0039d316-1c4b-4281-b951-d872f2087c98

Merge 239342 "Fix double StopStream() calls during wedge fix."

> Fix double StopStream() calls during wedge fix.
> 
> Whoops.  The wedge fix ignored start / stop status when stopping
> streams which leads to heap corruption when the underlying dispatcher
> tries to stop a stream it can't find in the audio stream map.
> 
> BUG=326656
> TEST=new unittest
> NOTRY=true
> 
> Review URL: https://codereview.chromium.org/109113002

TBR=dalecurtis@chromium.org


git-svn-id: svn://svn.chromium.org/chrome/branches/1700/src@240456 0039d316-1c4b-4281-b951-d872f2087c98
Merge 239833 "Handle when service no longer exists during mobile..."

> Handle when service no longer exists during mobile activation.
> 
> When the cellular service no longer exists during mobile activation, a
> NULL |network| is passed to MobileActivator::ChangeState(), which wasn't
> handled properly and led to a crash due to NULL pointer dereference.
> This CL fixes MobileActivator and MobileSetupUI to properly handle a
> NULL |network|.
> 
> BUG=325404
> TEST=Manually tested 3G activation with a Gobi3k modem.
> 
> Review URL: https://codereview.chromium.org/108793002

TBR=benchan@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/branches/1700/src@240468 0039d316-1c4b-4281-b951-d872f2087c98
Merge 236428 "(Android) Hide Other and Desktop bookmarks folders..."

> (Android) Hide Other and Desktop bookmarks folders, if not signed into sync.
> 
> Hides the Other and Desktop folders, if user is not signed in. Also
> fallback to mobile bookmarks folder if user tries to access these
> folders when not signed in.
> 
> BUG=321345
> 
> Review URL: https://codereview.chromium.org/77353002

TBR=cramya@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/branches/1700/src@240499 0039d316-1c4b-4281-b951-d872f2087c98
Merge 238875 "Add null check for SigninManagerFactory::GetForPro..."

> Add null check for SigninManagerFactory::GetForProfile(profile)
> 
> BUG=324862
> 
> Review URL: https://codereview.chromium.org/102033003

TBR=cramya@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/branches/1700/src@240501 0039d316-1c4b-4281-b951-d872f2087c98
Incrementing VERSION to 32.0.1700.60

git-svn-id: svn://svn.chromium.org/chrome/branches/1700/src@240505 0039d316-1c4b-4281-b951-d872f2087c98
Merge 238193 "Add CanCloseDialog to WebDialogDelegate to allow b..."

> Add CanCloseDialog to WebDialogDelegate to allow blocking closing of dialog if needed.
> 
> There are some use cases that we don't allow user to close the web dialog until they have finish the UI flow and confirmed some important information. Currently, WebDialogDelegate can't control the closing of the dialog if user presses the "x" button on dialog title bar or presses Esc shortcut key. I am adding a CanClose() method to allow the subclass to block the dialog close if it needs to do so. 
> 
> BUG=322614
> 
> Review URL: https://codereview.chromium.org/82913007

TBR=jennyz@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/branches/1700/src@240518 0039d316-1c4b-4281-b951-d872f2087c98