summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Draw custom buttons in toolbar.evan@chromium.org2009-02-112-42/+151
| | | | | | | | | The menu buttons aren't quite right yet, but the rest seem pretty good. Review URL: http://codereview.chromium.org/20252 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9548 0039d316-1c4b-4281-b951-d872f2087c98
* Port some strings in download/save_package.ccestade@chromium.org2009-02-115-197/+158
| | | | | | Review URL: http://codereview.chromium.org/23004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9547 0039d316-1c4b-4281-b951-d872f2087c98
* Fix linux buildestade@chromium.org2009-02-111-1/+2
| | | | | | | | tbr=jeremy Review URL: http://codereview.chromium.org/21241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9546 0039d316-1c4b-4281-b951-d872f2087c98
* Under the OS X Sandbox, some system calls are blocked.jeremy@chromium.org2009-02-113-3/+26
| | | | | | | | This CL adds a facility to cache system info values on renderer startup. Review URL: http://codereview.chromium.org/20250 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9545 0039d316-1c4b-4281-b951-d872f2087c98
* Back out parts of r9537 to fix Linux build bustage.jeremy@chromium.org2009-02-111-22/+14
| | | | | | Review URL: http://codereview.chromium.org/20249 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9544 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a potential infinite loop in TabRestoreUITest.RestoreToDifferentWindow.patrick@chromium.org2009-02-111-0/+1
| | | | | | | The variable tab_count is never changed inside the while loop. Review URL: http://codereview.chromium.org/21200 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9543 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure we copy the file descriptor set when assigning IPC::Messagespaul@chromium.org2009-02-111-0/+3
| | | | | | | on posix. Review URL: http://codereview.chromium.org/20248 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9542 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a browser crash when the URLRequestChromeJob goes awayrvargas@google.com2009-02-111-2/+4
| | | | | | | | | | from the NotifyReadComplete notification. BUG=7485 Review URL: http://codereview.chromium.org/20162 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9541 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a browser crash when the async resource handler keeps anrvargas@google.com2009-02-112-1/+8
| | | | | | | | | | | | | | | | IOBuffer after a failed attempt to send the data to a (now gone) renderer. The shared memory section is unmapped so the buffer must not be kept around and possibly re-used. I'm also fixing a leak reported by purify. BUG=7487 BUG=7374 Review URL: http://codereview.chromium.org/21222 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9540 0039d316-1c4b-4281-b951-d872f2087c98
* Unittest gardening on MacOS X:shess@chromium.org2009-02-116-33/+34
| | | | | | | | | | | | | | | | | | | | - base/gfx/rect_unittest.cc had a typo - base/waitable_event_watcher_unittest.cc enabled - chrome/common/pref_member_unittest.cc enabled - chrome/common/json_value_serializer_unittest.cc had a Windows-only bit which currently works fine on Mac. - These worked once an anonymous namespace was cleared up: chrome/browser/history/query_parser_unittest.cc chrome/browser/history/url_database_unittest.cc chrome/common/json_value_serializer_unittest.cc Some required minor editting to remove anonymous namespaces for test classes. Review URL: http://codereview.chromium.org/20241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9539 0039d316-1c4b-4281-b951-d872f2087c98
* These tests look to me like they expect the form control metrics from before ↵finnur@google.com2009-02-1113-1439/+1459
| | | | | | | | we removed theform control test_shell hack. Review URL: http://codereview.chromium.org/21239 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9538 0039d316-1c4b-4281-b951-d872f2087c98
* * Fix error checking for mmap() for POSIX shared memory.jeremy@chromium.org2009-02-112-15/+25
| | | | | | | | * Make fd-over-IPC test send multiple FDs. Review URL: http://codereview.chromium.org/21238 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9537 0039d316-1c4b-4281-b951-d872f2087c98
* Maintain a refcounted AutomationProvider pointer in the ↵ananta@chromium.org2009-02-112-4/+22
| | | | | | | | | | | | | | | | | | ExternalTabContainer. This ensures that we don't crash the browser while trying to dereference a freed AutomationProvider pointer. When a Chrome browser instance starts up, we attempt to locate an already running instance and defer to it to complete the navigation request. However it is quite possible for the running instance to exit while we attempt to send a WM_COPYDATA message to it. This caused a bunch of ASSERTS to fire off in the browser. Fixes as below:- 1. If GetWindowThreadProcessId fails, we bail out and try to launch a new chrome instance 2. If SendMessageTimeout fails, we check if the window is still valid. If not we bail out and try to launch a new chrome instance. 3. We return an error from the WM_COPYDATA handler if the chrome instance is in the process of shutting down. We handle this at the caller end, i.e. in NotifyOtherProcess. Bug=1643310 Review URL: http://codereview.chromium.org/23016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9536 0039d316-1c4b-4281-b951-d872f2087c98
* Looks like some of these tests still fail on Linux.darin@chromium.org2009-02-111-0/+3
| | | | | | | | | | See http://codereview.chromium.org/21226 for the code review. This CL is just a copy of that one. TBR=tony git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9535 0039d316-1c4b-4281-b951-d872f2087c98
* More re-baselining. The image results only differ by a few pixels, presumablydarin@chromium.org2009-02-1123-28/+19
| | | | | | | | | | | caused by rounding differences now that TransformationMatrix uses doubles instead of floats. R=finnur Review URL: http://codereview.chromium.org/20239 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9534 0039d316-1c4b-4281-b951-d872f2087c98
* Make browsing_data_remover.cc compile on Mac and Linux.jhawkins@chromium.org2009-02-114-6/+49
| | | | | | Review URL: http://codereview.chromium.org/21232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9533 0039d316-1c4b-4281-b951-d872f2087c98
* Revert cl 9528 to fix mac test_shell_testsrvargas@google.com2009-02-1018-314/+282
| | | | | | Review URL: http://codereview.chromium.org/21236 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9532 0039d316-1c4b-4281-b951-d872f2087c98
* Fill in more gtk callbacks in RenderWidgetHostViewGtk.estade@chromium.org2009-02-101-3/+15
| | | | | | | | Mostly ripped directly from WebWidgetHostGtk. Review URL: http://codereview.chromium.org/24009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9531 0039d316-1c4b-4281-b951-d872f2087c98
* Re-revert change 9439. The original change 9439 was revertediposva@google.com2009-02-102-1/+5
| | | | | | | | | | because one of the debugger tests failed. I filed a V8 issue to fix the debugger tests properly: http://code.google.com/p/v8/issues/detail?id=230 Review URL: http://codereview.chromium.org/21235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9530 0039d316-1c4b-4281-b951-d872f2087c98
* Defers LayoutTests/fast/js/pic/cached-prototype-setter.html as it issky@google.com2009-02-101-1/+1
| | | | | | | | | | | was failing before beta. BUG=none TEST=none Review URL: http://codereview.chromium.org/21234 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9529 0039d316-1c4b-4281-b951-d872f2087c98
* Extend the IOBuffer to the disk cache.rvargas@google.com2009-02-1018-282/+314
| | | | | | | | This is cleanup from bug 5325. Review URL: http://codereview.chromium.org/20134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9528 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt at preventing a crasher.jcampan@chromium.org2009-02-101-0/+15
| | | | | | | | | | In some cases TaskManagerResource can still be alive and pointing to a deleted WebContents, not sure how it can happen. Now also listening for TabContent destruction notifications in case we are missing the WebContents one for some reason. BUG=7321 Review URL: http://codereview.chromium.org/21233 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9527 0039d316-1c4b-4281-b951-d872f2087c98
* Optionally support URLPatterns in standalone useraa@chromium.org2009-02-103-19/+86
| | | | | | | | | | | scripts via the @match declaration. In the future, maybe @include will be deprecated and result in a warning. Review URL: http://codereview.chromium.org/20127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9526 0039d316-1c4b-4281-b951-d872f2087c98
* Marks LayoutTests/http/tests/ssl/verify-ssl-enabled.php as passing (assky@google.com2009-02-101-4/+4
| | | | | | | | | | | | | | | | | | it hasn't failed on the release bot in ages). Defers these two: LayoutTests/fast/js/comparefn-sort-stability.html LayoutTests/fast/js/sort-stability.html as we may never support this behavior. And lastly this defers LayoutTests/http/tests/appcache. BUG=none TEST=none Review URL: http://codereview.chromium.org/20240 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9525 0039d316-1c4b-4281-b951-d872f2087c98
* Adds two install strings for translationcpu@google.com2009-02-102-0/+12
| | | | | | | | | | | | - alternate shortcut name for OEM install - tooltips for our shortcuts BUG=b/1640034 BUG=b/1522969 Review URL: http://codereview.chromium.org/20195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9524 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: add missing NOTIMPLEMENTEDagl@chromium.org2009-02-101-0/+1
| | | | | | | | | When I stubbed out IsLinkVisitied, I didn't add a NOTIMPLEMENTED. Review URL: http://codereview.chromium.org/21224 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9523 0039d316-1c4b-4281-b951-d872f2087c98
* Turn on Mac cursor support now that we're already linking in the world.avi@chromium.org2009-02-102-8/+19
| | | | | | Review URL: http://codereview.chromium.org/21227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9522 0039d316-1c4b-4281-b951-d872f2087c98
* One more layout test...finnur@google.com2009-02-102-17/+6
| | | | | | | | | | | | WebKit's r40672 merged EventTargetNode up into Node, so the expectations for the test has changed (they output 1 fewer node). This matches WebKit's expected result change. Review URL: http://codereview.chromium.org/20236 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9521 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaselines the testsky@google.com2009-02-104-74/+72
| | | | | | | | | | | | | LayoutTests/http/tests/navigation/redirect302-basic.html . As far as I could tell the only difference is form controls. The baseline is likely very old. BUG=none TEST=none Review URL: http://codereview.chromium.org/21230 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9520 0039d316-1c4b-4281-b951-d872f2087c98
* Add test to check that FDs are sent through the OS X Sandbox ok.jeremy@chromium.org2009-02-104-30/+119
| | | | | | Review URL: http://codereview.chromium.org/21223 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9519 0039d316-1c4b-4281-b951-d872f2087c98
* Move opener/group relationship forgetting on navigation into TabStripModel ↵ben@chromium.org2009-02-105-49/+168
| | | | | | | | from browser, and write unit tests for it. Review URL: http://codereview.chromium.org/20233 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9518 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 9493.kuchhal@chromium.org2009-02-1035-329/+173
| | | | | | Review URL: http://codereview.chromium.org/21231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9517 0039d316-1c4b-4281-b951-d872f2087c98
* Upping the version of trunk because we are abandoning the 2.0.161.0 tree.jon@chromium.org2009-02-101-1/+1
| | | | | | | M VERSION git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9516 0039d316-1c4b-4281-b951-d872f2087c98
* Remove p13n from chrome_dll.rctim@chromium.org2009-02-101-4/+0
| | | | | | Review URL: http://codereview.chromium.org/20232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9514 0039d316-1c4b-4281-b951-d872f2087c98
* Make character_encoding.cc compile on Mac and Linux.jhawkins@chromium.org2009-02-103-3/+3
| | | | | | Review URL: http://codereview.chromium.org/21220 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9513 0039d316-1c4b-4281-b951-d872f2087c98
* MovePluginWindows should always be called, even if suppress_view_updating_ ↵jam@chromium.org2009-02-101-4/+6
| | | | | | | | | is true. This fixes a regression when the code got refactored. BUG=7541 Review URL: http://codereview.chromium.org/20211 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9512 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build. I merged the .sln files wrong and lost thetc@google.com2009-02-102-2/+2
| | | | | | | | | | generated_resources.vcproj rename. TBR=deanm Review URL: http://codereview.chromium.org/20235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9511 0039d316-1c4b-4281-b951-d872f2087c98
* Disable battery power detection on POSIX since we don't currently use it.jeremy@chromium.org2009-02-102-203/+219
| | | | | | | | Batter Power is used on Windows to toggle HiRest timers, but this isn't applicable on other platforms. Review URL: http://codereview.chromium.org/21187 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9510 0039d316-1c4b-4281-b951-d872f2087c98
* Remove duplicate from tests_fixable.txt.tc@google.com2009-02-101-4/+1
| | | | | | | | | TBR=jcampan Review URL: http://codereview.chromium.org/20234 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9509 0039d316-1c4b-4281-b951-d872f2087c98
* Re-applying r9486 module accidental local changes.dglazkov@google.com2009-02-105-113/+20
| | | | | | | | | | | This was http://codereview.chromium.org/20200, but then I accidentally started making more edits to v8_custom.cpp. TBR=darin Review URL: http://codereview.chromium.org/20228 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9508 0039d316-1c4b-4281-b951-d872f2087c98
* Switch from HWNDs to NativeViews, take 2. (First attempt was r9409, in which ↵avi@chromium.org2009-02-1019-62/+64
| | | | | | | | I missed a file.) Review URL: http://codereview.chromium.org/20226 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9507 0039d316-1c4b-4281-b951-d872f2087c98
* Do some more work on RenderWidgetHostViewGtkestade@chromium.org2009-02-102-75/+92
| | | | | | | | | | * hook up mouse presses * hook up resizes * move gtk widget code into a container class (a la WebWidgetHostGtk) Review URL: http://codereview.chromium.org/20230 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9506 0039d316-1c4b-4281-b951-d872f2087c98
* Disable context menu item "Open image in new tab" from context menu for ↵sidchat@google.com2009-02-101-0/+8
| | | | | | | | | | thumbnail images for Most Visited page. Issue=2608 Review URL: http://codereview.chromium.org/24003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9505 0039d316-1c4b-4281-b951-d872f2087c98
* Rename the localized_strings vcproj file to webkit_stringstc@google.com2009-02-108-10/+10
| | | | | | | | | | | | | as that is a more accurate name. I'm going to next rename the generated_resources.vcproj file to chrome_strings so I can introduce a chrome_resources.vcproj which is for things like browser_resources, common_resources, renderer_resources and theme_resources. Review URL: http://codereview.chromium.org/21202 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9504 0039d316-1c4b-4281-b951-d872f2087c98
* Rename generated_resources.vcproj to chrome_strings.vcproj. Thistc@google.com2009-02-103-4/+4
| | | | | | | | | | | | is more accurate and after issue 21202 lands, more parallel with the naming in webkit. This will also make it less confusing once I add chrome_resources.vcproj. Review URL: http://codereview.chromium.org/21218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9503 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing two layout tests.finnur@google.com2009-02-107-7/+23
| | | | | | | | | | | | | | | | | One new test (fast/runin/002.html) was added and needed a baseline since the only difference is in font metrics. Expectations for fast/inline/percentage-margins changed upstream. The change log just says it is rebaselined "due to recent changes", but when I compare the changes they are identical (left side moves 4 pixels to the left and the right moves 8 pixels to the left). Review URL: http://codereview.chromium.org/21219 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9502 0039d316-1c4b-4281-b951-d872f2087c98
* Switch the Mac accessor method name to match the GTK one (consistency is good).avi@chromium.org2009-02-103-6/+2
| | | | | | Review URL: http://codereview.chromium.org/21221 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9501 0039d316-1c4b-4281-b951-d872f2087c98
* Clean-up of tests_fixable.txt per Pam suggestions.jcampan@chromium.org2009-02-101-2/+2
| | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/20201 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9498 0039d316-1c4b-4281-b951-d872f2087c98
* Simple "dump render tree" rebaselines to account for cases where the precisiondarin@chromium.org2009-02-1028-297/+269
| | | | | | | | | | | of printed floating point values changed (e.g., "30.00" is now "30" in some cases). R=finnur Review URL: http://codereview.chromium.org/20223 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9497 0039d316-1c4b-4281-b951-d872f2087c98
* Remove tab_util from scaffolding.paul@chromium.org2009-02-104-26/+2
| | | | | | Review URL: http://codereview.chromium.org/20207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9495 0039d316-1c4b-4281-b951-d872f2087c98