summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Restoring a session should restore window minimization state on Windowsdhollowa@chromium.org2011-08-3135-224/+265
| | | | | | | | | | | | | These changes enable save and restore of minimized window state on Windows. (Mac and Linux came prior). The window state is now saved whenever size-changed notifications fire (in addition to the original activation and close cases). BUG=43274 TEST=Manual. Launch Chrome on Windows, create two browser windows, minimize "a" window, quit. Relaunch, expect "a" to be minimized. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98679 Review URL: http://codereview.chromium.org/7748036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99077 0039d316-1c4b-4281-b951-d872f2087c98
* Move Mac-specific tests to content_unittestsphajdan.jr@chromium.org2011-08-312-2/+2
| | | | | | | | | | | Remaining Mac-specific tests are blocked on creating an app bundle for content/ BUG=90443 Review URL: http://codereview.chromium.org/7821009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99076 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a typo of the bug number for PPAPITest.Transport.wtc@chromium.org2011-08-311-1/+1
| | | | | | | | | | R=zea@chromium.org BUG=84294 TEST=none Review URL: http://codereview.chromium.org/7811024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99075 0039d316-1c4b-4281-b951-d872f2087c98
* Fix uninitialized memory.erg@google.com2011-08-311-1/+2
| | | | | | | | | BUG=39916 TEST=none Review URL: http://codereview.chromium.org/7822007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99074 0039d316-1c4b-4281-b951-d872f2087c98
* Add DEPS line for nacl entry points. Checkdeps failed when I updated thebrettw@chromium.org2011-08-311-0/+1
| | | | | | | | path to the new location. The old location was implicitly allowed since nacl was brought in by gclient. Review URL: http://codereview.chromium.org/7823009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99073 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused HtmlDialogUIDelegate::OnWindowClosed()jamescook@chromium.org2011-08-317-21/+1
| | | | | | | | | | | I added this a few months ago while working on the file maanger dialog on CrOS. We no longer use an HtmlDialog for that, and this method doesn't do any actual work anywhere, so clean it up. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/7756012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99072 0039d316-1c4b-4281-b951-d872f2087c98
* Fix path that changed when the native client plugin code was moved.brettw@chromium.org2011-08-311-1/+1
| | | | | | Review URL: http://codereview.chromium.org/7822006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99071 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete TODO and add a bunch of OVERRIDEs.mihaip@chromium.org2011-08-3134-129/+161
| | | | | | | | | R=aa@chromium.org Review URL: http://codereview.chromium.org/7806009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99070 0039d316-1c4b-4281-b951-d872f2087c98
* Converts creation of MenuRunner on the stack to be a field on thesky@chromium.org2011-08-3112-22/+38
| | | | | | | | | | | | | class. This way if class is deleted MenuRunner is deleted too, instead of staying live for a while after the class is deleted. BUG=94915 TEST=none R=ben@chromium.org Review URL: http://codereview.chromium.org/7776033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99069 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Animation When "Resuming" Window in Liondhollowa@chromium.org2011-08-315-26/+42
| | | | | | | | | | | Adds signal to browser that session restore is in progress. When Mac window shows it inhibits animation during session restore. BUG=92984 TEST=Manual. Enable session restore, launch Chrome, observe lack of swoosh animation on Mac. Review URL: http://codereview.chromium.org/7809013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99067 0039d316-1c4b-4281-b951-d872f2087c98
* Update .DEPS.gitchrome-admin@google.com2011-08-311-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99066 0039d316-1c4b-4281-b951-d872f2087c98
* FFmpeg: roll DEPS to include new audio codec for CrOS and apply patches ihf@chromium.org2011-08-311-1/+1
| | | | | | | | | that were previously dropped or modified. http://codereview.chromium.org/7738001/ BUG=crosbug.com/18938 Review URL: http://codereview.chromium.org/7820002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99065 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Hung-renderer dialogs observes the initiating tab in case it goes away.shess@chromium.org2011-08-312-0/+43
| | | | | | | | | | | | | The user can close the tab out from under the dialog, at which point killing from the dialog will cause a crash. BUG=89909 TEST=See bug, monitor crash server. Review URL: http://codereview.chromium.org/7810011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99064 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed bad variable reference.jamiewalch@google.com2011-08-311-2/+2
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7817010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99063 0039d316-1c4b-4281-b951-d872f2087c98
* Moved the following IPC messages used by the chrome NPAPI plugin installer ↵ananta@chromium.org2011-08-3140-226/+309
| | | | | | | | | | | | | | | | | | | | | | | | | | | | out of content into Chrome. 1. PluginProcessHostMsg_GetPluginFinderUrl 2. PluginProcessHostMsg_MissingPluginStatus 3. PluginProcessHostMsg_DownloadUrl These messages are prefixed with Chrome. Removed the InstallMissingPlugin and OnInstallMissingPlugin handlers from the NPAPI plugin sources and from our webkit plugin implementation. The plugin infobar no longer sends over an IPC message to initiate installation of the third party plugin. It sends over a windows message which is handled in the plugin installer for Windows. This functionality is not implemented for the mac and linux as before. To display the plugin installation infobar the PluginProcessHostMsg_MissingPluginStatus message sent by the plugin needs the routing id and the renderer process id. This information is now passed along with the plugin instantiation parameters in NPP_New. These parameters are only read by the default plugin. This is a continuation of the fixes to ensure that IPC's don't span across content and chrome. BUG=87335 Review URL: http://codereview.chromium.org/7812020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99062 0039d316-1c4b-4281-b951-d872f2087c98
* Add ncbray to nacl test OWNERS.ncbray@google.com2011-08-311-0/+1
| | | | | | | | | BUG= none TEST= none Review URL: http://codereview.chromium.org/7822003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99060 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: Don't evict anything for the first fivervargas@google.com2011-08-312-4/+9
| | | | | | | | | | | minutes. Basically, we don't want to do anything that may slow down startup. BUG=none TEST=none Review URL: http://codereview.chromium.org/7765006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99059 0039d316-1c4b-4281-b951-d872f2087c98
* ppapi/native_client/OWNERS: add people who work on plugin/proxy/test code.polina@google.com2011-08-311-0/+6
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7817004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99058 0039d316-1c4b-4281-b951-d872f2087c98
* Base: Switch base_i18n to be a separate dll (component build)rvargas@google.com2011-08-3115-75/+125
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7812009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99057 0039d316-1c4b-4281-b951-d872f2087c98
* Add note about blocking completion callbacks on the main thread.dmichael@chromium.org2011-08-311-4/+7
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7778018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99055 0039d316-1c4b-4281-b951-d872f2087c98
* Add a couple missing trailing periods on various UI messages.gideonwald@chromium.org2011-08-311-2/+2
| | | | | | | | | | BUG=94114 TEST=Verify that the altered UI messages actually do now have trailing periods. Review URL: http://codereview.chromium.org/7761012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99054 0039d316-1c4b-4281-b951-d872f2087c98
* Use POPUP for SAV widget on touch buildoshima@google.com2011-08-311-1/+8
| | | | | | | | | | | Window Manager doesn't know abuot touch event, hence it can't change activation. Use POPUP for touch for now. BUG=none TEST=none Review URL: http://codereview.chromium.org/7819005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99053 0039d316-1c4b-4281-b951-d872f2087c98
* no need to call Close on scoped_ptr<Widget> with WIDGET_OWNS_NATIVE_WIDGET. ↵oshima@google.com2011-08-311-2/+0
| | | | | | | | | | | This was casuing crash on exit. BUG=none TEST=none Review URL: http://codereview.chromium.org/7799017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99052 0039d316-1c4b-4281-b951-d872f2087c98
* Server directed error handling backend code.lipalani@chromium.org2011-08-3118-26/+401
| | | | | | | | | | BUG=94007, 70276 TEST=sync_integration_tests.exe Review URL: http://codereview.chromium.org/7621085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99051 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98716 - Enable Fixed Layout Mode on TOUCH_UI.jam@chromium.org2011-08-312-24/+0
| | | | | | | | | | | | | BUG=none TEST=manually Review URL: http://codereview.chromium.org/7764006 TBR=fsamuel@chromium.org Review URL: http://codereview.chromium.org/7820006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99050 0039d316-1c4b-4281-b951-d872f2087c98
* Fix release build break in chrome_dll_nacl_win64.dlljam@chromium.org2011-08-311-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99048 0039d316-1c4b-4281-b951-d872f2087c98
* Reimplement tool-bar stub using CSS and reduce active area.jamiewalch@google.com2011-08-314-4/+24
| | | | | | | | | BUG=91841, 91842 TEST=Move the mouse around near the tool-bar, and specifically over its shadow. It should not reveal until you mouse-over the tool-bar itself. Review URL: http://codereview.chromium.org/7819003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99046 0039d316-1c4b-4281-b951-d872f2087c98
* Correct code for disconnecting network service monitorstevenjb@google.com2011-08-311-1/+2
| | | | | | | | | BUG=chromium-os:19857 TEST=Test network menu, icons, settings page. Ensure information updates correctly when networks are disconnected, change signal strength, etc. Review URL: http://codereview.chromium.org/7785019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99045 0039d316-1c4b-4281-b951-d872f2087c98
* [cros] No need to explicitly start extension event routers during login.nkostylev@chromium.org2011-08-311-8/+0
| | | | | | | | | | | | After http://codereview.chromium.org/7400003 extension event routers are started on each Profile load. BUG=84059 TEST=Manual. HelpApp (ext) working on login, extension work ok when logged in. Review URL: http://codereview.chromium.org/7778044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99041 0039d316-1c4b-4281-b951-d872f2087c98
* Fix IPC OnChannelConnected() to send correct PID on Linux/CrOSjamescook@chromium.org2011-08-314-6/+63
| | | | | | | | | | | | | | | | | | | | Sandboxed renderers on Linux/CrOS are in a PID namespace, so they don't know their own global PID. Thus the PID sent in the IPC channel Hello message contains an unexpected value, which is used in the OnChannelConnected() callback into chrome. This causes problems like the Task Manager not showing any data for FPS, JavaScript memory and image cache memory. The task manager is attempting to use the PID/process handle from BrowserMessageFilter, which got it from IPC::Channel::Listener::OnChannelConnected(), and it doesn't match the global PID of each renderer. BUG=70179 TEST=manual, open a few tabs, then open task manager, right-click to turn on JavaScript memory and image memory. Verify there are non-zero values for FPS, JavaScript memory, image cache memory Review URL: http://codereview.chromium.org/7778031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99040 0039d316-1c4b-4281-b951-d872f2087c98
* Retry for the following: Web Intent Picker UI (implemented as a constrained ↵binji@chromium.org2011-08-3118-0/+1093
| | | | | | | | | | | | | dialog, linux only) original code review: http://codereview.chromium.org/7648061/ BUG=none TEST=WebIntentPickerControllerTest.* Review URL: http://codereview.chromium.org/7811008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99038 0039d316-1c4b-4281-b951-d872f2087c98
* Include Mac Panels when cycling through windows using Cmd-~.jennb@chromium.org2011-08-311-0/+15
| | | | | | | | | BUG=None TEST=Manual. Open Chrome with several windows and Panels. Cycle through all using Cmd-~. Review URL: http://codereview.chromium.org/7790008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99037 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a static initializer in the HQP.pkasting@chromium.org2011-08-313-28/+23
| | | | | | | | BUG=94925 TEST=none Review URL: http://codereview.chromium.org/7740071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99036 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed stencil Test example. Writing to stencil buffer was getting disabled ↵alokp@chromium.org2011-08-312-0/+2
| | | | | | | | after the first frame. Review URL: http://codereview.chromium.org/7740058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99035 0039d316-1c4b-4281-b951-d872f2087c98
* Add more testing to Graphics3Dnfullagar@google.com2011-08-312-16/+42
| | | | | | | | | | | | | | | Individual tests for glInitializePPAPI glTerminatePPAPI Wait for compleation of all pending swap buffers Small, very simple performance test. BUG= none TEST= this CL is the test. Review URL: http://codereview.chromium.org/7805001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99034 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Clean up the gtk extension infobar implementation.erg@google.com2011-08-318-30/+197
| | | | | | | | | | | | | | | - Add the extension menu button. - Normalize on the gray extension infobar colors (and always force UI elements inside the infobar to be in chrome-theme mode instead of gtk-theme mode). - Fix ownership issues (so GtkContainers didn't still think they owned their widgets even after they had been unparrented). BUG=39916 TEST=none Review URL: http://codereview.chromium.org/7809007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99033 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify chrome_exe_main_*.cc, moving as much of the code out as possible. ↵jam@chromium.org2011-08-3114-111/+59
| | | | | | | | This is in preparation for moving the code in ChromeMain (and associated platform files) to a common place that can be used by both chrome and other embedders of content (i.e. content_shell). Included is a change to make the sandbox code not need an AtExitManager. This is necessary because content_shell would be just one exe, and we'd need to initialize the sandbox before calling ChromeMain, which is what would creat AtExitManager.I removed the code that printed the tcmalloc stacks in the OOM handler (i.e. r33993) under Windows. The issue is I wanted to move the OOM handling code to base to match the other platforms (in a long string of changes to make the startup code more sane, so I can share it with a browser built over content). When I tried moving the tcmalloc code to base, then I ran into a bunch of linker errors because a bunch of targets that depend on base don't depend on allocator. When I tried to add that to base, I ran into strange gyp errors (see patchset 2). I asked Jim/Eric and they said they don't use this data from dumps, and that most of the OOM minimdumps are in v8 heap anyways. When James get back, if he still uses this I can figure out how to put this back.BUG=90445 Review URL: http://codereview.chromium.org/7810005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99032 0039d316-1c4b-4281-b951-d872f2087c98
* Add ruby to the list of build dependencies so that WebKit's pretty diff utilityabarth@chromium.org2011-08-311-1/+1
| | | | | | | works on the buildbots. Review URL: http://codereview.chromium.org/7809024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99031 0039d316-1c4b-4281-b951-d872f2087c98
* Stop forward declaring WebKitClient.abarth@chromium.org2011-08-311-1/+1
| | | | | | | | | This forward declaration causes problems for the WebKitClient -> WebKitPlatformSupport rename. I'll change this back to a forward declaration once the rename is done. Review URL: http://codereview.chromium.org/7820001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99030 0039d316-1c4b-4281-b951-d872f2087c98
* Wrap Lock in a LazyInstance.backer@chromium.org2011-08-311-2/+3
| | | | | | | | | | | This guarantees that the Lock constructor is not called until the Lock is needed. Previous code called the Lock constructor on process startup. BUG=none TEST=3D CSS on TOUCH_UI Review URL: http://codereview.chromium.org/7812034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99029 0039d316-1c4b-4281-b951-d872f2087c98
* Fix uninitialized variable in BookmarksHandler (valgrind detected)csilv@chromium.org2011-08-312-8/+1
| | | | | | | | BUG=94664 TEST=Valgrind is happy Review URL: http://codereview.chromium.org/7776037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99028 0039d316-1c4b-4281-b951-d872f2087c98
* Inline install dialog resources.mihaip@chromium.org2011-08-316-0/+5
| | | | | | | | TBR=asargent@chromium.org Review URL: http://codereview.chromium.org/7756005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99027 0039d316-1c4b-4281-b951-d872f2087c98
* Use PluginPrefs in PluginDataRemover::IsSupported.bauerb@chromium.org2011-08-316-24/+24
| | | | | | | | | | | | With the migration of plugin state to be per-profile, the availability of a plug-in implementing NP_ClearSiteData is also per-profile, so it's cached in the preferences instead of Local State now. BUG=80794 TEST=none Review URL: http://codereview.chromium.org/7791027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99026 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure to re-index the page after a redirect.bryner@chromium.org2011-08-312-5/+36
| | | | | | | | | | | | The code used to assume that reindexing was only needed if the page id had changed, but that doesn't work in the case of a redirect. If the page id is unchanged, we'll now check the toplevel URL and reindex if it has changed. BUG=80742 TEST=none Review URL: http://codereview.chromium.org/7744042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99025 0039d316-1c4b-4281-b951-d872f2087c98
* browser: Remove unused v8 include from memory_purger.cctfarina@chromium.org2011-08-311-1/+0
| | | | | | | | | | | BUG=None TEST=None R=pkasting@chromium.org Review URL: http://codereview.chromium.org/7785022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99024 0039d316-1c4b-4281-b951-d872f2087c98
* Print Preview: Make BackgroundPrintingManager a bit more readable. (no ↵thestig@chromium.org2011-08-315-34/+38
| | | | | | | | | | functionality change) BUG=none TEST=none Review URL: http://codereview.chromium.org/7809006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99023 0039d316-1c4b-4281-b951-d872f2087c98
* gtk: eliminate extra map from XID to browser windowevan@chromium.org2011-08-314-31/+33
| | | | | | | | | | | | GTK already maintains a map from XID to GdkWindow*, and from there we can follow pointers to get the pointer we want. Eliminate this redundant (statically-initialized) map. TEST=tab dragging between windows still works Review URL: http://codereview.chromium.org/7794012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99022 0039d316-1c4b-4281-b951-d872f2087c98
* Unreviewed typo fix in previous CL.agl@chromium.org2011-08-311-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99021 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing test files to content_unittests.phajdan.jr@chromium.org2011-08-312-0/+17
| | | | | | | | | | | | Detected by Allan Wojciechowski (allanwoj). TBR=jam BUG=90443 Review URL: http://codereview.chromium.org/7812031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99020 0039d316-1c4b-4281-b951-d872f2087c98
* renderer/extensions: Fix a comment referring to CreateExternalArray.tfarina@chromium.org2011-08-311-2/+2
| | | | | | | | | | | | | | | | | And while I'm here, improve the declaration and initialization of bitmap_array. v8::Array::New returns Array* so declare v8::Local<T> as v8::Array not v8::Object. This works until now because v8::Array inherits from v8::Object and thus is a subclass of it. BUG=None TEST=None R=mnaganov@chromium.org Review URL: http://codereview.chromium.org/7811003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99018 0039d316-1c4b-4281-b951-d872f2087c98