summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Run the DOM Storage layout tests in the UI test framework since the test ↵jorlow@chromium.org2009-08-058-288/+393
| | | | | | | | | | | | | | | shell doesn't hit very much of the new code. I still plan to write unit tests and we're still goign to enable the layout tests in test shell, but this is still a good way for us to test the full stack ASAP. Workers has used this technique for a while now. This CL factors out the layout test running code from the workers ui test and moves arounds directories a bit so not everything is in the "workers" directory. Doing this via a v8 extension is the right way to go long term, but I ran into a couple snags, so I think this is a good first step. TEST=none BUG=none Review URL: http://codereview.chromium.org/159720 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22466 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION build from 197.0 to 198.0mal@chromium.org2009-08-051-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22465 0039d316-1c4b-4281-b951-d872f2087c98
* Use the theme ID as as the cache-buster, making subsequent NNTP loads much ↵glen@chromium.org2009-08-051-2/+3
| | | | | | | | | | | faster. BUG=18427 TEST=Install a few themes, verify that the NNTP never gets out of sync with the installed theme. Review URL: http://codereview.chromium.org/159900 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22462 0039d316-1c4b-4281-b951-d872f2087c98
* Make the DOMUIThemeSource load and pass through a PNG, rather than relying ↵glen@chromium.org2009-08-054-24/+37
| | | | | | | | | | | on decode/encode. BUG=18427 TEST=Install a giant theme, load the NNTP, verify that you can type in the omnibox without delay while the page is loading. Review URL: http://codereview.chromium.org/159891 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22457 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: forward --log-level from the browser to the zygote.mdm@chromium.org2009-08-052-1/+19
| | | | | | | | | BUG=none TEST=pass --log-level=0 on startup, the setting will now be used in the renderers Review URL: http://codereview.chromium.org/159881 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22455 0039d316-1c4b-4281-b951-d872f2087c98
* Add files to browser/sync and tweak includes.tim@chromium.org2009-08-0543-21/+8316
| | | | | | | | | | | | | Create browser/sync/glue and /engine. Create sync watchlist and add a few folks. No GYP change here so no build changes should occur. chrome.gyp CL is coming shortly, as well as live_sync tests. Review URL: http://codereview.chromium.org/160598 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22454 0039d316-1c4b-4281-b951-d872f2087c98
* This CL is doing a bunch of Misc work to make LocalStorage data persist.jorlow@chromium.org2009-08-059-18/+55
| | | | | | | | | | | | | | | | | | | First of all, this allows WebKit clients to specify whether or not the VFS should be used. In the browser process, we never want it to be. Next, this allows WebKit clients to specify the behavior of WebKit's FileSystem code. By default, they should all be NOT_REACHED(). The browser process implements the two of these I need for LocalStorage, but it'll be really easy for the rest to be implemented as needed. Next, this adds a function that storage routines can call to ensure that lazily initialized stuff that must be initialized on the main WebKit thread is initialized. Right now, this is just used to initialize the UTF8 conversion tables, but I'm sure there'll be more overt time. Lastly, this uses the profile directory stored by webkit_context_ to derive the path LocalStorage should use. This CL also cleans up a few minor style issues as it goes. TEST=none BUG=4360 Review URL: http://codereview.chromium.org/159778 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22452 0039d316-1c4b-4281-b951-d872f2087c98
* Support for referenced schema types in json_schema.rafaelw@chromium.org2009-08-054-3/+118
| | | | | | | | Schema types can be referenced with "$ref" to either internal types or explicitly added types via addTypes() that define their typename via an "id" property. Review URL: http://codereview.chromium.org/159868 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22451 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 22401.thakis@chromium.org2009-08-051-5/+5
| | | | | | Review URL: http://codereview.chromium.org/159893 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22450 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 22418.avi@chromium.org2009-08-052-213/+142
| | | | | | | TBR=mmoss Review URL: http://codereview.chromium.org/159892 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22449 0039d316-1c4b-4281-b951-d872f2087c98
* Undo my bonehead mistake of checking in a modification to theaa@chromium.org2009-08-051-6/+0
| | | | | | | | hardcoded theme gallery URL. Review URL: http://codereview.chromium.org/159888 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22448 0039d316-1c4b-4281-b951-d872f2087c98
* Unpack extensions in-process in --single-process mode.mpcomplete@chromium.org2009-08-041-1/+3
| | | | | | | | | TEST=no BUG=no Review URL: http://codereview.chromium.org/159833 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22447 0039d316-1c4b-4281-b951-d872f2087c98
* linux: yet more polish for the new toolbar graphicsevan@chromium.org2009-08-042-2/+12
| | | | | | Review URL: http://codereview.chromium.org/159885 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22444 0039d316-1c4b-4281-b951-d872f2087c98
* Make extensions in the extension shelf render their content to a visible GTKphajdan.jr@chromium.org2009-08-044-16/+24
| | | | | | | | | | | widget. TEST=none http://crbug.com/16759 Review URL: http://codereview.chromium.org/160610 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22439 0039d316-1c4b-4281-b951-d872f2087c98
* GTK Theme: Fix location bar display on popup windows.erg@google.com2009-08-041-3/+5
| | | | | | Review URL: http://codereview.chromium.org/159879 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22437 0039d316-1c4b-4281-b951-d872f2087c98
* Adding two new windows configuration types:bradnelson@chromium.org2009-08-041-0/+26
| | | | | | | | | | | | | | | | | Purify Release - no tcmalloc This is done more pedantically than I'd like, so I've left in some TODOs. Eventually either gyp needs to support some notion of inheritance in configurations, or maybe we can make clever use of includes. BUG=None TEST=None Review URL: http://codereview.chromium.org/159362 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22433 0039d316-1c4b-4281-b951-d872f2087c98
* Better match IE's proxy settings.ericroman@google.com2009-08-041-1/+5
| | | | | | | | | | | | | | | | * When BOTH autodetect and custom PAC script are given, try both. * Use successful PAC parsing as the heuristic for determining when a script is valid (rather than first-request). * Only apply the proxy bypass list when using non-PAC. The high level explanation on how this works: http://sites.google.com/a/chromium.org/dev/developers/design-documents/proxy-settings-fallback BUG= http://crbug.com/18271, http://crbug.com/9985 TEST=unit tests. Review URL: http://codereview.chromium.org/160510 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22430 0039d316-1c4b-4281-b951-d872f2087c98
* NNTP: Update the position of the option menu.arv@google.com2009-08-041-3/+3
| | | | | | | | | | | | I forgot this one in issue 159817 BUG=17944 TEST=Open the option menu. It should be placed just below the button. Review URL: http://codereview.chromium.org/160606 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22428 0039d316-1c4b-4281-b951-d872f2087c98
* posix: remove unused ie7_logins database tableevan@chromium.org2009-08-041-1/+8
| | | | | | | | | | This will remain in existing users' profiles, but whatever. BUG=17268 Review URL: http://codereview.chromium.org/159870 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22425 0039d316-1c4b-4281-b951-d872f2087c98
* The initial registration of the browser accelerators for toolkit_views was ↵jcampan@chromium.org2009-08-045-17/+132
| | | | | | | | | | | | | | sharing the accelerator table withe the GTK implementation. It was missing some accelerators that are not defined in the table but in standard_menus.cc. Turns out it's probably easier for toolkit_views and Gtk not to share that accelerator map. I reverted the Gtk browser view to use a non shared accelerator table, and moved the accelerator table file to be toolkit_views specific. BUG=None TEST=Run Chrome (toolkit_views). Make sure accelerators (such as Ctrl-T, Ctrl-N...) work Review URL: http://codereview.chromium.org/160544 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22423 0039d316-1c4b-4281-b951-d872f2087c98
* Activate scrollbars (etc.) upon selecting a tab.avi@chromium.org2009-08-041-1/+5
| | | | | | | | | | | | | | | | | | | (Conceivably, the SetActive() could be pushed into the RWHV's DidBecomeSelected(). Conceivably, one could imagine selection without activation, so I chose to put it closer to the UI side of the code in the TabContents. Hmmm. Maybe we should also put in the RWHV::SetActive() method on all platforms.) Patch by viettrungluu. BUG=http://crbug.com/18262 TEST=Make your browser window really small, create new tabs, switch between them. Review URL: http://codereview.chromium.org/160505 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22422 0039d316-1c4b-4281-b951-d872f2087c98
* Keep scrollbars (etc.) active upon pulling down menu extra.avi@chromium.org2009-08-041-0/+7
| | | | | | | | | | | | | | Patch by viettrungluu. BUG=http://crbug.com/17990 TEST=Go to a window with scrollbar and pull down menu extra; also check what happens when moving around between different apps and different Chromium windows. Review URL: http://codereview.chromium.org/159864 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22421 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Make folder tree views expand columns properly, also refactor the code ↵estade@chromium.org2009-08-044-30/+27
| | | | | | | | | | into one common location BUG=18276 Review URL: http://codereview.chromium.org/160603 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22420 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: implement bookmark manager copy/paste.estade@chromium.org2009-08-045-50/+104
| | | | | | | | | | | | - Refactor bookmark util clipboard code to be cross platform. - Add a CBF_DATA format for writing arbitrary data to the clipboard. - Change MenuGtk so that showing a menu only makes the menu items update asynchronously. This way we can show the menu immediately and we won't get in trouble if the delegate's IsCommandEnabled() runs a nested message loop. I did not do any mac-side implementation of the new clipboard stuff. The implementation should be easy when they get around to writing the bookmark manager. Review URL: http://codereview.chromium.org/159815 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22419 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite gyp rules with helper script to generate all langpaks on Linux.mmoss@chromium.org2009-08-042-142/+213
| | | | | | | | | crbug.com/14790 Review URL: http://codereview.chromium.org/149781 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22418 0039d316-1c4b-4281-b951-d872f2087c98
* Disable input events when a JS dialog is showing.tc@google.com2009-08-044-1/+31
| | | | | | | | | | | | | | | | Prior to this patch, you could still send input events and they would get queued in the renderer to be handled after the JS dialog was dismissed. This makes our behavior more like other browsers. This also works around a linux/mac bug where the hung renderer dialog would appear when an alert is showing. BUG=12176 Review URL: http://codereview.chromium.org/160494 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22415 0039d316-1c4b-4281-b951-d872f2087c98
* Port more tests from save_page_uitest.cc to save_page_browsertest.cc.phajdan.jr@chromium.org2009-08-046-57/+87
| | | | | | | | | | | Also add more detailed checks for saved page contents. TEST=Covered by browser_tests. http://crbug.com/3791 Review URL: http://codereview.chromium.org/159858 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22413 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: match GTK's hinting settings.agl@chromium.org2009-08-041-3/+21
| | | | | | | | | | | | | When anti-aliasing is off, GTK maps all non-zero hinting settings to 'Normal' hinting so we do the same. Otherwise, folks who have 'Slight' hinting selected will see readable text in everything expect Chromium. BUG=18335 http://codereview.chromium.org/159863 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22411 0039d316-1c4b-4281-b951-d872f2087c98
* Fix valgrind warning.jam@chromium.org2009-08-042-3/+7
| | | | | | Review URL: http://codereview.chromium.org/159873 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22410 0039d316-1c4b-4281-b951-d872f2087c98
* Force databases to be enabled when extensions are enabled soaa@chromium.org2009-08-041-1/+4
| | | | | | | | that extension developers can beta-test databases. Review URL: http://codereview.chromium.org/160594 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22407 0039d316-1c4b-4281-b951-d872f2087c98
* Include Pause/Resume in the context menu for the item in the download shelf.mhm@chromium.org2009-08-044-0/+26
| | | | | | | | | | | | | The pause and resume context item will only appear when the download is in progress. It will not show on the context menu if the download has been cancelled or completed. It is a toggle state, either pause or resume, not both. BUG=16929 (http://www.crbug.com/16929) TEST=Download a large file, right click pause, then resume. As well, download a small file, wait till finishes, right click, you will see no pause/resume. Review URL: http://codereview.chromium.org/159844 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22406 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Linux: preload ffmpeg in the zygote."agl@chromium.org2009-08-041-7/+0
| | | | | | | This reverts commit r22392. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22405 0039d316-1c4b-4281-b951-d872f2087c98
* linux: opening a download should not reuse your terminalevan@chromium.org2009-08-041-1/+8
| | | | | | | | | | | When opening a text file, if the helper wants to just spawn "less" we want it to use a new window for it. BUG=18298 Review URL: http://codereview.chromium.org/159867 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22404 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 22354 - Change "Fullscreen" key from cmdf11 to cmdshiftf as discussed ↵laforge@chromium.org2009-08-041-5/+5
| | | | | | | | | | | | | | | | | per email. Everything is better than cmdf11. BUG=17218 TEST=obvious Review URL: http://codereview.chromium.org/159781 TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/160597 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22401 0039d316-1c4b-4281-b951-d872f2087c98
* Add forgotten file to content script docs.aa@chromium.org2009-08-042-0/+154
| | | | | | TBR=rafaelw@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22399 0039d316-1c4b-4281-b951-d872f2087c98
* Sort theme popup list correctly.avi@chromium.org2009-08-041-1/+3
| | | | | | | | | BUG=none TEST=ensure that the list is sorted without regard to case Review URL: http://codereview.chromium.org/159857 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22398 0039d316-1c4b-4281-b951-d872f2087c98
* Add some more content to the content scripts docs.aa@chromium.org2009-08-043-17/+35
| | | | | | TBR=rafaelw@chormium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22397 0039d316-1c4b-4281-b951-d872f2087c98
* Change the numbe of recently closed tabs to a maximum of 10 instead of 6.arv@google.com2009-08-041-2/+2
| | | | | | | | | | | Bug=17879 TEST=Close a lot of tabs. You should see the 10 latest closed tabs in the recent activities section. Review URL: http://codereview.chromium.org/160588 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22396 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix.agl@chromium.org2009-08-041-0/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22395 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: don't try and read shmmax in the sandbox.agl@chromium.org2009-08-042-13/+4
| | | | | | | | | | | In the sandbox, reading shmmax from proc always fails. Thus, we move the function into base and call it before starting the sandbox. The value is then cached. http://codereview.chromium.org/159843 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22393 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: preload ffmpeg in the zygote.agl@chromium.org2009-08-041-0/+7
| | | | | | | | | | | | | | | When using the sandbox, the renderer cannot load the ffmpeg shared objects from disk. So we load them in the zygote before the sandbox is started. (Note that this doesn't get media working, but it's a start.) BUG=18329 http://codereview.chromium.org/159841 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22392 0039d316-1c4b-4281-b951-d872f2087c98
* linux: use linux-specific window control graphics from glenevan@chromium.org2009-08-041-2/+1
| | | | | | | | BUG=15952,18385 Review URL: http://codereview.chromium.org/159859 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22391 0039d316-1c4b-4281-b951-d872f2087c98
* Move alternate 404 error page loading out of WebFrame and into RenderView.darin@chromium.org2009-08-044-20/+132
| | | | | | | | | | | | | | | | This involved adding a new method on WebViewDelegate to allow the embedder to intercept data being loaded for a document. I also had to plumb a few more FrameLoaderClient notifications through WebViewDelegate. See DidReceiveResponse and DidFinishLoading. R=tony BUG=15648 TEST=covered by errorpage_uitest.cc Review URL: http://codereview.chromium.org/160578 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22389 0039d316-1c4b-4281-b951-d872f2087c98
* NNTP: Make the chromium logo smaller so that it has the same height asarv@google.com2009-08-042-0/+0
| | | | | | | | | | | | | the "Google chrome" logo. BUG=17944 TEST=None Review URL: http://codereview.chromium.org/159828 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22388 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disable all Worker tests.dglazkov@chromium.org2009-08-041-8/+8
| | | | | | | | | | TBR=jam BUG=18409 TEST=none Review URL: http://codereview.chromium.org/159860 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22385 0039d316-1c4b-4281-b951-d872f2087c98
* Don't call NPP_SetWindow during the painting of windowless plugins.dglazkov@chromium.org2009-08-041-16/+28
| | | | | | | | | | | | | | | | | | | | | | On Windows, Flash seems to only start executing script actions after it received an NPP_SetWindow with a non-NULL NPWindow.window (HDC). It is possible that Flash then invokes JS to modify DOM of the page. If Flash movie's widget is on-screen at page load, this call is made during layout and before even the NPP_Write is called, which is the desired sequence of events. However, if it is off-screen, this call occurs during painting, which leads to re-entrancy issues (layout while painting) and bizarre crashes. As a solution, we remove calls to NPP_SetWindow during painting and instead opt to never provide a null HDC to the plugin. If no valid HDC is available, we feed it a disposable monochrome 1x1 context to have at least something to draw on. R=ananta,darin,jam BUG=16114 TEST=LayoutTests/plugins/flash-setwindow-paint-crash.html (bug reduction). Review URL: http://codereview.chromium.org/159717 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22383 0039d316-1c4b-4281-b951-d872f2087c98
* mole API - take 2erikkay@chromium.org2009-08-0426-135/+726
| | | | | | | | | | originally reviewed / committed as http://codereview.chromium.org/160276 TBR=mpcomplete,phadjan.jr Review URL: http://codereview.chromium.org/159854 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22382 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing potential memory leak in BookmarkCodec::DecodeNode.finnur@chromium.org2009-08-042-4/+12
| | | | | | | | | | | Coverity finds a condition where this leaks. We are at the moment not using it in such a way that it leaks, but that might of course change. It looks to me like the API is not intended to be used in such a way anyway, so we can just check for it and return false. BUG=15350 TEST=Decoding bookmarks should work as before. Review URL: http://codereview.chromium.org/159075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22379 0039d316-1c4b-4281-b951-d872f2087c98
* Do proper HSL > HSB conversion.avi@chromium.org2009-08-041-6/+20
| | | | | | | | | BUG=http://crbug.com/15760 TEST=slight visual change Review URL: http://codereview.chromium.org/159810 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22377 0039d316-1c4b-4281-b951-d872f2087c98
* Enable JumpList by default on Windows 7.hbono@chromium.org2009-08-044-6/+6
| | | | | | | | | | This change enables our custom JumpList by default, i.e. enables our custom JumpList when Chromium is launched without a "--disable-custom-jumplist" option. BUG=8037 TEST=Right-click the taskbar icon of Chromium on Windows 7. Review URL: http://codereview.chromium.org/159398 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22375 0039d316-1c4b-4281-b951-d872f2087c98