summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reverting 20516 by re-landing this previous patch.brettw@chromium.org2009-07-1711-68/+146
| | | | | | | | | | | | | Keep the cairo clipping region in sync with the Skia one. The PlatformCanvas now tracks this, so we don't need to have the similar code in gfx::Canvas. I moved most references of cairo_surface_t to cairo_t since the cairo_t has a transform and clip but the surface does not. Review URL: http://codereview.chromium.org/149409 Review URL: http://codereview.chromium.org/155700 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20992 0039d316-1c4b-4281-b951-d872f2087c98
* Fix same crashy assumption that I fixed in r20967 later on in normal theme mode.erg@google.com2009-07-171-3/+6
| | | | | | Review URL: http://codereview.chromium.org/155709 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20991 0039d316-1c4b-4281-b951-d872f2087c98
* Flip screen coordinates when converting NSEvent to WebMouseEvent. Enable ↵pinkerton@chromium.org2009-07-172-3/+5
| | | | | | | | | | processing of events during drag. BUG=16909, 113616 TEST=dragging thumbnails works on NTP, dragging emails in gmail. Review URL: http://codereview.chromium.org/159021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20989 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: Add support for having a sparse entry block thatrvargas@google.com2009-07-176-49/+277
| | | | | | | | | | | | | | | | | | is not totally filled. This is required to allow two consecutive writes to fill a given range without caring about the actual start offset of the second one (as long as it is right where the first one ended). This CL also takes care of all pending TODOs of the sparse disk cache. Sparse disk cache support is now feature complete. BUG=12258 TEST=unittests Review URL: http://codereview.chromium.org/155590 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20988 0039d316-1c4b-4281-b951-d872f2087c98
* Set the default minimum font size webkit pref to 12 for Chinese and 10 for ↵jshin@chromium.org2009-07-176-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | ja,ko,ar and th. This will partly resolve [2] one of frequent complains of Chinese users (as long as they use Chinese Chrome). See http://www.google.com/support/forum/p/Chrome/thread?tid=389f306a52817110&hl=en Leave alone other UI language versions alone for now (Firefox has per-script/per-language min font size [1]). Eventually, there need to be per-script which requires the webkit change. [1] http://mxr.mozilla.org/seamonkey/search?string=font.minimum-size (note that Firefox does not set these values by default except for Thai, but offers a UI for a user to adjust). [2] See other issues (feature requests) mentioned in http://crbug.com/16868 BUG=16875 (http://crbug.com/16875) TEST=Open Chrome with '--lang=zh-CN' and go to http://www.popyard.org/ and Chinese characters are larger than before. Review URL: http://codereview.chromium.org/155607 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20987 0039d316-1c4b-4281-b951-d872f2087c98
* Disable text-encoding.html from Worker http layout tests, it appears to be ↵dimich@google.com2009-07-171-1/+1
| | | | | | | | | | unreliable. BUG=16934 TEST=none TBR=sverrir@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20986 0039d316-1c4b-4281-b951-d872f2087c98
* Changes the width of pinned tabs to be slightly bigger.sky@chromium.org2009-07-172-22/+12
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/155701 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20985 0039d316-1c4b-4281-b951-d872f2087c98
* Remove calls to deprecated APIs so that Chromium compiles on all ↵avi@chromium.org2009-07-172-2/+22
| | | | | | | | | | | currently-future versions of OS X. BUG=none TEST=compile on a future version of OS X. Should build. Review URL: http://codereview.chromium.org/155704 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20984 0039d316-1c4b-4281-b951-d872f2087c98
* Fix comment for posix LaunchApp wrt PATH searching.mattm@chromium.org2009-07-171-2/+2
| | | | | | | | | | | (Behavior was changed in r4515 but the comment wasn't updated to match.) BUG=none TEST=none Review URL: http://codereview.chromium.org/159022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20983 0039d316-1c4b-4281-b951-d872f2087c98
* Pulling newer gyp version.bradnelson@chromium.org2009-07-171-1/+1
| | | | | | | | | | | BUG=None TEST=None TBR=sgk Review URL: http://codereview.chromium.org/159015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20982 0039d316-1c4b-4281-b951-d872f2087c98
* Fix line endings.brettw@chromium.org2009-07-173-250/+250
| | | | | | Review URL: http://codereview.chromium.org/155702 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20981 0039d316-1c4b-4281-b951-d872f2087c98
* Remove 6- and 7-parameter IPC message macros. Replace with a struct that ↵dimich@google.com2009-07-177-133/+85
| | | | | | | | | | packs parameters. BUG=16685 TEST=none Review URL: http://codereview.chromium.org/149775 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20980 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress both leaks mentioned in bug16625 on both mac and linux.dkegel@google.com2009-07-171-0/+11
| | | | | | | | | BUG=16625 TEST=run UtilityProcessHostTest.ExtensionUnpacker under valgrind 40 times, verify no leaks reported Review URL: http://codereview.chromium.org/159014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20979 0039d316-1c4b-4281-b951-d872f2087c98
* linux: splash page updateevan@chromium.org2009-07-172-32/+33
| | | | | | | | Mention how to turn on plugins. Review URL: http://codereview.chromium.org/159016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20978 0039d316-1c4b-4281-b951-d872f2087c98
* This matches the behavior on Windows. Also this change lets user close ↵kuchhal@chromium.org2009-07-172-0/+15
| | | | | | | | | | | Chrome by clicking 'x' button even if a popup (for example - bookmark bubble) is open. BUG=NONE TEST=1. Click on bookmark star button to open bookmark bubble. Switch focus to some other Window, bubble should close automatically. 2. Click on bookmark star button to open bookmark bubble. Close chrome by clicking on Window close button ('x') and Chrome should close. Review URL: http://codereview.chromium.org/149757 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20977 0039d316-1c4b-4281-b951-d872f2087c98
* Change revision number in deps and deps_gyp after commit pdiff in ↵yux@google.com2009-07-172-2/+2
| | | | | | | | third_party folder. Review URL: http://codereview.chromium.org/155699 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20976 0039d316-1c4b-4281-b951-d872f2087c98
* Add a CallbackWithReturnValue as a convenient method of calling callback ↵jam@chromium.org2009-07-173-0/+78
| | | | | | | | functions with no arguments and a return value. This is useful in calling all of the getters we have in the code, instead of creating wrapper functions that take a pointer argument. Review URL: http://codereview.chromium.org/155630 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20975 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt to re-enable the http worker tests. I can't repro the 'flak' so I'm ↵dimich@google.com2009-07-171-1/+1
| | | | | | | | | | going to enable them and watch closely. BUG=16934 TEST=none Review URL: http://codereview.chromium.org/149763 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20974 0039d316-1c4b-4281-b951-d872f2087c98
* Need to cleanup first run dialog on cancellation too.kuchhal@chromium.org2009-07-171-3/+4
| | | | | | | | Fixing what r20898 broke. Review URL: http://codereview.chromium.org/155676 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20973 0039d316-1c4b-4281-b951-d872f2087c98
* Update V8 to version 1.2.14.5.ager@chromium.org2009-07-171-1/+1
| | | | | | | | | | | The only change is adding a missing handle scope to make sure that we do not leak handles. TBR=kasperl@chromium.org TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20972 0039d316-1c4b-4281-b951-d872f2087c98
* NNTP: Fix issue where focused buttons where not distinguisgable fromarv@google.com2009-07-171-5/+10
| | | | | | | | | | | | | non focused buttons. BUG=16973 TEST=Tab to the buttons at the top of the NNTP. They should have a *outlined* look (same as hover). Review URL: http://codereview.chromium.org/159013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20971 0039d316-1c4b-4281-b951-d872f2087c98
* Another occasional leak in WebCore::HTMLNames::init()dkegel@google.com2009-07-171-1/+13
| | | | | | | | | BUG=16579 TEST=run ui tests all day, verify no reported leaks :-) Review URL: http://codereview.chromium.org/159008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20970 0039d316-1c4b-4281-b951-d872f2087c98
* Converts a couple of by value return types to const ref returnssky@chromium.org2009-07-171-4/+3
| | | | | | | | | | | types. Also expands on the documentation of GetViewForPoint. BUG=none TEST=none Review URL: http://codereview.chromium.org/149723 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20969 0039d316-1c4b-4281-b951-d872f2087c98
* Roll googleurl DEPS forward to 109.willchan@chromium.org2009-07-171-1/+1
| | | | | | | | BUG=http://crbug.com/16559 Review URL: http://codereview.chromium.org/159012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20968 0039d316-1c4b-4281-b951-d872f2087c98
* Fix occasional crash at startup in gtk_chrome_button_expose.erg@google.com2009-07-171-2/+3
| | | | | | Review URL: http://codereview.chromium.org/155697 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20967 0039d316-1c4b-4281-b951-d872f2087c98
* Silence compile errors on some compilers by checking return value of fwrite.estade@chromium.org2009-07-171-4/+13
| | | | | | | | | | | hat tip to spotrh BUG=16948 TEST=none Review URL: http://codereview.chromium.org/149786 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20966 0039d316-1c4b-4281-b951-d872f2087c98
* Added an observer for 'pref::kDefaultCharset' change I forgot to add in ↵jshin@chromium.org2009-07-172-3/+26
| | | | | | | | | | | | | | | | | | | r15113 (http://src.chromium.org/viewvc/chrome?view=rev&revision=15113) . Besides, set referrer_charset_ (used in guessing the C-D charset in GetFileNameFromCD) to pref::kDefaultCharset without any q values appended. TEST=1. Set the default charset in Options | Advanced | Fonts & Languages to ISO-8859-1. 2. Type http://i18nl10n.com/moztest/random21.yyy in the omnibox and the filename in the download bar should start with "횉횗짹횤21" 3. Change the default charset to Korean 4. Try #2 again and the filename in the download bar should start with '?쒓?21'. BUG=1148 (http://crbug.com/1148 ) Review URL: http://codereview.chromium.org/149705 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20965 0039d316-1c4b-4281-b951-d872f2087c98
* Qurey redirects when a thumbnail is set.meelapshah@chromium.org2009-07-174-25/+107
| | | | | | | | Update list of most visited URLs on an exponential timer, resetting when the history is cleared. Review URL: http://codereview.chromium.org/155619 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20964 0039d316-1c4b-4281-b951-d872f2087c98
* linux: obey standard system paths for pluginsevan@chromium.org2009-07-171-3/+20
| | | | | | | | | | | | This logic comes from carefully reading what Mozilla does. We're still behind the flag --enable-plugins so this won't turn on plugins for users anymore. BUG=15504 Review URL: http://codereview.chromium.org/155594 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20963 0039d316-1c4b-4281-b951-d872f2087c98
* More bad ipc message handling for RenderWidgetHostcpu@google.com2009-07-172-5/+18
| | | | | | | | | | | - For input handling so far BUG=16673 TEST=unit test included Review URL: http://codereview.chromium.org/155613 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20962 0039d316-1c4b-4281-b951-d872f2087c98
* Linux sandbox: comment typo fix.agl@chromium.org2009-07-171-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20961 0039d316-1c4b-4281-b951-d872f2087c98
* Small improvements to the hello world tutorial.kathyw@google.com2009-07-174-13/+36
| | | | | | | | | | | | Still not done yet. BUG=none TEST=none TBR=aa Review URL: http://codereview.chromium.org/155696 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20960 0039d316-1c4b-4281-b951-d872f2087c98
* Implement SetSize for valid size requests.avi@chromium.org2009-07-171-6/+19
| | | | | | | | | BUG=http://crbug.com/15334 TEST=type in a popup containing more than one item; as the number of items decreases, the list should properly shrink and draw itself. Review URL: http://codereview.chromium.org/155694 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20959 0039d316-1c4b-4281-b951-d872f2087c98
* Move into browser/cocoa from browser/pinkerton@chromium.org2009-07-172-1/+1
| | | | | | | | BUG=15475 TEST=none Review URL: http://codereview.chromium.org/155690 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20958 0039d316-1c4b-4281-b951-d872f2087c98
* Fix wayward Q left over from debugging.dkegel@google.com2009-07-171-1/+1
| | | | | | | | TBR=stuart Review URL: http://codereview.chromium.org/159007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20957 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce number of slices when running UI tests under purifyhuanr@chromium.org2009-07-171-2/+2
| | | | | | | | | BUG=16006 TEST=none. Review URL: http://codereview.chromium.org/149794 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20956 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a leak in [LinkInfoBarController addAdditionalControls].rohitrao@chromium.org2009-07-172-32/+2
| | | | | | | | | | | | Removes the valgrind suppression for this leak. Valgrind: 1, rohitrao: 0 BUG=17002 TEST=No more leaky. Review URL: http://codereview.chromium.org/159005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20955 0039d316-1c4b-4281-b951-d872f2087c98
* Reland http://codereview.chromium.org/155465dank@chromium.org2009-07-172-17/+7
| | | | | | | | | | | Bug 15762 happens on Linux, too, so move suppression to generic file. Also trim unneeded end of stack. BUG=15762 TEST=watch valgrind test_shell_tests go greener on linux (and not redder on mac) Review URL: http://codereview.chromium.org/155658 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20954 0039d316-1c4b-4281-b951-d872f2087c98
* Unbreak demangling on macdank@chromium.org2009-07-171-1/+2
| | | | | | Review URL: http://codereview.chromium.org/155659 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20953 0039d316-1c4b-4281-b951-d872f2087c98
* Add JS Console menu item to View > Developer submenu. Remove extra Downloads ↵pinkerton@chromium.org2009-07-171-42/+79
| | | | | | | | | | menu from View. Add stub menu item for Task Manager (disable). BUG=16135 TEST=js console opens Review URL: http://codereview.chromium.org/149677 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20952 0039d316-1c4b-4281-b951-d872f2087c98
* Adds languages supported by the platform spellchecker to the rightpinkerton@chromium.org2009-07-175-5/+85
| | | | | | | | | | | click menu. Also includes a couple of methods which will be needed once support for the spelling panel is finished. Patch from Paul Wicks (pwicks86@gmail.com) BUG=NONE TEST=Context menu on the mac should show and allow switching between languages for the spellchecker git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20951 0039d316-1c4b-4281-b951-d872f2087c98
* Fix merge error (benign) from r20910rafaelw@chromium.org2009-07-172-2/+1
| | | | | | | | TBR=mpcomplete Review URL: http://codereview.chromium.org/149783 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20948 0039d316-1c4b-4281-b951-d872f2087c98
* Temporary suppression for infobar leaknirnimesh@chromium.org2009-07-171-0/+29
| | | | | | | | | BUG=17002 TBR=rohitrao Review URL: http://codereview.chromium.org/159004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20947 0039d316-1c4b-4281-b951-d872f2087c98
* Add the dep for the mac dir within test_shell where its needed.thomasvl@chromium.org2009-07-172-4/+3
| | | | | | | | BUG=12149 TEST=checkdeps should still pass Review URL: http://codereview.chromium.org/155673 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20946 0039d316-1c4b-4281-b951-d872f2087c98
* Update V8 in Chromium to version 1.2.14.4. This includes an kasperl@google.com2009-07-171-1/+1
| | | | | | | | | | | optimization to make access to internal fields on JavaScript objects through the V8 API faster. BUG=none TEST=none Review URL: http://codereview.chromium.org/159002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20945 0039d316-1c4b-4281-b951-d872f2087c98
* A quick fix for Issue 13711 (the second part)hbono@chromium.org2009-07-171-1/+88
| | | | | | | | | | | | | | Because of a hard-disk problem, I lost the original change. So, I would like to send another change for this fix. This is the second part of the fix for Issue 13711. On non-ASCII keyboards (e.g. Russian and Hebrew), |event->keyval| represents a non-ASCII value that BrowserWindowGtk::HandleAccelerator() cannot handle. To fix this issue, this change uses |event->hardware_keycode| to retrieve its ASCII value before calling BrowserWindowGtk::HandleAccelerator(). BUG=13711 "Alt-D does not work when in editbox" TEST=Type alt+d keys on a Russian keyboard and verify the input focus is moved to an onmibox. Review URL: http://codereview.chromium.org/155555 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20944 0039d316-1c4b-4281-b951-d872f2087c98
* Update V8 in Chromium to version 1.2.14.3 to fix subtle linkingkasperl@google.com2009-07-171-1/+1
| | | | | | | | | | | issues on Mac OS caused by inlining functions containing static variables. BUG=http://code.google.com/p/v8/issues/detail?id=404 TEST=none Review URL: http://codereview.chromium.org/155683 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20943 0039d316-1c4b-4281-b951-d872f2087c98
* Set window icon on task manager.estade@chromium.org2009-07-171-0/+1
| | | | | | | | | | patch by <joel.stan@gmail.com> original review url: http://codereview.chromium.org/155677 Review URL: http://codereview.chromium.org/149797 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20942 0039d316-1c4b-4281-b951-d872f2087c98
* A small start: add icons to the extension manifest.aa@chromium.org2009-07-178-11/+84
| | | | | | Review URL: http://codereview.chromium.org/155662 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20941 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a crash in the plugin process caused by the XStandard plugin passing ↵ananta@chromium.org2009-07-171-0/+24
| | | | | | | | | | | | | | in a NULL NPObject to NPN_HasMethod. I checked out Firefox's implementation and they check for NULL NPObjects in all functions except NPN_Evaluate and NPN_SetException. Fix is to emulate Firefox behavior. Fixes http://code.google.com/p/chromium/issues/detail?id=16900 Bug=16900 Review URL: http://codereview.chromium.org/155628 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20940 0039d316-1c4b-4281-b951-d872f2087c98