summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reverting r18743, the rest of it.avi@google.com2009-06-183-0/+202
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18756 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting r18743.avi@google.com2009-06-187-206/+12
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18755 0039d316-1c4b-4281-b951-d872f2087c98
* Reject invalid URLs in SimpleDataSourcehclam@chromium.org2009-06-181-1/+18
| | | | | | | | | Report an error when an invalid url is received. Checks also the scheme against, ftp, http, https and file. Review URL: http://codereview.chromium.org/131061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18754 0039d316-1c4b-4281-b951-d872f2087c98
* Enable SDCH on mac/linuxjar@chromium.org2009-06-181-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Although it compiles in all builds etc., someone left the enabling code ifdef'ed in browser main. This should enable SDCH on mac/linux. To test, visit a site that supports SDCH (twice... the first time you'll get the dictionary in the background), and then do a view-cache: in front of the resulting URL, and check to see that you're getting Content-Encoding: sdch,gzip If it is not sdch encoded, then with some tiny (1%) probability, you're in a control group of a current experiment... and you can try starting your browser again... and doing another two visits. To better track the issue if you think you are in the control group, you can also visit about:histograms and you should see that a dictionary was downloaded, and then either some content was decoded, with timings in Sdch3.Experiment_Decode or was not run in SDCH and was timed in Sdch3.Experiment_Holdback. BUG=14516 r=willchan,pinkerton Review URL: http://codereview.chromium.org/131025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18753 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Merge from 44798:44806levin@chromium.org2009-06-181-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/132030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18752 0039d316-1c4b-4281-b951-d872f2087c98
* Import bookmarks to bookmark bar if user has not bookmarked anything yet.kuchhal@chromium.org2009-06-187-41/+52
| | | | | | | | BUG=9000 Review URL: http://codereview.chromium.org/131004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18751 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a comment I meant to update in the last change.tc@google.com2009-06-181-1/+1
| | | | | | | | | TBR=evan Review URL: http://codereview.chromium.org/131063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18750 0039d316-1c4b-4281-b951-d872f2087c98
* Fix an uninitialized variable that valgrind complains about.stuartmorgan@chromium.org2009-06-181-2/+4
| | | | | | | | BUG=none TEST=Tab dragging on the Mac should still work. Review URL: http://codereview.chromium.org/131055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18749 0039d316-1c4b-4281-b951-d872f2087c98
* Paint the custom frame border and round the corners.tc@google.com2009-06-183-15/+104
| | | | | | | | | | | | We apply the theme background color to the window and use a NineBox to draw the theme images around the border. BUG=13430 Review URL: http://codereview.chromium.org/131049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18748 0039d316-1c4b-4281-b951-d872f2087c98
* Delete files from webkit/glue that have been made obsolete by correspondingdarin@chromium.org2009-06-1854-1105/+590
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | files in webkit/api. Here's the mapping: webkit/glue/webdatasource.h -> webkit/api/public/WebDataSource.h webkit/glue/weberror.h -> webkit/api/public/WebURLError.h webkit/glue/weburlrequest.h -> webkit/api/public/WebURLRequest.h webkit/glue/webresponse.h -> webkit/api/public/WebURLResponse.h I kept the implementation of WebDataSource in webkit/glue for now because it helps to have it close to WebFrameImpl and WebFrameLoaderClient. To facilitate this change, I needed to make use of WrappedResourceRequest and WrappedResourceResponse from webkit/api/src within the implementation files of webkit/glue. This is only a temporary usage of webkit/api/src from the outside. It will go away when WebFrame, etc. get moved into webkit/api. I modified these wrapper classes to expose the 'bind' function so that I can re-bind a wrapper. This is used in WebDataSourceImpl::request() and related methods to allow the interface to return a const reference to a WebURLRequest and WebURLResponse. The changes here are fairly mechanical. I'm not too happy about the way WebDataSource::redirectChain now works. I would prefer a solution that didn't involve so much copying, but I'm not going to worry about optimizing that now. R=brettw BUG=10041 TEST=none Review URL: http://codereview.chromium.org/126286 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18747 0039d316-1c4b-4281-b951-d872f2087c98
* Committed wrong patchset for r18743. This should have been included.avi@google.com2009-06-181-4/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18746 0039d316-1c4b-4281-b951-d872f2087c98
* Try to even the page cycler tests between the current build and reference ↵thomasvl@chromium.org2009-06-181-9/+94
| | | | | | | | runs. Since the reference run always comes second, it seems like it gets the UBC advantage and everything is a little after (when using two of the same builds). So try to load all the needed data into the UBC before we start the tests. Review URL: http://codereview.chromium.org/131057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18745 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up the "Save Page..." menu item for Mac.paul@chromium.org2009-06-181-14/+15
| | | | | | | | BUG=14460 (http://crbug.com/14460) TEST=Cmd+S on Mac should bring up the save page dialog. Review URL: http://codereview.chromium.org/126299 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18744 0039d316-1c4b-4281-b951-d872f2087c98
* Add favicons to tabs on the Mac. Also moved SkBitmapToNSImage() toavi@google.com2009-06-189-139/+129
| | | | | | | | | | | | | | skia/ext/skia_utils_mac.h and removed chrome/browser/cocoa/cocoa_utils.h. Patch by rsesek. BUG=13565 Review URL: http://codereview.chromium.org/131018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18743 0039d316-1c4b-4281-b951-d872f2087c98
* Add helper for forcing a GtkEntry to lowercase.mattm@chromium.org2009-06-183-15/+31
| | | | | | | | | | Make l10n_util::ToLower string16 friendly. BUG=13326 Review URL: http://codereview.chromium.org/126260 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18742 0039d316-1c4b-4281-b951-d872f2087c98
* Make symbol signatures upper-case.thestig@chromium.org2009-06-181-1/+2
| | | | | | Review URL: http://codereview.chromium.org/132034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18741 0039d316-1c4b-4281-b951-d872f2087c98
* Change the plugin build file to build the real Mac installer if the ↵maf@google.com2009-06-181-5/+9
| | | | | | | | | o3d-internal tree is present, and otherwise build no installer. The bowdlerized open source version of the installer was no use at all, and developers can always install the plugin for their own use with a simple drag or a 1 line shell script. Review URL: http://codereview.chromium.org/131016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18740 0039d316-1c4b-4281-b951-d872f2087c98
* Add safari to the list of browser that can be tested with selenium.thomaslewis@google.com2009-06-181-1/+1
| | | | | | Review URL: http://codereview.chromium.org/131008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18738 0039d316-1c4b-4281-b951-d872f2087c98
* Small piece of extensions auto-update: add an auto-update url member varasargent@chromium.org2009-06-183-6/+72
| | | | | | | | | | | to the Extension class. BUG=http://crbug.com/12117 TEST=none Review URL: http://codereview.chromium.org/131044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18736 0039d316-1c4b-4281-b951-d872f2087c98
* Add a simple cache of certificates for SSL client authentication.wtc@chromium.org2009-06-186-2/+167
| | | | | | | | | | | | | It is based on FtpAuthCache and will be used in similar ways. The the only difference is that the authentication data is a certificate rather than username and password. R=eroman BUG=http://crbug.com/318 TEST=new unit tests. Review URL: http://codereview.chromium.org/132004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18735 0039d316-1c4b-4281-b951-d872f2087c98
* Set the gtk drag icon to a 1x1 transparent pixbuf so we don't get the ↵jhawkins@chromium.org2009-06-181-0/+8
| | | | | | | | | | default drag icon. BUG=none TEST=Drag a tab out of the tabstrip. The default gtk drag icon should not be visible. Review URL: http://codereview.chromium.org/131043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18734 0039d316-1c4b-4281-b951-d872f2087c98
* Small cleanup of constness.mad@google.com2009-06-184-14/+16
| | | | | | | | | | | | | Added const to methods not changing the state, except for the lazy setting of an escaped version of a path which is now mutable. Also made some lint fixes. BUG=none TEST=none Review URL: http://codereview.chromium.org/132024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18733 0039d316-1c4b-4281-b951-d872f2087c98
* Elide the URL in the status bubble.tc@google.com2009-06-182-9/+47
| | | | | | | | | | I copied the logic about whether to show the loading status or URL from the Views code. Review URL: http://codereview.chromium.org/125267 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18730 0039d316-1c4b-4281-b951-d872f2087c98
* Call Layout directly from SetContentsView. In the case where the Widget is ↵ben@chromium.org2009-06-182-5/+10
| | | | | | | | | | | | | | created with bounds, SetContentsView never causes a subsequent Layout because the bounds won't have changed. Fixes interactive UI tests. TBR=sky BUG=none TEST=interactive ui tests don't crash. Review URL: http://codereview.chromium.org/132029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18729 0039d316-1c4b-4281-b951-d872f2087c98
* Fix options window for Personalization on Linux.zork@chromium.org2009-06-181-1/+1
| | | | | | Review URL: http://codereview.chromium.org/132028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18728 0039d316-1c4b-4281-b951-d872f2087c98
* Add gtk EditKeywordController.mattm@chromium.org2009-06-187-15/+339
| | | | | | | | BUG=13326 Review URL: http://codereview.chromium.org/126305 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18727 0039d316-1c4b-4281-b951-d872f2087c98
* Revert cl 18723.rvargas@google.com2009-06-1814-1593/+14
| | | | | | | TBR=nsylvain git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18726 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: First pass to add support for sparse entries.rvargas@google.com2009-06-1814-14/+1593
| | | | | | | | | | | | Adding Read/Write support. BUG=12258 TEST=unittests. Review URL: http://codereview.chromium.org/126179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18723 0039d316-1c4b-4281-b951-d872f2087c98
* Ran find -name "*.dic" -exec svn pset svn:mime-type application/octet-stream ↵maruel@chromium.org2009-06-180-0/+0
| | | | | | | | | | | | | {} \; Should help with svn server issues with regard to viewvc trying to svn blame these large files. TEST=none BUG=none TBR=nsylvain git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18721 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a crash when scrolling quickly on Mac.rohitrao@chromium.org2009-06-181-23/+34
| | | | | | | | BUG=http://crbug.com/14211 TEST=See test case in bug. Review URL: http://codereview.chromium.org/125211 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18720 0039d316-1c4b-4281-b951-d872f2087c98
* Add tools menu for bookmark manager gtk.estade@chromium.org2009-06-182-7/+149
| | | | | | | | | | Now you can import and export an .html file with your bookmarks in it. BUG=13110 Review URL: http://codereview.chromium.org/132006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18719 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crashes stemming from ClientSocketPoolBase::ReleaseSocket().willchan@chromium.org2009-06-183-20/+61
| | | | | | | | | BUG=http://crbug.com/13908 TEST=Go to a page that loads lots of content from the same host, and then triggers a redirect (which will cancel the requests). A good example is http://photo.sora.net/album/theme/index.php. Unittest coverage provided in TCPClientSocketPoolTest.CancelActiveRequestWithPendingRequests. Review URL: http://codereview.chromium.org/131023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18718 0039d316-1c4b-4281-b951-d872f2087c98
* Abstract ExtensionPrefs into their own class.erikkay@google.com2009-06-189-244/+374
| | | | | | | | | Relands http://codereview.chromium.org/126281 which had been reverted due to a leak. The only difference is in extension_prefs.h where extension_data_ is now a scoped_ptr. Review URL: http://codereview.chromium.org/131040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18717 0039d316-1c4b-4281-b951-d872f2087c98
* Set the right mime type on pdf files.maruel@chromium.org2009-06-180-0/+0
| | | | | | | | TEST=none BUG=none TBR=nsylvain git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18716 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up "clear browsing data" dialog. It looks like ass right now. The ↵ben@chromium.org2009-06-189-37/+65
| | | | | | | | | | intent is to be able to debug problems with NativeControls under Gtk. BUG=none TEST=none Review URL: http://codereview.chromium.org/131027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18715 0039d316-1c4b-4281-b951-d872f2087c98
* A long standing bug in views!ben@chromium.org2009-06-182-2/+0
| | | | | | | | | | | | | | | | Every time a widget is resized, we call Layout on its view hierarchy TWICE! A while ago, I added code to views::View's default implementation of DidChangeBounds to automatically call Layout. So, after calling SetBounds on a widget, it is not necessary to call Layout. However this is exactly what WidgetWin/WidgetGtk do o_O. It turns out this doesn't matter on windows because size changes in child widgets never affect the sizes of their parents - they're just clipped to their parent's bounds. However, on Gtk it seems like sizing a child causes a size-allocate signal to be sent to the parent widget, which means we end up in infinite resize loops. BUG=none TEST=none Review URL: http://codereview.chromium.org/131026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18714 0039d316-1c4b-4281-b951-d872f2087c98
* Fix scons related svn:ignores for linux.maruel@chromium.org2009-06-180-0/+0
| | | | | | | | | | Cleaned up the stale .scons and SConstruct ignores and added the new ones TEST=none BUG=none TBR=sgk git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18713 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup the windows-related svn:ignore on the directories.maruel@chromium.org2009-06-180-0/+0
| | | | | | | | | | | | Removed the stale .sln and .vcproj ignores and added the new ones. This should help the try server tremendously. TEST=none BUG=none TBR=sgk git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18711 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a skia valgrind error.craig.schlenter@chromium.org2009-06-181-1/+1
| | | | | | Review URL: http://codereview.chromium.org/134001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18710 0039d316-1c4b-4281-b951-d872f2087c98
* Only check for first run dialog on official builds (since the dialog is aamanda@chromium.org2009-06-181-0/+4
| | | | | | | | | no-op on Chromium builds) BUG=none TEST=none Review URL: http://codereview.chromium.org/131035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18709 0039d316-1c4b-4281-b951-d872f2087c98
* Roll back Skia to r198. There are just a few layout test pixeldeanm@chromium.org2009-06-181-1/+1
| | | | | | | | | | differences, but the results look like something more broken is going on. Review URL: http://codereview.chromium.org/132020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18708 0039d316-1c4b-4281-b951-d872f2087c98
* Roll up Skia to r220 to pick up MSVC warning fix.deanm@chromium.org2009-06-181-1/+1
| | | | | | | Review URL: http://codereview.chromium.org/132019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18706 0039d316-1c4b-4281-b951-d872f2087c98
* Roll up Skia to revision r219, picking up a spline rendering fix.deanm@chromium.org2009-06-181-1/+1
| | | | | | | | | BUG=14536 Review URL: http://codereview.chromium.org/136002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18705 0039d316-1c4b-4281-b951-d872f2087c98
* Quick spelling fix.avi@google.com2009-06-181-3/+3
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/132016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18703 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Implement console.dir(live object) while on a breakpoint.pfeldman@chromium.org2009-06-181-4/+41
| | | | | | Review URL: http://codereview.chromium.org/131030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18702 0039d316-1c4b-4281-b951-d872f2087c98
* Revert the addition of -fno-threadsafe-statics. It breaks the build:deanm@chromium.org2009-06-181-1/+0
| | | | | | | | | | | cc1: warning: command line option "-fno-threadsafe-statics" is valid for C++/ObjC++ but not for C From what I can find, GYP has not separation between C and C++ flags :( Review URL: http://codereview.chromium.org/131031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18701 0039d316-1c4b-4281-b951-d872f2087c98
* Add -fno-threadsafe-statics to the Linux build.deanm@chromium.org2009-06-181-0/+1
| | | | | | | | | | | We already depend on our static initializers being thread safe, since MSVC does not implement locking around static initialization. This avoids extra locking (__cxa_guard_acquire / __cxa_guard_release). Review URL: http://codereview.chromium.org/126267 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18700 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: the context should be disposed to releas scripts and other ↵yurys@google.com2009-06-182-0/+6
| | | | | | | | resources it may hold. Review URL: http://codereview.chromium.org/132012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18699 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge 44773:44798levin@chromium.org2009-06-184-1/+5
| | | | | | | | | | | | | The one change is to add HTMLDataGridElement support due to change http://trac.webkit.org/changeset/44778 TBR=paul@chromium.org BUG=None TEST=The data grid element is new but it is still under development. Review URL: http://codereview.chromium.org/126310 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18698 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing null handle check to document wrapper caching code.ager@chromium.org2009-06-181-0/+8
| | | | | | | | | | | If instantiation of the document wrapper fails (for instance in out of memory situations) we get a null handle which will lead to a crash when using ForceSet. BUG=14514 Review URL: http://codereview.chromium.org/133001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18697 0039d316-1c4b-4281-b951-d872f2087c98