summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove DidNavigate from the tab contents delegate and all the related plumbing.brettw@google.com2008-09-249-140/+129
| | | | | | | | | | | I added additional information to the regular load commit notification so all interested parties can listen for that instead. I removed the old navigation type enum, and replaced it with the enum from the NavigationController, so it's now public. Review URL: http://codereview.chromium.org/3112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2573 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt to fix Mac build bustagepkasting@chromium.org2008-09-241-1/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2572 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command-line switch to change the user agent.BUG=757345pkasting@chromium.org2008-09-2417-90/+127
| | | | | | Review URL: http://codereview.chromium.org/4059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2571 0039d316-1c4b-4281-b951-d872f2087c98
* Run ObjectWatcher unit tests against all types of message loops.darin@google.com2008-09-241-10/+34
| | | | | | | | R=jar Review URL: http://codereview.chromium.org/4245 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2570 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bindings generation to pass in POSIX-style / separators in paths.sgk@google.com2008-09-241-5/+20
| | | | | | | (Patch from Brad Nelson @ google.com, pending chromium.org.) Review URL: http://codereview.chromium.org/4071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2567 0039d316-1c4b-4281-b951-d872f2087c98
* Update SCons build of WebKit on Windows:sgk@google.com2008-09-242-7/+2
| | | | | | | | | * Add CHROMIUM_BUILD and _SECURE_ATL defines. * No more tools/test_shell/resources/fonts. * No more /Wp64. Review URL: http://codereview.chromium.org/4070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2565 0039d316-1c4b-4281-b951-d872f2087c98
* Disable 'suggest' for voila and orange (both use voila) because the result ↵jungshik@google.com2008-09-241-6/+14
| | | | | | | | | | | | | | | comes back in ISO-8859-1. Change the encoding for voila to ISO-8859-1. The front page of Voila.fr is in UTF-8 but the search result pages are in ISO-8859-1 and voila.fr expects a query to be in ISO-8859-1. BUG=2722 TEST=Set your default search engine to voila (in French Chrome) and type a keyword with accented letters. It should come back correctly in the search result page. Review URL: http://codereview.chromium.org/4068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2564 0039d316-1c4b-4281-b951-d872f2087c98
* Flatten the glue and port dependencies to accelerate build on a quad core.maruel@google.com2008-09-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Webcore has no custom build step so it can be bypassed. src\chrome>python tools\build\win\sln_deps.py chrome_kjs.sln glue Glue KJSBindings_prebuild KJSConfig localized_strings WebCore src\chrome>python tools\build\win\sln_deps.py chrome_kjs.sln port Port KJSBindings_prebuild KJSConfig WebCore To src\chrome>python tools\build\win\sln_deps.py chrome_kjs.sln glue Glue KJSBindings_prebuild KJSConfig libxml_config libxslt_config localized_strings src\chrome>python tools\build\win\sln_deps.py chrome_kjs.sln port Port KJSBindings_prebuild KJSConfig Review URL: http://codereview.chromium.org/4252 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2563 0039d316-1c4b-4281-b951-d872f2087c98
* retain NSEvent explicitly instead of adopt, fixes over-releasing. Check ↵pinkerton@google.com2008-09-242-4/+10
| | | | | | | | event type on correct variable. Review URL: http://codereview.chromium.org/4069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2562 0039d316-1c4b-4281-b951-d872f2087c98
* Add libevent to the Mac SCons build of net_unittests:sgk@google.com2008-09-241-4/+8
| | | | | | | | | | * Build base/tcp_client_socket_libevent.cc on both Linux and Mac. * Link against -levent on both Linux and Mac. * Don't build base/cookie_policy_unittest.cc on Mac (yet?); it throws warnings (and is currently not being built by XCode, either). Review URL: http://codereview.chromium.org/4257 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2561 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disabling 2 SSL UI tests because they are flacky.jcampan@chromium.org2008-09-241-2/+4
| | | | | | | | BUG=2742 TBR=nsylvain Review URL: http://codereview.chromium.org/4256 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2560 0039d316-1c4b-4281-b951-d872f2087c98
* fix minor whitespace issuesdarin@chromium.org2008-09-241-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2559 0039d316-1c4b-4281-b951-d872f2087c98
* If a RenderWidgetHelper::PaintMsgProxy is deleted without being Run, then thedarin@chromium.org2008-09-242-3/+19
| | | | | | | | | | | | | | | | RenderWidgetHelper gets angry. This change allows the PaintMsgProxy to be deleted without being Run. This change is to support deleting all tasks that have made it into a MessageLoop without being Run. Currently, we leak those tasks, but I'd like to change that to allow us to avoid some hacks that exist to help Purify. R=brettw BUG=2734 Review URL: http://codereview.chromium.org/4251 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2558 0039d316-1c4b-4281-b951-d872f2087c98
* Apply minor tweaks to ScopedHostMapper per review feedback.darin@chromium.org2008-09-244-10/+16
| | | | | | | | R=wtc Review URL: http://codereview.chromium.org/4253 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2557 0039d316-1c4b-4281-b951-d872f2087c98
* Move -Wno-unused_variable (need for some len asserts in skia)sgk@google.com2008-09-241-1/+1
| | | | | | | so it comes after -Wall on the Mac compilation line. Review URL: http://codereview.chromium.org/4255 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2556 0039d316-1c4b-4281-b951-d872f2087c98
* Get libevent building and linking in base_unittests in the Mac SCons build:sgk@google.com2008-09-244-12/+43
| | | | | | | | | | | | | | | | | | * Call the $LIBEVENT_DIR/SConscript file on both Linux and Mac. * Add generation of the config.h file. * Modify the libevent_prebuild.sh script so SCons can pass in the input file name (because SCons executes things from top of tree) but the script still defaults to what XCode wants. * Only build epoll.c and epoll_sub.c on Linux. * Only build kqueue.c on Mac. * Add -framework AppKit to the link lines. * Add -fobjc-gc to Objective C compilation. * Add message_pump_mac.mm to the base input file list on Mac. * Build message_pump_libevent.cc on for base on both Linux and Mac. * Link against -levent on both Linux and Mac. Review URL: http://codereview.chromium.org/4254 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2555 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use WideToASCII because there is an IsStringASCIIwtc@google.com2008-09-241-1/+4
| | | | | | | | | | | assertion in WideToASCII. Since mime_type comes from an external source, we can't assert that it is 7-bit ASCII. R=darin BUG=b/1361712 Review URL: http://codereview.chromium.org/252 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2554 0039d316-1c4b-4281-b951-d872f2087c98
* This CL adds new UI tests for the SSL UI.jcampan@chromium.org2008-09-2437-123/+988
| | | | | | | | | | | | | | | | | | | | Some more info: SSL UI Tests: Added new tests for redirects and frames. Also improved the mixed-content test to exercise the "block mixed-contents" preference and the show info-bar. Automation: For the new UI tests, added methods to tab_proxy and browser_proxy. The ones of most interest are GetLastNavigatinTime and WaitForNavigation that ensures we wait for a navigation to occur or have occured when taking actions that asynchronously trigger navigations. Resource loading: Added a flag to the response we get when loading a resource that indicates whether that resource was filtered (blocked or altered) by the security peer. We use this flag to notify back the browser when we report a load has been committed. This is so the SSL manager knows a frame has been filtered (in which case we have no cert info but should not consider that as unsafe). BUG=2004 Review URL: http://codereview.chromium.org/3165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2553 0039d316-1c4b-4281-b951-d872f2087c98
* Set svn:ignore for generated *.pyc files in SCons.sgk@google.com2008-09-240-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2552 0039d316-1c4b-4281-b951-d872f2087c98
* Flatten the glue dependencies to accelerate build on a quad core. Webcore ↵maruel@google.com2008-09-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | has no custom build step so it can be bypassed. Glue localized_strings V8Bindings_prebuild V8Config WebCore WebCore libxml_config libxslt_config V8Bindings_prebuild V8Config To Glue libxml_config libxslt_config localized_strings V8Bindings_prebuild V8Config WebCore libxml_config libxslt_config V8Bindings_prebuild V8Config Review URL: http://codereview.chromium.org/4067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2551 0039d316-1c4b-4281-b951-d872f2087c98
* Replace duplicate compiler output lines when compiling shared C/C++ object ↵sgk@google.com2008-09-241-0/+2
| | | | | | | | files with the same "Compiling ..." messages we get when compiling static object files. Review URL: http://codereview.chromium.org/3802 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2550 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crash when a frame was inserted into a popup and navigated. I added abrettw@google.com2008-09-242-8/+48
| | | | | | | | | | | | test for this case. I also checked the other navigation cases to see if we were relying on state from the renderer (which might be malicious) and the controller being in sync, and I didn't see any others in this area. I clarified some comments so it should be more clearly correct. BUG=1279570 Review URL: http://codereview.chromium.org/4250 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2549 0039d316-1c4b-4281-b951-d872f2087c98
* When a bitmap allocation fails, do some checks that will crash in differentbrettw@google.com2008-09-241-1/+30
| | | | | | | | | | ways so we can get a better picture when looking at the crash reports of why the allocation might be failing. BUG=1275638 Review URL: http://codereview.chromium.org/3119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2548 0039d316-1c4b-4281-b951-d872f2087c98
* Some quick changes suggested by wtc in review.avi@google.com2008-09-241-1/+14
| | | | | | Review URL: http://codereview.chromium.org/4056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2547 0039d316-1c4b-4281-b951-d872f2087c98
* Enforce Terminate on Heap Corruption in most of our executable on Windows XP ↵maruel@google.com2008-09-2419-223/+262
| | | | | | | | | | | SP3 or Vista. This won't submit the crash dump but it's still better than nothing. Fix broken alignment on test_shell_main.cc. Review URL: http://codereview.chromium.org/3105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2546 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for mock DNS queries. This allows us to eliminatedarin@google.com2008-09-246-3/+155
| | | | | | | | | | | | | | flaky DNS queries from the unit tests. Note: some unit tests still connect to www.google.com. My plan is to resolve those in a subsequent CL. R=wtc BUG=2635 Review URL: http://codereview.chromium.org/4022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2545 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disable any use of Xlib in our code until we get the X developmentevanm@google.com2008-09-241-0/+6
| | | | | | | libs on the buildbots. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2544 0039d316-1c4b-4281-b951-d872f2087c98
* Don't require the ICU DLL on non-Windows platforms.evanm@google.com2008-09-241-1/+2
| | | | | | | (I'm not sure how this was building before...?) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2543 0039d316-1c4b-4281-b951-d872f2087c98
* Create a class for getting at processor information via thembelshe@google.com2008-09-244-0/+103
| | | | | | | | | | | | CPUID instruction. These will get used and integrated into the build in a future changelist. I debated on the naming of these. They are x86 processor specific. Suggestions on naming is welcome. Review URL: http://codereview.chromium.org/3199 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2542 0039d316-1c4b-4281-b951-d872f2087c98
* my efforts of porting webkit/tools/npapi_layout_test_plugin to Linuxevanm@google.com2008-09-245-43/+96
| | | | | | | | | | | | libnpapi_layout_test_plugin.so gets created, but I don't know how to check whether it works BUG=1327 Patch from Paweł Hajdan jr <phajdan.jr@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2541 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes the following bugs:-iyengar@google.com2008-09-242-5/+18
| | | | | | | | | | | | | | | | | | | 1. http://code.google.com/p/chromium/issues/detail?id=1473 2. http://code.google.com/p/chromium/issues/detail?id=1533 Our plugin implementation currently sends the containing frame URL as the default referer in HTTP requests initiated by plugins. Based on a discussion on the Plugin futures mailing list, an agreement has been reached to mimic IE behavior and send in the plugin source URL as the default referer in plugin requests. If the plugin is instantiated with an empty SRC, then use the containing frame URL as the referer. Bug=1473,1533 R=jam Review URL: http://codereview.chromium.org/3180 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2539 0039d316-1c4b-4281-b951-d872f2087c98
* Personalization pointer tweak.nick@chromium.org2008-09-242-11/+11
| | | | | | Review URL: http://codereview.chromium.org/4238 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2538 0039d316-1c4b-4281-b951-d872f2087c98
* Null out member so that it will be properly reset in StartLogging()jar@google.com2008-09-241-0/+1
| | | | | | | r=petersont Review URL: http://codereview.chromium.org/4242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2536 0039d316-1c4b-4281-b951-d872f2087c98
* Update v8 path for snapshot-empty.obj.sgk@google.com2008-09-241-1/+1
| | | | | | Review URL: http://codereview.chromium.org/4060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2535 0039d316-1c4b-4281-b951-d872f2087c98
* port some parts of webkit/glue/plugins/test to Linuxevanm@google.com2008-09-2411-77/+123
| | | | | | | | | | | these are not all parts (about a half), but still something BUG=1949 Patch from Paweł Hajdan jr <phajdan.jr@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2534 0039d316-1c4b-4281-b951-d872f2087c98
* Fix support for 204 responses that lack an explicit EOF.darin@google.com2008-09-233-14/+32
| | | | | | | | | BUG=2347 R=wtc Review URL: http://codereview.chromium.org/3085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2533 0039d316-1c4b-4281-b951-d872f2087c98
* Miscellaneous cleanup.wtc@google.com2008-09-233-39/+49
| | | | | | | | | | | | | | | | Removed an extraneous 'protected' in message_loop.h. Don't need to document Read and Write again in tcp_client_socket.h. They are documented in socket.h. Map more POSIX error codes. Check for EAGAIN as well as EWOULDBLOCK. Cleaned up error handling in DidCompleteConnect. R=dank Review URL: http://codereview.chromium.org/4234 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2532 0039d316-1c4b-4281-b951-d872f2087c98
* Add net\base\x509_certificate.cc to the SCons build.sgk@google.com2008-09-231-0/+1
| | | | | | Review URL: http://codereview.chromium.org/4240 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2531 0039d316-1c4b-4281-b951-d872f2087c98
* A crasher happens when restoring the focus as a result of switching tab, ↵jcampan@chromium.org2008-09-231-1/+5
| | | | | | | | | | | because the browser window does not have a focus manager. I am not sure how this could happen, this CL just bullet-proofs the code. BUG=1384044 Review URL: http://codereview.chromium.org/4054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2529 0039d316-1c4b-4281-b951-d872f2087c98
* Add an accessor to get the CPAPI main plugin thread's MessageLoop. Use thatmpcomplete@google.com2008-09-233-1/+12
| | | | | | | to fix a crash in renderer/chrome_plugin_host.cc. Review URL: http://codereview.chromium.org/4050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2528 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring out common code in the X.509 cert handlingavi@google.com2008-09-236-326/+219
| | | | | | Review URL: http://codereview.chromium.org/4040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2525 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the Mac TestShell following r2517mark@chromium.org2008-09-231-1/+2
| | | | | | Review URL: http://codereview.chromium.org/3402 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2524 0039d316-1c4b-4281-b951-d872f2087c98
* Make the Mac TestShell finish launching without crashing by hooking up mymark@chromium.org2008-09-231-3/+6
| | | | | | | MessagePump Review URL: http://codereview.chromium.org/4601 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2522 0039d316-1c4b-4281-b951-d872f2087c98
* Mac-specific CFRunLoop-based MessagePump implementationmark@chromium.org2008-09-235-7/+573
| | | | | | Review URL: http://codereview.chromium.org/444 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2521 0039d316-1c4b-4281-b951-d872f2087c98
* Try to re-land issue 3200cpu@google.com2008-09-231-7/+13
| | | | | | | | | - it was causing trouble in the distributed tests - now does not try to load the dll in headless configs Review URL: http://codereview.chromium.org/4233 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2520 0039d316-1c4b-4281-b951-d872f2087c98
* Removing the check for creation time on favorites when importing with IE.jcampan@chromium.org2008-09-232-18/+1
| | | | | | | | We were comparing the creation date of the favorite with the profile dir creation date, and ignoring the favorite if they were created around the same time (in an effort to get rid of IE defaults favorites). This was causing problems as some users seem to import their profile and have profile dir and favorites created at the same time. Review URL: http://codereview.chromium.org/4207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2518 0039d316-1c4b-4281-b951-d872f2087c98
* The ContextMenuCapturing.ContextMenuCapturing test from the test shell tests ↵jcampan@chromium.org2008-09-232-2/+4
| | | | | | | | | | | was broken. It was caused by my previous change 4043 (adding page info to right-click menu). I modified an API and did not propagate the change to test shell, so the default (empty) implementation was used. TBR=nsylvain Review URL: http://codereview.chromium.org/4235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2517 0039d316-1c4b-4281-b951-d872f2087c98
* SkRect.fTop should be set to the y coordinate of a CGRect, not the xamanda@chromium.org2008-09-231-2/+2
| | | | | | | | Patch contributed by James Vega <vega.james@gmail.com>. Original review: http://codereview.chromium.org/3198 Review URL: http://codereview.chromium.org/4230 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2513 0039d316-1c4b-4281-b951-d872f2087c98
* Add TestShell to the All target. Makes the Mac buildbot build TestShell.mark@chromium.org2008-09-231-0/+41
| | | | | | Review URL: http://codereview.chromium.org/4052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2511 0039d316-1c4b-4281-b951-d872f2087c98
* fix oopsdarin@chromium.org2008-09-231-4/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2510 0039d316-1c4b-4281-b951-d872f2087c98