summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* More Mac & Linux fixes for base namespaces.brettw@google.com2008-11-143-8/+8
| | | | | | Review URL: http://codereview.chromium.org/10739 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5450 0039d316-1c4b-4281-b951-d872f2087c98
* Linux build bustage fix.brettw@google.com2008-11-141-1/+1
| | | | | | Review URL: http://codereview.chromium.org/10737 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5449 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build bustage, I missed this file with my base namespace changes.brettw@google.com2008-11-141-3/+3
| | | | | | Review URL: http://codereview.chromium.org/10738 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5448 0039d316-1c4b-4281-b951-d872f2087c98
* Move process utils into the base namespace (fix build bustage).brettw@google.com2008-11-141-2/+2
| | | | | | Review URL: http://codereview.chromium.org/10736 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5447 0039d316-1c4b-4281-b951-d872f2087c98
* Add Terminate() to the Process object, have RenderProcessHost use this to ↵brettw@google.com2008-11-14106-387/+423
| | | | | | | | | | avoid some more Windows specific code. Move Process and SharedMemory into the base namespace (most changes). Review URL: http://codereview.chromium.org/10895 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5446 0039d316-1c4b-4281-b951-d872f2087c98
* Make border and background setting and getting non-virtual and use the ↵brettw@google.com2008-11-1419-95/+67
| | | | | | | | correct style. I was debugging in here and this was annoying me, since there is no reason for these functions to be virtual. Review URL: http://codereview.chromium.org/10638 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5445 0039d316-1c4b-4281-b951-d872f2087c98
* Remove base dependency from SkiaUtils, fix namespaces and includes.brettw@google.com2008-11-1410-13/+22
| | | | | | Review URL: http://codereview.chromium.org/10918 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5444 0039d316-1c4b-4281-b951-d872f2087c98
* Switch off subpixel hinting.agl@chromium.org2008-11-141-1/+1
| | | | | | | | | | | | | | Since subpixel rendering isn't enabled yet, hinting at the subpixel level just introduces artifacts, esp when selecting text. Reviewed in person by evan TBR=evan Review URL: http://codereview.chromium.org/10732 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5443 0039d316-1c4b-4281-b951-d872f2087c98
* Expect icudt38.dll in $DESTINATION_ROOT, not $TARGET_ROOT.sgk@google.com2008-11-141-2/+2
| | | | | | Review URL: http://codereview.chromium.org/10928 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5441 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes for Visual Studio solution + project file generation:sgk@google.com2008-11-143-4/+20
| | | | | | | | | | | | * Fix the grit tool so it works with Repository() directories (and tap gspencer to upstream the changes). * Fix the evaluation of $PRE_EVALUATE_DIRS, which was interfering with sucking up the source files for listing in the .vcproj files. * Set AlwaysBuild() on the project files so they're always evaluated for up-to-dateness when 'all_solutions' is the target. Review URL: http://codereview.chromium.org/10725 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5440 0039d316-1c4b-4281-b951-d872f2087c98
* Get popup windows working.agl@chromium.org2008-11-145-89/+52
| | | | | | | | | There are still a little funky about redrawing once when they loose focus sadly. Review URL: http://codereview.chromium.org/10720 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5438 0039d316-1c4b-4281-b951-d872f2087c98
* Update the user delay histogram for the SafeBrowsing.paulg@google.com2008-11-143-6/+8
| | | | | | Review URL: http://codereview.chromium.org/10916 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5434 0039d316-1c4b-4281-b951-d872f2087c98
* Delete webkit/data/layout_test_results/ and all its contents. The kjspamg@google.com2008-11-1414338-277444/+0
| | | | | | | | | | | | results were removed in r4997, the common results were copied into v8 in r5240, and the v8 results were copied to layout_tests/platform/chromium-win/ in r5407. BUG=4207 TEST=covered by layout tests git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5430 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes the interactive ui tests by correctly initializing the specified popup ↵ben@chromium.org2008-11-141-2/+1
| | | | | | | | | bounds. TBR=erg Review URL: http://codereview.chromium.org/10724 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5429 0039d316-1c4b-4281-b951-d872f2087c98
* Move expected image and checksum for fast\repaint\bugzilla-6473.html from nextpamg@google.com2008-11-143-36/+0
| | | | | | | | | | | | | | | | to the test to chromium-win/ so we find those rather than the ones in platform/mac/. Delete the copy of -expected.txt that's next to the test, because there's already one in chromium-win/ we're using instead. TBR=ojan BUG=4207 TEST=covered by layout tests Review URL: http://codereview.chromium.org/10722 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5428 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build bustage:ben@chromium.org2008-11-142-6/+6
| | | | | | | | | - Apparently blank tabs must have NewTabUIURL as their URL. - flag wasn't initialized. Review URL: http://codereview.chromium.org/10721 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5427 0039d316-1c4b-4281-b951-d872f2087c98
* Script to do webkit merges!ojan@google.com2008-11-142-0/+171
| | | | | | Review URL: http://codereview.chromium.org/10672 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5426 0039d316-1c4b-4281-b951-d872f2087c98
* Add histograms to measure new SafeBrowsing performance.paulg@google.com2008-11-146-14/+81
| | | | | | Review URL: http://codereview.chromium.org/10712 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5423 0039d316-1c4b-4281-b951-d872f2087c98
* Merge r5290 into the new platform results, missed with the big copy.pamg@google.com2008-11-1412-12/+138
| | | | | | | | | | TBR=ericroman BUG=4207 TEST=covered by layout tests Review URL: http://codereview.chromium.org/10915 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5422 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the duplicate session_callback_->AddRef() calls made bywtc@google.com2008-11-142-43/+56
| | | | | | | | | | | | | | | | | | the Restart() calls in DidReceiveError() and the RestartWithAuth() call in DidReceiveHeaders() by adding a new RestartInternal() method that doesn't call session_callback_->AddRef(). Remove the username/password that the server rejected from the auth cache only if the cache entry has the same username/password. Use the username:password specified in the URL after receiving a 401 response from the server. Do not send it preemptively. R=eroman BUG=b/1473850 Review URL: http://codereview.chromium.org/10668 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5421 0039d316-1c4b-4281-b951-d872f2087c98
* Add a solution file for build test_shell with ARM simulator.fqian@google.com2008-11-141-0/+616
| | | | | | | | | | It needs a very recent V8 revision with v8_base_arm.vcproj. We only intended to run ARM simulator on the lastest v8 revision from bleeding edge. Review URL: http://codereview.chromium.org/10885 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5420 0039d316-1c4b-4281-b951-d872f2087c98
* Fix gears-scons wince build. I accidentally filtered out portaudio instead ↵mpcomplete@google.com2008-11-141-1/+1
| | | | | | | | | of libgd from its LIBS. TBR=jeremy Review URL: http://codereview.chromium.org/10906 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5419 0039d316-1c4b-4281-b951-d872f2087c98
* Remove chrome\browser\browser_commands.cc from the SCons build.sgk@google.com2008-11-141-3/+0
| | | | | | | Remove a duplicate entry for safe_browsing\safe_browsing_service.cc. Review URL: http://codereview.chromium.org/10904 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5418 0039d316-1c4b-4281-b951-d872f2087c98
* Re-do the way browser windows are shown:ben@chromium.org2008-11-1445-631/+529
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove the path from WinMain to the Browser object passing the show_command. For the Browser object, this is a problem since this value isn't portable. For the code in general it involves a lot of ugly wiring. It's completely unnecessary since the value is obtainable via GetStartupInfo. - Remove show_command plumbing from all over the place (session restore, web app launcher, etc) Change the way browser windows are constructed: - The browser constructor now takes just a type and a profile, and simply initializes the object. - Some configuration that used to be part of the constructor that was only used in one or two use cases (initial bounds, maximized state, web app name) are split into separate setters. - Window creation is split out into a separate step to be called post configuration. - Assorted static helper functions added to Browser to make construction of common types easy. - Remove Browser::Show in favor of BrowserWindow::Show - Adjust all callers to use the new helpers. Change the way ChromeViews restores window placement: - Split restored size determination from restored maximized determination. They are needed by the code at different times. Size restoration happens when the window is constructed and Window::SetInitialBounds is called. Maximized state restoration happens when the window is shown for the first time and SW_SHOWMAXIMIZED or SW_SHOWNORMAL is needed. Thus, replace WindowDelegate::RestoreWindowPosition with WindowDelegate::RestoreWindowBounds and WindowDelegate::RestoreMaximizedState. - Window::SetInitialBounds calls WindowDelegate::RestoreWindowBounds - Window::Show calls WindowDelegate::RestoreMaximizedState - Adjusts all WindowDelegate implementations that override RestoreWindowPosition to implement these new methods instead. - Move "playback/record" mode window size setting from browser_init to Browser::RestoreWindowBounds. - Provide a virtual function on Window called GetShowState that determines the default show state to be used when Window::Show is called. For most windows and dialogs this is SW_SHOWNORMAL. AeroGlassFrame/OpaqueFrame (the browser window frames) override this since they're the app's main windows to return the value provided by GetStartupInfo which gives the value from the app shortcut. http://crbug.com/3557 Review URL: http://codereview.chromium.org/10896 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5417 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes bug where we were not checking if an app from another windowsky@google.com2008-11-141-8/+52
| | | | | | | | | | | | was on top of Chrome's topmost brower window when attempting to dock a dragged tab. BUG=1094303 TEST=see bug Review URL: http://codereview.chromium.org/10715 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5416 0039d316-1c4b-4281-b951-d872f2087c98
* A minor tweak of r5245. I'm more confident that WinHTTPwtc@google.com2008-11-141-1/+1
| | | | | | | | | | | | | | | | knows a transaction is complete when WinHttpReadData returns a zero byte count. So it's safer to NOT notify the request throttle when WinHttpReadData returns a nonzero byte count, even if we have read the number of bytes specified in the Content-Length response header. I verified that this is still enough to fix the bug (unresponsiveness). R=darin BUG=4302 Review URL: http://codereview.chromium.org/10867 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5415 0039d316-1c4b-4281-b951-d872f2087c98
* Use a memcpy because we don't have access to bit_cast here.evanm@google.com2008-11-141-2/+9
| | | | | | | Review URL: http://codereview.chromium.org/10914 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5414 0039d316-1c4b-4281-b951-d872f2087c98
* Unfork test_shell_main_gtk back into test_shell_main.erg@google.com2008-11-145-94/+66
| | | | | | | | | Still doesn't run layout tests, but it's unforked and runs. Review URL: http://codereview.chromium.org/10905 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5413 0039d316-1c4b-4281-b951-d872f2087c98
* Add more info to the comment about www.yahoo.com's padding ofwtc@google.com2008-11-143-8/+13
| | | | | | | | | | | | | | | | the chunk-size field. Fix miscellaneous nits reported by cpplint.py. Use ASCIItoWide instead of UTF8ToWide to convert the username and password specified in a URL. Those two components of the URL have to be ASCII. Carry over a TODO comment about unescaping username/password from http_transaction_winhttp.cc. R=eroman Review URL: http://codereview.chromium.org/10864 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5410 0039d316-1c4b-4281-b951-d872f2087c98
* Stop the search boxes being too wide on RTL languages.glen@chromium.org2008-11-131-0/+1
| | | | | | | | BUG=4365 Review URL: http://codereview.chromium.org/10688 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5409 0039d316-1c4b-4281-b951-d872f2087c98
* Modify tools to look for results in LayoutTests/platform/ directory.pamg@google.com2008-11-139-119/+182
| | | | | | | | | | | | | | | | | | | | (Until we can upload our tests, the chromium-win/ and any other chromium-*/ platform directories are located in webkit/data/layout_tests/platform/ rather than in webkit/data/layout_tests/LayoutTests/platform/.) Add --sources option to run_webkit_tests to show which expected results file is being cmopared to the actual results for each test. Clean up the use of PlatformUtility a bit in path_utils.py. Start removing build_type now that we don't support 'kjs' anymore, only 'v8'. Only enough of this to allow it to be replaced by 'platform' was done. BUG=4207 TEST=covered by layout tests once we copy the results over Review URL: http://codereview.chromium.org/10702 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5408 0039d316-1c4b-4281-b951-d872f2087c98
* Copy custom (platform-specific) results from layout_test_results/v8 to ↵pamg@google.com2008-11-1313900-2/+254109
| | | | | | | | | | layout_tests/platform/chromium-win. BUG=4207 TEST=covered by layout tests Review URL: http://codereview.chromium.org/10711 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5407 0039d316-1c4b-4281-b951-d872f2087c98
* Allow optimized builds on Linux.evanm@google.com2008-11-139-19/+69
| | | | | | | Review URL: http://codereview.chromium.org/10857 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5406 0039d316-1c4b-4281-b951-d872f2087c98
* UPdate DEPS to pull in the new webkit.ojan@google.com2008-11-132-2/+2
| | | | | | Review URL: http://codereview.chromium.org/10911 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5405 0039d316-1c4b-4281-b951-d872f2087c98
* Use Skia to render fontsagl@chromium.org2008-11-139-274/+638
| | | | | | | | | | | | I've split off the subpixel code from this code at the request of Mike Reed. This code has already been reviewed in 9614. TBR=evan Review URL: http://codereview.chromium.org/10414 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5401 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes bug in adding bookmark groups. Adding wasn't setting thesky@google.com2008-11-131-0/+1
| | | | | | | | | | | | modified date, which meant newly added groups wouldn't show up in the combobox of the bookmark bubble. BUG=766 TEST=see bug Review URL: http://codereview.chromium.org/10709 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5400 0039d316-1c4b-4281-b951-d872f2087c98
* Three menu bugs:sky@google.com2008-11-133-6/+76
| | | | | | | | | | | | | | | | | | . If a context menu was shown from a menu, then hidden we did not keep mouse capture and bad things happened (menu wouldn't go away when clicking else where, crash ...). . We only update menu sizes on first show of a menu. That way if a context menu doesn't have icons things don't shift around. . If nothing was selected in the menu pressing the context menu showed the context menu for the root. It doesn't make sense for the root menu to have a context menu. BUG=4364 TEST=see bug Review URL: http://codereview.chromium.org/10706 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5397 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up the proxy code for handling frame navigation.fqian@google.com2008-11-134-109/+62
| | | | | | | | | | | | | | When a frame navigates to a new page, the old context handle is disposed, and the global proxy object is detached from the old context. A new context is created using the global proxy object. However, the security token is not created because, at this point, the security origin is not updated to new URL. When the new document is ready, V8Proxy updates the security token using the security origin of the document. Our code relies on the fact that ScriptController::clearWindowShell be called only when the frame loads a page, but not at closing time. Review URL: http://codereview.chromium.org/10687 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5396 0039d316-1c4b-4281-b951-d872f2087c98
* Update strings and add 8 new Indic languagestc@google.com2008-11-13146-28644/+34896
| | | | | | Review URL: http://codereview.chromium.org/10704 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5395 0039d316-1c4b-4281-b951-d872f2087c98
* Use test_webview_delegate.cc and unfork most of the .mm versionpinkerton@google.com2008-11-131-2/+6
| | | | | | Review URL: http://codereview.chromium.org/10907 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5394 0039d316-1c4b-4281-b951-d872f2087c98
* Add a failing test to the fixable list.ojan@google.com2008-11-131-0/+3
| | | | | | Review URL: http://codereview.chromium.org/10703 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5393 0039d316-1c4b-4281-b951-d872f2087c98
* * Revert "Checking in the media project files (layout based on net/base ↵agl@chromium.org2008-11-1314-580/+0
| | | | | | | | | | | libraries)." This reverts commit fdeb8575309055ad23803b376659c236099348ac. Review URL: http://codereview.chromium.org/10908 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5392 0039d316-1c4b-4281-b951-d872f2087c98
* correctly close windows w/out leaking from JS, correctly clean up after ↵pinkerton@google.com2008-11-137-733/+116
| | | | | | | | ourselves when manually quitting test shell. This fixes the window.closed property in layout tests as well. Review URL: http://codereview.chromium.org/10656 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5391 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ClipboardMac.*, as they no longer exist.pinkerton@google.com2008-11-131-6/+0
| | | | | | Review URL: http://codereview.chromium.org/11008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5390 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in the media project files (layout based on net/base libraries).scherkus@chromium.org2008-11-1314-0/+580
| | | | | | | | | Added a dummy media.cc file in order to produce media.lib so there are no linker errors when building media_unittests.exe. Currently chrome_dll does NOT depend on media so it will not be linked in, which is OK for now :) Review URL: http://codereview.chromium.org/10683 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5389 0039d316-1c4b-4281-b951-d872f2087c98
* Return the right error code when we proxy a callnsylvain@chromium.org2008-11-137-25/+72
| | | | | | | | | | | | | | | | | | | | | to the broker. IIRC we decided to always return access denied because we did not want to leak the real error code, but this is bogus for 2 reasons: 1. The broker will return access denied if it's not allowed in the policy 2. The check to hide the return code is in the renderer, so it would have been possible for a malicious user to see it anyway. I also added a test for it. BUG:3965 Review URL: http://codereview.chromium.org/10615 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5388 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the extra junk from the sandbox.sln file.nsylvain@chromium.org2008-11-131-64/+0
| | | | | | | | | I'm not sure why this was added, but it should not be there. Review URL: http://codereview.chromium.org/10869 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5387 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mouse and keyboard input a bit.deanm@chromium.org2008-11-132-6/+33
| | | | | | Review URL: http://codereview.chromium.org/10886 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5386 0039d316-1c4b-4281-b951-d872f2087c98
* Unfork Plugin.h, PluginArray.h and MimeTypeArray.h.jam@chromium.org2008-11-131-7/+9
| | | | | | Review URL: http://codereview.chromium.org/10872 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5384 0039d316-1c4b-4281-b951-d872f2087c98
* Remove tests from pending/ that have been sent upstream or had already beenpamg@google.com2008-11-13147-11791/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added to WebKit, as well as their expected results and supporting resources. dom\html\level1\core\null-chardata-crash.html: added in WebKit r37542 webkit\data\layout_tests\pending\dom\html\level2\html\HTMLFrameElement09.js: fixed in r37549 dom\html\level2\html\HTMLIFrameElement11.js: fixed in r37549 http\tests\loading\crash-multiple-family-fontface.html: added in r37665 svg\carto.net\window.svg: fixed in r37544 css\overflow_hidden.html: added in r37665 css\border-height.html: added in r37665 fast\dom\DOMImplementation\singleton-modifications.html: added in r34574 fast\dom\NamedNodeMap-setNamedItem-crash.html: added in r33023 fast\dom\Window\orphaned-frame-access.html: added in r37665 fast\dom\Window\window-open-pending-url.html: added in r37595 fast\history\history_reload.html: fixed in r37657 fast\events\tabindex-focus-blur-all.html: fixed in r37546 fast\events\autoscroll.html: fixed in r34449 fast\text\wbr-styled.html: added in r30412 fast\text\wbr-in-pre-crash.html: added in r30454 fast\text\international\hindi-spacing.html: added in r37665 fast\text\international\ideo_punc.html: added in r30592 fast\encoding\script-in-head.html: fixed in r37547 fast\forms\input-first-letter.html: added in r30414 fast\forms\input-field-text-truncated.html: added in r37665 fast\forms\textarea-width.html: added in r37665 fast\forms\image-border.html: added in r37665 fast\forms\input-type-text-min-width.html: added in r37665 fast\forms\input-readonly-autoscroll.html: fixed in r34449 fast\forms\textarea-scrollbar-height.html: added in r37665 fast\xsl\xslt-nested-stylesheets.xml: added in r38115 fast\tokenizer\nested-multiple-scripts.html: added in r30563 fast\canvas\fillrect_gradient.html: fixed in r37554 fast\js\const.html: fixed in r37543 fast\js\function-toString-parentheses.html: fixed in r37545 fast\parser\utf8-bom-xss.html: added in r33380 fast\parser\bad-xml-entity.html: added in r37665 fast\frames\crash-remove-onload-from-src.html: added in r35088 BUG=4391 TEST= covered by layout tests git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5382 0039d316-1c4b-4281-b951-d872f2087c98