summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* If an idle socket has received data unexpectedly, we can'twtc@chromium.org2009-02-1916-14/+118
| | | | | | | | | | | | | | reuse it. Add the IsConnectedAndIdle method, which returns true if the connection is still alive and idle (hasn't received any data unexpectedly). R=eroman BUG=4606 Review URL: http://codereview.chromium.org/21501 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10060 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the home button on Linux.evan@chromium.org2009-02-192-9/+39
| | | | | | | | This actually obeys the pref, but we have no way to set the pref. Review URL: http://codereview.chromium.org/24024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10058 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some GCC 4.3 warnings.evan@chromium.org2009-02-192-3/+6
| | | | | | | | BUG=7742 Review URL: http://codereview.chromium.org/20512 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10057 0039d316-1c4b-4281-b951-d872f2087c98
* Enable SSL error handling in Linux again.dkegel@google.com2009-02-1915-487/+650
| | | | | | | | | | Evan, could you review the change since http://codereview.chromium.org/20444 : - load temporary root cert in test_shell Thanks! Review URL: http://codereview.chromium.org/20511 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10055 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaselines the testsky@google.com2009-02-193-2/+3
| | | | | | | | | | | | | LayoutTests/css2.1/t1605-c545-txttrans-00-b-ag.html . The failure was the result of text differences. I don't think it's a failure that the image shows red (the upstream version does too). BUG=none TEST=none Review URL: http://codereview.chromium.org/21527 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10054 0039d316-1c4b-4281-b951-d872f2087c98
* Relocate custom button code to its own files, in anticipation of more changes.evan@chromium.org2009-02-195-114/+137
| | | | | | | | (Next is to fix the menu buttons.) Review URL: http://codereview.chromium.org/20509 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10053 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaselines the testsky@google.com2009-02-194-73/+73
| | | | | | | | | | | | LayoutTests/http/tests/navigation/metaredirect-basic.html . I believe the previous baseline had our old fonts in it. BUG=none TEST=none Review URL: http://codereview.chromium.org/21526 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10052 0039d316-1c4b-4281-b951-d872f2087c98
* * Add day deletion to historyglen@chromium.org2009-02-193-48/+182
| | | | | | | | * Speed up history viewing by swapping the search depth to day rather than month - it's now orders of magnitude faster for people who visit more than 30 pages a day, and very slightly slower for people who visit less than 10 pages a day. Review URL: http://codereview.chromium.org/21182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10051 0039d316-1c4b-4281-b951-d872f2087c98
* Initial checkin of the HTML downloads UI. It's not yet complete (lacking ↵glen@chromium.org2009-02-1911-2/+1234
| | | | | | | | interface polish). But is enough for us to begin removing the native UI.ojan, please review downloads.htmlpaul, please review everything else Review URL: http://codereview.chromium.org/20110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10050 0039d316-1c4b-4281-b951-d872f2087c98
* Include entries for SOCKS in ProxyResolverMac.ericroman@google.com2009-02-193-80/+92
| | | | | | Review URL: http://codereview.chromium.org/20489 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10049 0039d316-1c4b-4281-b951-d872f2087c98
* Check in C99 compatibility headers for MSVC and FFmpeg.scherkus@chromium.org2009-02-193-1/+37
| | | | | | | | | | MSVC doesn't include <stdint.h> and <inttypes.h>, so in order for MSVC to include FFmpeg headers we need to provide them. The headers aren't complete, but contain the bare minimum for compatibility. Although we could add these types to base/basictypes.h, I'm afraid of people using C99 types by accident (uint8_t instead of uint8). Also, base/basictypes.h includes C++ code which makes including it from an extern "C" section problematic. Review URL: http://codereview.chromium.org/21521 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10048 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in basic FFmpeg import library generator project and public header ↵scherkus@chromium.org2009-02-1932-0/+6915
| | | | | | | | | | files. Similar to V8Bindings_prebuild, ffmpeg.vcproj is a Utility project that calls a .bat file to build stuff. Whenever we need to link to an FFmpeg function, we simply add it to the corresponding .def file and we're set! Review URL: http://codereview.chromium.org/23021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10047 0039d316-1c4b-4281-b951-d872f2087c98
* Defers accessibility layout tests per our discussion the other day.sky@google.com2009-02-191-1/+3
| | | | | | | | | | BUG=none TEST=none TBR=darin Review URL: http://codereview.chromium.org/21524 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10046 0039d316-1c4b-4281-b951-d872f2087c98
* Add a TabContentsContainerGtk to remove the current hack that inserts theerg@google.com2009-02-199-27/+254
| | | | | | | | | | | | RenderViewHostGtk native_view() into the widget heiarchy. (Now we're crashing on cross site instance navigation because it looks like we aren't updating some internal reference to the new renderer.) Review URL: http://codereview.chromium.org/21517 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10045 0039d316-1c4b-4281-b951-d872f2087c98
* save_package.cc: Move UI test special casing to a helper function.estade@chromium.org2009-02-192-31/+68
| | | | | | | This effectively mocks out prompt-spawning win_util calls and keeps untested lines of code to a minimum. Review URL: http://codereview.chromium.org/21492 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10044 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for a flag error introduced yesterday for non-client messages, which weidanan@chromium.org2009-02-191-6/+6
| | | | | | | | | | | | | | | | | | | do not handle actually but if we were to do it, we may have found out than an extra bit was sometimes set. For non-clicent mouse messages, the flag passed to the message procedure should not be ORed with the mouse-event because it contains the result of the last hit test instead. Added flags merged in: http://src.chromium.org/viewvc/chrome?view=rev&revision=9953 Review URL: http://codereview.chromium.org/21519 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10043 0039d316-1c4b-4281-b951-d872f2087c98
* Report malware sub resources and their containing page to thepaulg@google.com2009-02-194-2/+104
| | | | | | | | | | | | | | SafeBrowsing service for faster malware detection. Any malware resource that we detect on a page is reported if the page that contains it is not in the blacklist AND the user has opted in to reporting stats. BUG=7607 (http://crbug.com/7607) Review URL: http://codereview.chromium.org/21474 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10042 0039d316-1c4b-4281-b951-d872f2087c98
* Port TabContentsFactory to posix.estade@chromium.org2009-02-197-35/+35
| | | | | | | Enable back_forward_menu_model_unittest on linux. Review URL: http://codereview.chromium.org/21522 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10041 0039d316-1c4b-4281-b951-d872f2087c98
* Fix status bubble positioning on non-tiled window managers.evan@chromium.org2009-02-191-4/+11
| | | | | | | | | | | gtk_window_get_position includes the window decoration, so it was the wrong function to use. Also, switch to using the requisition rather than getting the top-level size, as that is what we use elsewhere. Review URL: http://codereview.chromium.org/21515 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10040 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a workaround made obsolete by Tony's l10n work.evan@chromium.org2009-02-191-1/+1
| | | | | | Review URL: http://codereview.chromium.org/20503 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10039 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaselines the test LayoutTests/fast/transforms/shadows.html . Wesky@google.com2009-02-194-3/+107
| | | | | | | | | | | | look different because of differences in anti-aliasing lines and our diffuse shadows are slightly different than that of CG. BUG=none TEST=none Review URL: http://codereview.chromium.org/20507 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10038 0039d316-1c4b-4281-b951-d872f2087c98
* Add a comment to a metrics_service.cc NOTIMPLEMENTED.evan@chromium.org2009-02-191-0/+3
| | | | | | Review URL: http://codereview.chromium.org/21523 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10037 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some NOTIMPLMENTEDs which are apparently no longer necessary.evan@chromium.org2009-02-191-3/+3
| | | | | | Review URL: http://codereview.chromium.org/21520 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10036 0039d316-1c4b-4281-b951-d872f2087c98
* Add a CHECK for NULL observers. I got a NULL pointer exception when notifyingbrettw@chromium.org2009-02-191-0/+7
| | | | | | | | on a notification, which is impossible to track down since I don't know who added it. Review URL: http://codereview.chromium.org/20502 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10035 0039d316-1c4b-4281-b951-d872f2087c98
* Make render_view_context_menu_controller.cc compile on Posix.jhawkins@chromium.org2009-02-195-10/+75
| | | | | | Review URL: http://codereview.chromium.org/21497 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10034 0039d316-1c4b-4281-b951-d872f2087c98
* Update the fixable list to defer all the new tests and theojan@chromium.org2009-02-191-76/+146
| | | | | | | | | | | tests whose expectations have changed upstream since the 1.0 launch. This is an effort to focus on actual regressions before cutting the next release. I avoided deferring any CRASH/TIMEOUT expectations as it seems those are worth making a priority of fixing. Review URL: http://codereview.chromium.org/21491 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10033 0039d316-1c4b-4281-b951-d872f2087c98
* Roll DEPS to pick up FontLinux fix.dglazkov@google.com2009-02-191-1/+1
| | | | | | | | | TBR=nsylvain BUG=NONE Review URL: http://codereview.chromium.org/20506 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10032 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Merge 41057:41077, Chromium Sidedglazkov@google.com2009-02-195-20/+3
| | | | | | | | | R=brettw BUG=NONE Review URL: http://codereview.chromium.org/21513 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10030 0039d316-1c4b-4281-b951-d872f2087c98
* Fix test because GetBrowserProcessCount counts the browser as well :)cpu@google.com2009-02-191-1/+1
| | | | | | | | | TBR=maruel Review URL: http://codereview.chromium.org/21518 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10028 0039d316-1c4b-4281-b951-d872f2087c98
* Moving AutomationMsg_NavigationFailed to the end as required by the ↵ananta@chromium.org2009-02-191-9/+9
| | | | | | | | | | automation code. TBR=nsylvain Review URL: http://codereview.chromium.org/20501 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10027 0039d316-1c4b-4281-b951-d872f2087c98
* Turn on DNS prefetching.evan@chromium.org2009-02-191-5/+0
| | | | | | Review URL: http://codereview.chromium.org/21281 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10025 0039d316-1c4b-4281-b951-d872f2087c98
* Update the table of RAM vs number of rendererscpu@google.com2009-02-193-7/+52
| | | | | | | | | | | | - revised my guesstimate of 25 MB per renderer to 40MB, which I think is more appropiate for long lived tabs, since short lived tabs don't really matter here. - the lower end (< 1GB) has less total renderers - the middle has about the same - the upper end (> 2GB) has more renderers - added test to open 34 tabs. Review URL: http://codereview.chromium.org/21484 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10024 0039d316-1c4b-4281-b951-d872f2087c98
* Send over the HTTP status code in the ViewHostMsg_FrameNavigate message ↵ananta@chromium.org2009-02-1910-18/+83
| | | | | | | | | | | | | | | | | coming in from the renderer. A failed HTTP navigation like a 404 response to a request is followed by two responses. The first one which is associated with the failed response. This does not send over any information about the failure to the browser and thus appears as a normal navigation.The second response is for the actual 404 page being loaded. For network errors the browser does get notified via RenderView::DidFailProvisionalLoadWithError. However due to a prototype mismatch the corresponding function in WebContents is never invoked. Added a new automation message AutomationMsg_NavigationFailed, which carries information about failed navigations to automation clients.The changes to the navigation controller include sending over the http status code and the URL to observers. The ExternalTabContainer also subscribes to the FAIL_PROVISIONAL_LOAD_WITH_ERROR notification, so it can inform clients about errors. We also ignore the next NAV_ENTRY_COMMITTED notification after an error due to the reasons mentioned above. Review URL: http://codereview.chromium.org/21495 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10023 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up dns prefetch code, and also port it.phajdan.jr@chromium.org2009-02-1920-824/+418
| | | | | | | | | | | | | | | | | | | | - remove slave threads and use HostResolver in asynchronous mode instead (while still limiting number of concurrent lookups) - make the implementation portable and make DnsMaster unit test compile and pass on Linux - add more tests to DnsMaster unit test to simulate various shutdown scenarios, concurrent lookups, and to verify that we don't exceed our limit of concurrent lookup requests) - remove some tests which relied on specifics of slaves' inner working - adjust initialization and shutdown of dns prefetching (now it relies on the IO message loop being present) Bonus: shutdown is almost instant now, no need to have a timeout. BUG=5687, 6683 Review URL: http://codereview.chromium.org/15076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10021 0039d316-1c4b-4281-b951-d872f2087c98
* Mac passes this, and any upstream change we should pick up just fine also.thomasvl@chromium.org2009-02-191-1/+1
| | | | | | Review URL: http://codereview.chromium.org/20497 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10020 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up the resize rect for Mac and enable its use in the renderer (mac-only). pinkerton@chromium.org2009-02-198-3/+77
| | | | | | Review URL: http://codereview.chromium.org/21512 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10019 0039d316-1c4b-4281-b951-d872f2087c98
* Roll DEPS to pick up empty third_party/WebKit/WebKit directory.darin@chromium.org2009-02-191-1/+1
| | | | | | | | TBR=maruel Review URL: http://codereview.chromium.org/20496 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10018 0039d316-1c4b-4281-b951-d872f2087c98
* Only pull in WebKit/mac to make way for WebKit/chromiumdarin@chromium.org2009-02-191-2/+2
| | | | | | | | R=dglazkov Review URL: http://codereview.chromium.org/20475 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10016 0039d316-1c4b-4281-b951-d872f2087c98
* Very basic starter presubmit script for Chromium, as requested by maruel.maruel@chromium.org2009-02-192-0/+148
| | | | | | | | | | | | | | | | | | | | | | At present this checks the following: - No tabs in source files - The words "DO-NOT-SUBMIT" (without the dashes) do not appear in the CL description or in files in the change - No CRLF in source files (.cc, .h, .mm, .py) Limitations: - The general limitations of the current presubmit API implementation apply. One of these is that gcl only walks up to the checkout root searching for presubmit files, so if you've mapped stuff into your client using DEPS, it will only walk up to where the root of that mapping. Patch contributed by Jói. Review: http://codereview.chromium.org/20474 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10015 0039d316-1c4b-4281-b951-d872f2087c98
* Update test expectation.ericroman@google.com2009-02-191-3/+3
| | | | | | | | | | This needs the port numbers, since they now get properly inferred. TBR=wtc@chromium.org Review URL: http://codereview.chromium.org/20490 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10014 0039d316-1c4b-4281-b951-d872f2087c98
* Fix header order.ericroman@google.com2009-02-191-2/+2
| | | | | | Review URL: http://codereview.chromium.org/20487 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10013 0039d316-1c4b-4281-b951-d872f2087c98
* Marked two tests as failing on windowsplesner@google.com2009-02-191-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10012 0039d316-1c4b-4281-b951-d872f2087c98
* Try to fix build bustage.ericroman@google.com2009-02-191-0/+2
| | | | | | | TBR=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/20485 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10011 0039d316-1c4b-4281-b951-d872f2087c98
* Add parsing for PAC result strings -- ProxyInfo::UsePacString().ericroman@google.com2009-02-1922-121/+917
| | | | | | | | | | | Added the support class ProxyServer to avoid losing the proxy server's type information (http, socks) when populating the list. The format of the configuration strings has been extended accordingly to include an optional [<scheme>"://"] prefix. (i.e. "http://", "socks4://", "socks5://"). Review URL: http://codereview.chromium.org/20398 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10010 0039d316-1c4b-4281-b951-d872f2087c98
* Added test status I'd forgotten in the first changelistplesner@google.com2009-02-191-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10009 0039d316-1c4b-4281-b951-d872f2087c98
* Ignored a handful of v8-related layout tests that we have no intentionplesner@google.com2009-02-198-38/+173
| | | | | | | | of passing. Rebaselined some regexp tests where our behavior is deliberately different from safari. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10008 0039d316-1c4b-4281-b951-d872f2087c98
* Manifest renames.aa@chromium.org2009-02-1910-70/+70
| | | | | | | | | | | | | | | | | | | | Renamed "user_scripts" back to "content_scripts" and "files" to "js". The latter I'm a bit unsure about and would like feedback on. Frequently, authors only need to inject CSS, not JS (witness usersstyles.org and the Stylish Firefox extension). Making CSS injection first- class allows us to tighten permissions for that case and gives a fast path when that is all authors want to do. So I renamed "files" to "js" so that we could someday have "css", too. Review URL: http://codereview.chromium.org/21422 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10007 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a bug in the media pipeline that resulted in the video dimensions ↵ralphl@chromium.org2009-02-194-54/+344
| | | | | | | | | never getting set. Includes a new unit test, along with new mocks for a video decoder and video renderer. Review URL: http://codereview.chromium.org/20326 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10006 0039d316-1c4b-4281-b951-d872f2087c98
* Port back_forward_menu_model_unittest to linux.estade@chromium.org2009-02-192-272/+255
| | | | | | | | Also port TabContentsFactory. Review URL: http://codereview.chromium.org/21496 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10005 0039d316-1c4b-4281-b951-d872f2087c98
* Super-simplistic status bubble on Linux.evan@chromium.org2009-02-199-7/+136
| | | | | | | | (I just want to see when pages are loading, y'know...) Review URL: http://codereview.chromium.org/21500 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10004 0039d316-1c4b-4281-b951-d872f2087c98