summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* chrome_canvas: fork into platform independent/dependent filesagl@chromium.org2008-12-127-420/+108
| | | | | | | | | | | | A previous commit duplicated chrome_canvas_win.cc from chrome_canvas.cc. Delete the Windows specific functions from chrome_canvas.cc and delete the generic functions from chrome_canvas.cc. Implement Skia versions of the Windows specific functions in chrome_canvas_skia.cc. Review URL: http://codereview.chromium.org/13779 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6908 0039d316-1c4b-4281-b951-d872f2087c98
* Fix onblur= handelers getting called on popup window creation. This ↵erg@google.com2008-12-121-1/+4
| | | | | | | | | regressed in r5417. ISSUE=http://crbug.com/4737 Review URL: http://codereview.chromium.org/13271 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6907 0039d316-1c4b-4281-b951-d872f2087c98
* Rename chrome_font.cc to chrome_font_win.cc in the scons build.tc@google.com2008-12-121-1/+1
| | | | | | | | | TBR=agl Review URL: http://codereview.chromium.org/13792 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6905 0039d316-1c4b-4281-b951-d872f2087c98
* Makes open all work again on the bookmark bar's context menu.sky@google.com2008-12-121-0/+1
| | | | | | | | | | BUG=4540 TEST=Right click on the bookmark bar (not over a button) and make sure open all opens all the bookmarks on the bookmark bar. Review URL: http://codereview.chromium.org/13790 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6904 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes bookmark menus so that they align properly when rtl.sky@google.com2008-12-121-4/+9
| | | | | | | | | BUG=5418 TEST=see bug Review URL: http://codereview.chromium.org/14053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6902 0039d316-1c4b-4281-b951-d872f2087c98
* Changes bookmark manager's import to show a description in the filessky@google.com2008-12-123-16/+37
| | | | | | | | | | | | | | | of type instead of *.html. BUG=4479 TEST=Bring up the bookmark manager, click tools->import. Make sure the import dialog 'files of type' has something like 'Chrome Document' (although this depends upon your registry), and that selecting it shows all html and htm files. Additionally make sure you have 'all files' in the 'files of type' combobox too. Review URL: http://codereview.chromium.org/14025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6890 0039d316-1c4b-4281-b951-d872f2087c98
* Port flush_cache tool and perf_tests.phajdan.jr@chromium.org2008-12-127-132/+139
| | | | | | | | | BUG=4160,4263 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=6815 Review URL: http://codereview.chromium.org/9639 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6886 0039d316-1c4b-4281-b951-d872f2087c98
* browser porting, part 2 - importerphajdan.jr@chromium.org2008-12-1213-47/+216
| | | | | | Review URL: http://codereview.chromium.org/12688 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6885 0039d316-1c4b-4281-b951-d872f2087c98
* Apply svn:executable to .py files which should have it.phajdan.jr@chromium.org2008-12-1215-5/+8
| | | | | | Review URL: http://codereview.chromium.org/14012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6884 0039d316-1c4b-4281-b951-d872f2087c98
* Once we've decided that a path doesn't exist, reserve it by creating an ↵abarth@chromium.org2008-12-122-24/+25
| | | | | | | | | | | empty file so that we don't later think that the same path doesn't exist. BUG=3662 R=paulg Review URL: http://codereview.chromium.org/13336 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6878 0039d316-1c4b-4281-b951-d872f2087c98
* Duplicate chrome_canvas.cc in preparation for forking the file.agl@chromium.org2008-12-121-0/+405
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6875 0039d316-1c4b-4281-b951-d872f2087c98
* Rename chrome_font.cc to chrome_font_win.ccagl@chromium.org2008-12-122-1/+1
| | | | | | | | | TBR=evan Review URL: http://codereview.chromium.org/14039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6874 0039d316-1c4b-4281-b951-d872f2087c98
* ...agl@chromium.org2008-12-125-17/+28
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6872 0039d316-1c4b-4281-b951-d872f2087c98
* ...agl@chromium.org2008-12-121-0/+57
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6871 0039d316-1c4b-4281-b951-d872f2087c98
* ...agl@chromium.org2008-12-121-0/+147
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6870 0039d316-1c4b-4281-b951-d872f2087c98
* ...agl@chromium.org2008-12-125-29/+98
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6869 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce the amount of space between the location bar and the bookmark bar by ↵glen@chromium.org2008-12-124-14/+34
| | | | | | | | allowing the bookmark bar to overlap the toolbar when 'always shown'. This reduces the total height of the toolbar stack by 4 pixels and makes it look better. Review URL: http://codereview.chromium.org/12668 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6868 0039d316-1c4b-4281-b951-d872f2087c98
* Change version to 1.0.155.0mal@chromium.org2008-12-121-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6862 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure that the directory has a trailing separator when highlightingpaulg@google.com2008-12-121-0/+5
| | | | | | | | | | | | | | a file in Windows Explorer. IShellFolder::ParseDisplayName will fail when the directory is a raw drive letter like "C:" instead of "C:\\". This situation can occur if a user downloads a file to the "C:" directory and then attempts to run the UI command "Show in folder". BUG = http://crbug.com/4396 Review URL: http://codereview.chromium.org/14030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6859 0039d316-1c4b-4281-b951-d872f2087c98
* Move to using data URLs for unload tests and generallyojan@google.com2008-12-118-144/+95
| | | | | | | | cleanup the unload tests in preparation for adding in tests for beforeunload. Review URL: http://codereview.chromium.org/14017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6839 0039d316-1c4b-4281-b951-d872f2087c98
* Changes new tab page to show recently closed window correctly.sky@google.com2008-12-113-12/+98
| | | | | | | | | BUG=4804 TEST=none Review URL: http://codereview.chromium.org/13760 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6836 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ViewHandle to NativeView et al.agl@chromium.org2008-12-114-4/+4
| | | | | | | | | | | ViewHandle is a very unfortunate name when we actually start dealing with views, so we are renaming the cross-platform typedefs to make it clear that they refer to platform specific native UI elements. Review URL: http://codereview.chromium.org/13754 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6826 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt at fixing reliability crash spike. The traces lead me tosky@google.com2008-12-111-1/+5
| | | | | | | | | | | | | | | | | | believe RichEdit is sending a WM_COMMAND with an id of 35000, which corresponds to IDC_STAR. Peter's changing of IDs resulted in IDC_STAR getting set to 35000. I'm hoping the WM_COMMAND sent from the rich edit has it's high bits set appropriately so that this change will result in not trying to execute IDC_STAR when we get the command. WARNING: this is all speculation from looking at the traces. I couldn't repro on my machine. BUG=5405 TEST=none Review URL: http://codereview.chromium.org/14010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6823 0039d316-1c4b-4281-b951-d872f2087c98
* Change the sense of a CHECK to see if the oppositewtc@google.com2008-12-111-1/+1
| | | | | | | | | | condition is ever false. R=eroman BUG=4749 Review URL: http://codereview.chromium.org/13370 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6822 0039d316-1c4b-4281-b951-d872f2087c98
* A follow-up to a recent unforking of WebCore/platform/text/TextCodecICU.cpp ↵jungshik@google.com2008-12-117-13/+13
| | | | | | | | | | | | | | | (r6540). Up to now, we canonicalized to EUC-KR, TIS-620 and GB2312, but with unforking, we'd better canonicalize to windows-949, windows-874 and GBK. Another change is necessary in Webkit (Document.cpp), which I'll do it while unforking it. BUG=3703 Review URL: http://codereview.chromium.org/13645 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6817 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 6815.phajdan.jr@chromium.org2008-12-117-139/+132
| | | | | | Review URL: http://codereview.chromium.org/14006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6816 0039d316-1c4b-4281-b951-d872f2087c98
* Port flush_cache tool and perf_tests.phajdan.jr@chromium.org2008-12-117-132/+139
| | | | | | | BUG=4160,4263 Review URL: http://codereview.chromium.org/9639 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6815 0039d316-1c4b-4281-b951-d872f2087c98
* Try and make some spellcheck code more obvious by using typedefs.pkasting@chromium.org2008-12-115-49/+48
| | | | | | | I am not convinced this patch is a net win. Please share your thoughts on if using a Language/Languages set of types is better or worse than what we're doing now. Review URL: http://codereview.chromium.org/13367 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6807 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up about box for unofficial builds.phajdan.jr@chromium.org2008-12-111-0/+6
| | | | | | | | | | Currently unofficial builds (Chromium) display there an error message that update server is unavailable. This is obvious (there is no update server for trunk builds), but looks bad. This patch removes the message for unofficial builds. Review URL: http://codereview.chromium.org/13352 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6806 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a stale comment. net::ERR_CERT_UNABLE_TO_CHECK_REVOCATIONwtc@google.com2008-12-111-1/+1
| | | | | | | | | | | | now causes the security style to be set to authentication broken. (The security style is set elsewhere, not here, but this comment is still confusing.) R=jcampan BUG=4749 Review URL: http://codereview.chromium.org/13371 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6805 0039d316-1c4b-4281-b951-d872f2087c98
* Fix extensions_service_unittest on Linux.phajdan.jr@chromium.org2008-12-111-3/+17
| | | | | | | | | | I was getting failures which are not present on buildbot, I don't know why. But with these changes it should be more solid. This also prevents a segfault which I got (out of bounds array access). Review URL: http://codereview.chromium.org/13258 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6792 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 6787. inteded to commit other changelist.phajdan.jr@chromium.org2008-12-111-17/+3
| | | | | | Review URL: http://codereview.chromium.org/13387 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6789 0039d316-1c4b-4281-b951-d872f2087c98
* Fix extensions_service_unittest on Linux.phajdan.jr@chromium.org2008-12-111-3/+17
| | | | | | | | | | I was getting failures which are not present on buildbot, I don't know why. But with these changes it should be more solid. This also prevents a segfault which I got (out of bounds array access). Review URL: http://codereview.chromium.org/13258 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6787 0039d316-1c4b-4281-b951-d872f2087c98
* Update a few targets to the condition they should be in. Eliminate redundantmark@chromium.org2008-12-111-89/+92
| | | | | | | | build settings. Make sure all executable targets have the proper "strip if needed" phase. Fix dependencies. Review URL: http://codereview.chromium.org/13374 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6785 0039d316-1c4b-4281-b951-d872f2087c98
* Move file enumeration to filepaths.avi@google.com2008-12-118-32/+37
| | | | | | Review URL: http://codereview.chromium.org/13315 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6784 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a handful of related bookmark manager bugs/requests:sky@google.com2008-12-118-11/+116
| | | | | | | | | | | | | | | . Adds a search field before the text field. . When the search node is selected and there are no results or no search text, a descriptive label is drawn on top of the table telling the user what's happening. . In the bookmark menus Edit... is now Rename... for folders. BUG=5272 5319 5273 4165 TEST=see individual bugs Review URL: http://codereview.chromium.org/13724 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6777 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes two session restore bugs:sky@google.com2008-12-112-2/+17
| | | | | | | | | | | | | | | | . If the user launches incognito we don't attempt to restore last session and instead just do default launch behavior (new tab page). . Don't show the session restore info bar when launched incognito. I'm assuming that if the user launched in incognito they were previously running incognito so that there is nothing to restore. BUG=4381 5119 TEST=turn on session restore and launch with --incognito, make sure the incognito window comes up. Review URL: http://codereview.chromium.org/13368 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6776 0039d316-1c4b-4281-b951-d872f2087c98
* Missed this file in my previous cleanup patch.pkasting@chromium.org2008-12-111-2/+2
| | | | | | Review URL: http://codereview.chromium.org/13729 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6766 0039d316-1c4b-4281-b951-d872f2087c98
* Only allow bookmark keyboard shortcut for tabbed browsers.sky@google.com2008-12-111-1/+9
| | | | | | | | | BUG=5055 TEST=make sure control-d does nothing for apps and popup windows Review URL: http://codereview.chromium.org/13363 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6764 0039d316-1c4b-4281-b951-d872f2087c98
* Build ipc_tests on linux.tc@google.com2008-12-113-12/+36
| | | | | | | Review URL: http://codereview.chromium.org/13366 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6762 0039d316-1c4b-4281-b951-d872f2087c98
* Better build bustage fix: Commit the rest of the original patch. Rolls back ↵pkasting@chromium.org2008-12-114-29/+33
| | | | | | the previous blind fix I tried. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6760 0039d316-1c4b-4281-b951-d872f2087c98
* Blind attempt at build fix. I don't know why this should be necessary.pkasting@chromium.org2008-12-111-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6759 0039d316-1c4b-4281-b951-d872f2087c98
* Make the autocomplete system and various other connected bits of code use ↵pkasting@chromium.org2008-12-1027-273/+296
| | | | | | | | GURL instead of wstring where appropriate. Original patch by phajdan.jr@gmail.com, r=me,sky. See http://codereview.chromium.org/13205 . BUG=715234 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6758 0039d316-1c4b-4281-b951-d872f2087c98
* Another attempted, untested build fix.pkasting@chromium.org2008-12-101-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6753 0039d316-1c4b-4281-b951-d872f2087c98
* Untested fix for build failures.pkasting@chromium.org2008-12-101-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6752 0039d316-1c4b-4281-b951-d872f2087c98
* A simple script to create an extension package and to verify its contents.erikkay@google.com2008-12-101-0/+108
| | | | | | Review URL: http://codereview.chromium.org/13351 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6749 0039d316-1c4b-4281-b951-d872f2087c98
* Fix regression with Find in page focus on trunk. finnur@google.com2008-12-104-8/+66
| | | | | | | | | | | | Basically, if the Find box is open, pressing Ctrl+F should set focus to the text field. This regressed when the Find box moved into web_contents_view. I have added a UI test to catch this in the future. Review URL: http://codereview.chromium.org/13721 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6748 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the unneeded CHECKs. Add a CHECK to determinewtc@google.com2008-12-102-10/+15
| | | | | | | | | | | whether the recursive call to RemovePendingRequest is removing the same or a different request. R=eroman BUG=4749 Review URL: http://codereview.chromium.org/13329 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6746 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup part 6.pkasting@chromium.org2008-12-107-110/+99
| | | | | | | | | | | | | | | | | | | | | Lots of small things (mostly in spellcheck code), e.g.: * L"" -> std::wstring() * type *var; -> type* var; * Fix parameter line-wrapping to comply with style guide * Remove unnecessary classname scoping inside class delcaration * Remove empty declaration * Add/remove blank lines in hopes of increasing readability * Add block ("{", "}") around local use of a temporary that is later redefined * Fold temps into other statements where obvious * Use std::find() instead of hand-rolling the same functionality * Combine distinct cases in switch statements when they all do the same thing * Range-check to avoid some algorithmic work when it's not needed * at() -> [] ...and various others. Pretty much every change stands on its own. Do not hesitate to complain about changes you think are unhelpful to the code, this change is something of a dumping ground. (I did try to avoid the sort of gratuitous "const"-adding that has gotten me in trouble before :). ) Review URL: http://codereview.chromium.org/13688 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6745 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor IPC::Channel to have a common header.jeremy@chromium.org2008-12-1012-158/+297
| | | | | | Review URL: http://codereview.chromium.org/11024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6743 0039d316-1c4b-4281-b951-d872f2087c98