summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* AppCacheDatabase and SQL based AppCacheStorageImpl. michaeln@chromium.org2009-12-2925-49/+3637
| | | | | | | | | | | | | | | Still nothing is being written to disk with this CL, in-memory SQLite and DiskCaches are being utilized. Responses are not yet being removed from the DiskCasche when the should be. Once that's done (in the next CL), we'll start saving things on disk. BUG=none TEST=appcache_database_unittest.cc, appcache_storage_impl_unittest.cc Review URL: http://codereview.chromium.org/518020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35354 0039d316-1c4b-4281-b951-d872f2087c98
* Continue migration from query_helpers.* to sqlite_utils.*zork@google.com2009-12-294-153/+158
| | | | | | | | BUG=none TEST=Run sync_unit_tests Review URL: http://codereview.chromium.org/509023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35353 0039d316-1c4b-4281-b951-d872f2087c98
* Update gmock and gtest.evan@chromium.org2009-12-2959-755/+1381
| | | | | | | | (Hoping to pick up a clang-related bug fix.) Review URL: http://codereview.chromium.org/521012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35352 0039d316-1c4b-4281-b951-d872f2087c98
* Adding code samples downloaded from opengles book website to third_party. ↵alokp@chromium.org2009-12-2964-0/+17319
| | | | | | | | | | | Changes required to compile and run these samples will be checked in susbsequent CLs. BUG=26099 TEST=none Review URL: http://codereview.chromium.org/503071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35351 0039d316-1c4b-4281-b951-d872f2087c98
* Do not make test failures fatal (since it is so common.)jrg@chromium.org2009-12-291-2/+3
| | | | | | Review URL: http://codereview.chromium.org/522021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35348 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Implementation of Page Action tooltips. Also adds cursor rects to the ↵andybons@chromium.org2009-12-297-8/+84
| | | | | | | | | | address bar for any icon you can click within it so that the default pointer is shown instead of the I-beam. BUG=12281 TEST=Hover over a Page Action that has a tooltip, observe that the tooltip shows up and that the cursor is a pointer, not an I-Beam. Review URL: http://codereview.chromium.org/523015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35347 0039d316-1c4b-4281-b951-d872f2087c98
* Fix SSL Socket adapter to handle the case where StartSSL is called before ↵zork@chromium.org2009-12-292-7/+37
| | | | | | | | | | | the socket is connected. BUG=none TEST=none Review URL: http://codereview.chromium.org/515018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35346 0039d316-1c4b-4281-b951-d872f2087c98
* linux: clip max tooltip lengthevan@chromium.org2009-12-291-2/+13
| | | | | | | | | BUG=30487 TEST=see bug for test case Review URL: http://codereview.chromium.org/519019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35345 0039d316-1c4b-4281-b951-d872f2087c98
* Add the extension to the image name so we avoid warnings from ns_image_cache ↵thomasvl@chromium.org2009-12-291-2/+2
| | | | | | | | | | and so we share the image between the place we used it with and without an extension. BUG=none TEST=no longer get info lines about wanting the extension on the image name. Review URL: http://codereview.chromium.org/523017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35344 0039d316-1c4b-4281-b951-d872f2087c98
* atl: Remove unused <atlbase.h> header from some source files.jhawkins@chromium.org2009-12-293-74/+72
| | | | | | | | | | BUG=5027 TEST=compiles Patch from Thiago Farina <thiago.farina@gmail.com>. Review URL: http://codereview.chromium.org/519022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35341 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug 30503 - rebaseline three sets of tests, split two others intodpranke@google.com2009-12-2923-6/+2074
| | | | | | | | | | | | | | | | | | separate bugs. R=dglazkov@chromium.org BUG=30503 BUG=31253 BUG=31252 TEST=LayoutTests/http/tests/security/xss-DENIED-assign-location-href-javascruipt.html TEST=LayoutTests/http/tests/security/listener/xss-inactive-closure.html TEST=LayoutTests/fast/text/fake-italic.html TEST=LayoutTests/fast/forms/basic-selects.html TEST=LayoutTests/fast/forms/basic-textareas-quirks.html Review URL: http://codereview.chromium.org/524005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35340 0039d316-1c4b-4281-b951-d872f2087c98
* Change WDS to use the DB thread rather than its own thread.skrul@chromium.org2009-12-294-48/+34
| | | | | | | | | | This cleanup was requested by brettw and was started to make it easier for the sync service to post tasks to the WDS thread (now the DB thread). This simplifies the WDS a bit since it no longer has to manage its own thread, and can assume that the DB thread is running throughout its lifetime. One change in behavior that is significant is that previous to this change, the WDS worker thread would always be joined when Shutdown() was called from Profile::~Profile(). Now the Shutdown() method schedules a task that can extend the lifetime of the WDS past the lifetime of the Profile instance. Review URL: http://codereview.chromium.org/524003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35339 0039d316-1c4b-4281-b951-d872f2087c98
* More scons --> make work.jrg@chromium.org2009-12-291-1/+1
| | | | | | Review URL: http://codereview.chromium.org/515057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35338 0039d316-1c4b-4281-b951-d872f2087c98
* find_bar: Update the behavior of FindNext/FindPrevious on Windows to match ↵evan@chromium.org2009-12-293-33/+18
| | | | | | | | | | | | | | | | the Linux version. Now they are enabled all the time. BUG=None TEST=open a web page, search for text that is in the page or not (doesn't matter). See that the buttons are enabled. Patch from Thiago Farina <thiago.farina@gmail.com>. Review URL: http://codereview.chromium.org/518009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35336 0039d316-1c4b-4281-b951-d872f2087c98
* linux: simplify sad tabevan@chromium.org2009-12-292-135/+38
| | | | | | | | | | | | | | Remove unused gradient. Remove unnecessary singleton. Restores centered text. Allows tab to be resized small (a regression caused by a recent change, no bug filed for that). BUG=29507 Review URL: http://codereview.chromium.org/517012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35335 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 284.0 to 285.0chrome-bot@google.com2009-12-291-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35334 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 35328 - AppCacheDatabase and SQL based AppCacheStorageImpl.michaeln@google.com2009-12-2923-3625/+48
| | | | | | | | | | | | | | | | | | Still nothing is being written to disk with this CL, inmemory SQLite and DiskCaches are being utilized. Responses are not yet being removed from the DiskCasche when the should be. Once that's done (in the next CL), we'll start saving things on disk. BUG=none TEST=appcache_database_unittest.cc, appcache_storage_impl_unittest.cc Review URL: http://codereview.chromium.org/501033 TBR=michaeln@chromium.org Review URL: http://codereview.chromium.org/519018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35329 0039d316-1c4b-4281-b951-d872f2087c98
* AppCacheDatabase and SQL based AppCacheStorageImpl.michaeln@chromium.org2009-12-2923-48/+3625
| | | | | | | | | | | | | | | Still nothing is being written to disk with this CL, in-memory SQLite and DiskCaches are being utilized. Responses are not yet being removed from the DiskCasche when the should be. Once that's done (in the next CL), we'll start saving things on disk. BUG=none TEST=appcache_database_unittest.cc, appcache_storage_impl_unittest.cc Review URL: http://codereview.chromium.org/501033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35328 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the official Windows build - ↵gregoryd@google.com2009-12-293-2/+55
| | | | | | | | | | | http://build.chromium.org/buildbot/waterfall.fyi/builders/Google%20Chrome%20XP TEST=none BUG=none Review URL: http://codereview.chromium.org/515047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35327 0039d316-1c4b-4281-b951-d872f2087c98
* linux: reduce header interdependenciesevan@chromium.org2009-12-2925-31/+53
| | | | | | | | | | | | By analyzing gcc -H output, I found some of our worst offenders for headers bringing in other headers. native_web_keyboard_event.h was responsible for just under 60,000 extra includes! This change will in theory make the build faster. Review URL: http://codereview.chromium.org/524004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35326 0039d316-1c4b-4281-b951-d872f2087c98
* Extension Doc Changes (no building or testable changes)rafaelw@chromium.org2009-12-2935-38/+3
| | | | | | | | | | This fixes a minor issue with test_shell error output making it back into the doc pages. TBR=aa,kathyw Review URL: http://codereview.chromium.org/515048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35324 0039d316-1c4b-4281-b951-d872f2087c98
* Clarify licenses on a bunch of files.evan@chromium.org2009-12-2924-13/+87
| | | | | | | | | | | In this process, I also filed bugs on various projects we depend on that also have unclear licenses. BUG=28291 Review URL: http://codereview.chromium.org/521009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35323 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix.evan@chromium.org2009-12-291-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35322 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to base/ from a combination of FreeBSD and OpenBSD patches.evan@chromium.org2009-12-2929-68/+99
| | | | | | Review URL: http://codereview.chromium.org/495002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35321 0039d316-1c4b-4281-b951-d872f2087c98
* Adding support for i18n to content scripts.cira@chromium.org2009-12-2912-136/+280
| | | | | | | | Auto-updated extension docs. Review URL: http://codereview.chromium.org/522017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35320 0039d316-1c4b-4281-b951-d872f2087c98
* Authorization headers set using XHR with ChromeFrame were stripped in the ↵ananta@chromium.org2009-12-284-2/+70
| | | | | | | | | | | | | | | | | | | outgoing HTTP requests sent via the host network stack. Fix is to remove the authorization header from the list of filtered headers. Added a unit test for this. Fixes bug http://code.google.com/p/chromium/issues/detail?id=23103 Bug=23103 Test=Covered by unit test. Review URL: http://codereview.chromium.org/519013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35319 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid meta-refresh when back-button gets non-sdch contentjar@chromium.org2009-12-282-5/+16
| | | | | | | | | | | | | | | | | | The first page search from google will not be SDCH encoded, but will trigger a background download of a dictionary for future use. ..but.. IF the user navigates forward from the search page, and then back, then Chromium will fetch the content from cache after specifying in the URL that a dictionary is now available. This new logic detects such a situation where non-SDCH content is pulled from the cache, and avoids the (slower and overly conservative) meta-refresh. test=see bug for repro cases. Check about:histogram/SDCH for error codes. bug=20457 r=kmixter Review URL: http://codereview.chromium.org/518016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35318 0039d316-1c4b-4281-b951-d872f2087c98
* send the pngs on crosdavemoore@chromium.org2009-12-283-12/+64
| | | | | | | | | | Added code to stream screenshots gtk screenshot support Review URL: http://codereview.chromium.org/517017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35317 0039d316-1c4b-4281-b951-d872f2087c98
* Fixup some connection time measurements.mbelshe@google.com2009-12-283-6/+18
| | | | | | | | | | | | | | | | - Net.TCP_Connection_Latency Time to connect only - Net.DNS_Resolution_And_TCP_Connection_Latency2 Time to do DNS and Connect - Net.HttpConnectionLatency Time for HTTP to connect (includes all delays, DNS, Queue, TCP, etc) BUG=none TEST=none Review URL: http://codereview.chromium.org/517014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35316 0039d316-1c4b-4281-b951-d872f2087c98
* Speculative fix for a ChromeFrame crash in IE full tab mode. The crash ↵ananta@chromium.org2009-12-282-3/+6
| | | | | | | | | | | | | | | | | | occurs while processing an accelerator message and based on the callstack it looks like QueryService call for the SID_STopLevelBrowser interface returns S_OK with a NULL interface pointer. Added checks in the DoQueryService helper function to return a failure if the QueryService call returns a NULL service pointer. Fixes http://code.google.com/p/chromium/issues/detail?id=25457 Bug=25457 Review URL: http://codereview.chromium.org/523008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35315 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a few test expectations to point to the correct bug resulting fromdpranke@google.com2009-12-281-7/+6
| | | | | | | | | | | | | | | | | | | | | me upstreaming chromium tests to webkit. Also delete reference to LayoutTests/inspector/settings-set-get - that test doesn't exist. BUG=30503 BUG=30792 BUG=31108 R=dglazkov@chromium.org TEST=LayoutTests/http/tests/security/xss-DENIED-assign-location-href-javascript.html TEST=LayoutTests/fast/text/fake-italic.html TEST=LayoutTests/http/tests/security/listener/xss-inactive-closure.html TEST=LayoutTests/fast/forms/basic-selects.html TEST=LayoutTests/fast/forms/basic-textareas-quirks.html Review URL: http://codereview.chromium.org/517016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35314 0039d316-1c4b-4281-b951-d872f2087c98
* Include the reason in the notice for blocked content (for Mac, Win and Linux ↵evan@chromium.org2009-12-281-1/+2
| | | | | | | | | | | | | include it already). BUG=none TEST=Setup a blacklist for cookies, load a site, check that the reason is displayed in the blocking notice. Patch from Jochen Eisinger <eisinger@google.com>. Review URL: http://codereview.chromium.org/523007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35313 0039d316-1c4b-4281-b951-d872f2087c98
* Remove cut / copy / paste from cros build and fix PageMenuModelTestdavemoore@chromium.org2009-12-282-6/+18
| | | | | | Review URL: http://codereview.chromium.org/523009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35312 0039d316-1c4b-4281-b951-d872f2087c98
* Make infobars into accessibility groups.avi@chromium.org2009-12-281-0/+11
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/517015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35311 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaning up the tab accessibility model.avi@chromium.org2009-12-282-0/+46
| | | | | | | | | BUG=http://crbug.com/28286 TEST=As in bug Review URL: http://codereview.chromium.org/519012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35310 0039d316-1c4b-4281-b951-d872f2087c98
* plugins: limit maximum window sizeevan@chromium.org2009-12-281-0/+10
| | | | | | | | | | | Even if plugins will crash when they are too large, we should try to have the renderer stay up. BUG=28606 Review URL: http://codereview.chromium.org/515043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35309 0039d316-1c4b-4281-b951-d872f2087c98
* Apply -lgcov link to type loadable_bundle when building coverage=1.jrg@chromium.org2009-12-281-3/+4
| | | | | | Review URL: http://codereview.chromium.org/515045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35307 0039d316-1c4b-4281-b951-d872f2087c98
* Tagging a whole bunch of buttons with descriptions (via code; OS bug ↵avi@chromium.org2009-12-282-0/+45
| | | | | | | | | | | prevents us from doing it via nib). BUG=http://crbug.com/28286 TEST=As in bug Review URL: http://codereview.chromium.org/518010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35306 0039d316-1c4b-4281-b951-d872f2087c98
* Split more targets from chrome.gyp to add support for building Native Client ↵gregoryd@google.com2009-12-2812-1275/+1779
| | | | | | | | | | | | | | | | for 64-bit Windows. This CL is required for supporting Native Client on 64-bit Windows. On Win64 we will use a 64-bit executable to load NaCl modules. Since we have only one version of Chrome on Windows, this executable has to be built together with 32-bit Chrome binaries. For the targets that are required for both 32-bit and 64-bit builds, this CL moves the shared parts of the target definitions into target-specific gypi files (such as base.gypi). New 64-bit only targets are added. Since we would like to port as few code as possible at this point, some 64-bit targets include less source files or less dependencies than the original 32-bit targets. These targets will have nacl_win64 in their name - to emphasize that they should be used for NaCl only. Some 64-bit targets are identical to the 32-bit targets in everything except for the target platform - these will have only win64 in their name. TEST=none BUG=28176 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=35237 Review URL: http://codereview.chromium.org/384068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35305 0039d316-1c4b-4281-b951-d872f2087c98
* linux: add another path to plugin search path listevan@chromium.org2009-12-281-1/+3
| | | | | | | | | I've seen users reporting they need this on openSUSE and there's a patch in the ALT Linux repo for it as well. Review URL: http://codereview.chromium.org/524002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35304 0039d316-1c4b-4281-b951-d872f2087c98
* Typo spelling in comment corrected.jar@chromium.org2009-12-281-1/+1
| | | | | | | TBR=raman.tenneti Review URL: http://codereview.chromium.org/515042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35303 0039d316-1c4b-4281-b951-d872f2087c98
* Adjust the menu items available in crosdavemoore@chromium.org2009-12-287-27/+56
| | | | | | | | | Bug: 28054 Test: None Review URL: http://codereview.chromium.org/516016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35302 0039d316-1c4b-4281-b951-d872f2087c98
* Add some licensing comments under chrome/.evan@chromium.org2009-12-2816-10/+54
| | | | | | | | BUG=28291 Review URL: http://codereview.chromium.org/507067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35301 0039d316-1c4b-4281-b951-d872f2087c98
* Change shortcut key for zooming in to Cmd-+ on Mackinuko@chromium.org2009-12-281-3/+3
| | | | | | | | | BUG=27624 TEST=Go to a web page and press Cmd-+. Make sure the browser zooms in and enlarges text. Cmd-= should also work on keyboards where '+' is mapped to shift-=. Review URL: http://codereview.chromium.org/517011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35300 0039d316-1c4b-4281-b951-d872f2087c98
* Fix race-conditioned DevTools crash when navigating to a redirecting pageapavlov@chromium.org2009-12-281-1/+5
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/515040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35299 0039d316-1c4b-4281-b951-d872f2087c98
* Landing http://codereview.chromium.org/501169 for Pavel.antonm@chromium.org2009-12-281-2/+6
| | | | | | | | Add support for 'post_json' url parameter in dromaeo benchmark. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35298 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 283.0 to 284.0chrome-bot@google.com2009-12-281-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35297 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Mac tree bustagejar@chromium.org2009-12-281-1/+0
| | | | | | | | | | | Remove overly aggressive DCHECK() which was tripping in HISTOGRAM_ENUMERATION on the mac. BUG=31206 TBR=ramana.tenneti Review URL: http://codereview.chromium.org/519006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35296 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup histogram classes mixing SetFlags into FactoryGet argumentsjar@chromium.org2009-12-2825-671/+304
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Generic cleanup of histogram class, renaming *FactoryGet to FactoryGet, along with reformatting. The macros were cleaned up to use common sub-macros rather than repeating code as much. Removed ThreadSafeHistogram (and associated ASSET_HISTOGRAM macros) since this class was not getting used. I introduced UMA_HISTOGRAM_ENUMERATION to support the common use of LinearHistograms to count various enumerated values. I added a Flags argument to all the FactoryGet routines to help avoid needing to call SetFlags each time a new sample is Add()ed. This also simplifies the code. This will all help prepare for a "don't histogram at all" macro setting so that I can test the impact of the histogram macro calls on performance (since there are now so many active histograms). BUG=31206 r=raman.tenneti Review URL: http://codereview.chromium.org/515033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35295 0039d316-1c4b-4281-b951-d872f2087c98
* Adding i18n to news extension. Making a copy since news sample should be ↵cira@chromium.org2009-12-287-0/+444
| | | | | | | | | | | | usable to people without i18n support for now. First submit went to a wrong place. Retrying with new CL. original review: http://codereview.chromium.org/509019 TBR=aa git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35294 0039d316-1c4b-4281-b951-d872f2087c98