summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Adding in new hammer patterns. Restored from rollback change 3578.bradnelson@chromium.org2008-10-1817-533/+509
| | | | | | Review URL: http://codereview.chromium.org/7656 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3597 0039d316-1c4b-4281-b951-d872f2087c98
* Add stubs for these functions. They seem to get pulled in as a result of ↵darin@google.com2008-10-181-0/+40
| | | | | | | | | | | | PLATFORM(CHROMIUM) being referenced in ScrollView.h and Widget.h. I predict that you will still see green! TBR=pinkerton Review URL: http://codereview.chromium.org/7655 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3596 0039d316-1c4b-4281-b951-d872f2087c98
* roll deps to pick up latest third_party/WebKitdarin@google.com2008-10-181-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3595 0039d316-1c4b-4281-b951-d872f2087c98
* fix windows build, we need oleacc.h.tc@google.com2008-10-181-0/+2
| | | | | | | | | TBR=darin Review URL: http://codereview.chromium.org/7509 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3594 0039d316-1c4b-4281-b951-d872f2087c98
* fix linux buildtc@google.com2008-10-184-11/+23
| | | | | | | | | TBR=darin Review URL: http://codereview.chromium.org/7652 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3592 0039d316-1c4b-4281-b951-d872f2087c98
* Update to pick up PLATFORM(MAC) and add some ifdefs in event_conversion.ccdarin@google.com2008-10-182-6/+6
| | | | | | | | TBR=tony Review URL: http://codereview.chromium.org/7508 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3591 0039d316-1c4b-4281-b951-d872f2087c98
* one more missing filedarin@chromium.org2008-10-181-0/+41
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3589 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing headers. Oops :(darin@chromium.org2008-10-187-0/+295
| | | | | | | | TBR=tony Review URL: http://codereview.chromium.org/7649 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3588 0039d316-1c4b-4281-b951-d872f2087c98
* Disable PLATFORM(WIN) !!darin@chromium.org2008-10-1843-1177/+430
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | port/platform/chromium/PlatformKeyboardEventChromium.cpp - this is KeyEventWin.cpp renamed and mostly deleted. we just needed to define two static methods. - the big switch case goes to event_conversion.cc. port/platform/chromium/DragDataChromium.cpp - yay, no more dropData wrapper! port/platform/chromium/TemporaryLinkStubs.cpp - just stubbing scheduleDispatchFunctionsOnMainThread() for now since i think we should really use an implementation based on MessageLoop, and we don't use background threads in webkit yet. port/platform/chromium/DragImageChromium.cpp - PLATFORM(WIN) to PLATFORM(WIN_OS) port/platform/chromium/PopupMenuChromium.cpp - lots of nice cleanup. no more dummy HWNDs! port/platform/chromium/PlatformScrollBarChromium.cpp port/platform/chromium/ScrollViewChromium.cpp - GraphicsContext::getWindowsContext is gone. just use the skia canvas directly. port/platform/network/chromium/NetworkStateNotifierChromium.cpp - delete the PLATFORM(WIN) stubs port/platform/win/KeyEventWin.cpp port/platform/win/PlatformMouseEventWin.cpp port/platform/graphics/IntPointWin.cpp port/platform/graphics/IntSizeWin.cpp port/platform/graphics/IntRectWin.cpp - deleted :) port/platform/win/ScreenWin.cpp - compensate for no longer having implicit conversion between RECT and IntRect port/platform/UniscribeStateTextRun.cpp - scriptCache and scriptFontProperties now live on FontPlatformData as discussed with brett and hyatt. port/platform/graphics/FontCacheWin.cpp - getFontLinkInterface() function doesn't exist outside of PLATFORM(WIN) port/platform/graphics/FontPlatformData.h port/platform/graphics/FontPlatformDataWin.cpp - support storing script{Cache,FontProperties} on FontPlatformData. need to implement assignment operator and copy constructor. the script{Cache,FontProperties} objects are not copied per discussion with hyatt. - i moved m_isMLangFont into RefCountedHFONT so that we would know how to "destroy" the HFONT. port/platform/graphics/SimpleFontDataWin.cpp port/platform/graphics/GlyphPageTreeNodeWin.cpp - modified to support changes to FontPlatformData port/platform/graphics/ImageSkia.cpp - getHBITMAP, etc. were never used and are not needed port/platform/graphics/IconWin.cpp - modifications corresponding to my changes to Icon.h. m_icon is of type PlatformIcon. port/platform/graphics/GraphicsContextSkia.cpp - {get,release}WindowsContext are no longer defined port/platform/Cursor.h pending/NetworkStateNotifier.h pending/PlatformKeyboardEvent.h - we no longer need to fork these files. port/page/chromium/EventHandlerChromium.cpp - add #include "Clipboard.h" to support non-WIN_OS port/page/chromium/AccessibilityObjectWrapper.h - changed to no longer be a COM interface port/page/AccessibilityObjectWrapperWin.h - moved to port/page/chromium/AccessibilityObjectWrapper.h pending/AccessibleBase.cpp pending/AccessibleBase.h - modified to support changes to a11y wrapper class - by the way, these files should not be in pending! will fix that later. glue/glue_util.cc glue/glue_util.h - add conversion functions for rect structures. glue/webframe_impl.cc glue/webplugin_impl.cc - use new webkit_glue rect conversion functions. glue/glue_accessibility.cc - add header that is needed to build this file on windows glue/webview_impl.cc - no longer supports auto-conversion between IntPoint and POINT glue/event_conversion.cc - initialize by modifying member variables of the base class directly. - moved a static function from KeyEventWin.cpp R=tony,brettw BUG=3488 Review URL: http://codereview.chromium.org/7495 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3587 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the test build when BUILD_PERSONALIZATION is enabled.nick@chromium.org2008-10-181-1/+2
| | | | | | | | GetProfilePersonalization returns a pointer. Review URL: http://codereview.chromium.org/7639 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3583 0039d316-1c4b-4281-b951-d872f2087c98
* Rolling back CL 3578, discovered hammer.bat had not been updated yet.bradnelson@chromium.org2008-10-1818-509/+534
| | | | | | Review URL: http://codereview.chromium.org/7507 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3582 0039d316-1c4b-4281-b951-d872f2087c98
* Re-baselining the geturlnotify-from-npp-destroystream.html as the behavior ↵ananta@chromium.org2008-10-182-5/+3
| | | | | | | | | | | | of this test is correct. The test basically uses the plugin object retreived off the dom after the object has been destroyed. This results in an exception being printed to the console, which is ok. This test used to pass before as our layout test plugin never invoked the destroystream handler on the page. This is changed with Dean's fixes to get the layout test plugin on par with the one in webkit. R=tony Review URL: http://codereview.chromium.org/7645 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3581 0039d316-1c4b-4281-b951-d872f2087c98
* Allow middle click on the only tab with one window open.ben@chromium.org2008-10-174-10/+53
| | | | | | | http://crbug.com/3466 Review URL: http://codereview.chromium.org/7506 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3580 0039d316-1c4b-4281-b951-d872f2087c98
* Support shortcut show styles for "run maximized", "run minimized" etc.ben@chromium.org2008-10-174-3/+10
| | | | | | | http://crbug.com/3278 Review URL: http://codereview.chromium.org/7504 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3579 0039d316-1c4b-4281-b951-d872f2087c98
* Applying software construction toolkit patterns in scons build.bradnelson@chromium.org2008-10-1718-534/+509
| | | | | | Review URL: http://codereview.chromium.org/6569 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3578 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline a few tests that are new since the merge. Theytc@google.com2008-10-1719-11/+111
| | | | | | | only differ in font sizes. Review URL: http://codereview.chromium.org/7501 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3577 0039d316-1c4b-4281-b951-d872f2087c98
* Changes BookmarkDragData to allow for multiple nodes. I'm going tosky@google.com2008-10-175-150/+306
| | | | | | | | | | | | | | | | | need this for the bookmark manager, which will let you drag multiple nodes around. I didn't make the bookmark bar deal with multiple nodes though (it won't allow a drop of multiple nodes). I may add support for this at some point, but not in this patch. BUG=674 TEST=covered by unit tests, but make sure the aren't problems dragging around bookmarks on the bookmark bar, especially with folders. Review URL: http://codereview.chromium.org/7498 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3575 0039d316-1c4b-4281-b951-d872f2087c98
* Misc cleanupsericroman@google.com2008-10-176-26/+47
| | | | | | | | | - leak in unittest - remove a platform ifdef Review URL: http://codereview.chromium.org/7500 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3573 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a couple more build errors, and make the V8 DerivedSources.make mirror ↵pkasting@chromium.org2008-10-173-6/+7
| | | | | | | | the upstream one w.r.t. the HTMLEntityCodes changes I'm pulling down. Review URL: http://codereview.chromium.org/7644 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3572 0039d316-1c4b-4281-b951-d872f2087c98
* We were still warning about a dangerous download when the user has picked ↵jcampan@chromium.org2008-10-171-2/+8
| | | | | | | | | | the option to always ask for download. BUG=3539 TEST=Select the option "always ask for download". Download an exe. You should not see a dangerous download warning. Review URL: http://codereview.chromium.org/7634 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3570 0039d316-1c4b-4281-b951-d872f2087c98
* Straighten out the way the system menu works a bit. We no longer create the ↵ben@chromium.org2008-10-177-41/+32
| | | | | | | | | menu every time it is shown (or reset it). Resetting it caused some system-wide system menu items to be voted off the island (e.g. nView desktop manager, and some other third party addins). Resetting also caused some of the NC overpainting issues to be worse. This simplifies things a bit by creating the menu at frame creation time, then when the menu is run doing enabling only. Review URL: http://codereview.chromium.org/7497 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3569 0039d316-1c4b-4281-b951-d872f2087c98
* Remove throttling code from the Browser process and implement throttling in ↵erg@google.com2008-10-1714-26/+198
| | | | | | | | | | | | | the Renderer. The previous way of doing throttling was just calling CloseContents() on a window to reject it. But since the Browser is notified about a window opening asynchronously, by the time the CloseContents() sends a message back to the Renderer, a bunch more windows have been opened, leading to memory exhaustion. Instead, make all RenderViews created from a parent RenderView share a counter and start refusing to create RenderViews if too many RV have been created. Every RenderView (except for the first one) is assumed to be an unrequested popup, until notified by the Browser process by either a ViewMsg_DisassociateFromPopupCount message (this RenderView is a new top level page) or a ViewMsg_DisassociatePopup message (this RenderView is a requested popup and therefore shouldn't count against the count.) BUG=3382, 2632 Review URL: http://codereview.chromium.org/7388 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3568 0039d316-1c4b-4281-b951-d872f2087c98
* Fix problem where "text/xml" responses get buffered past 512 bytes, causing ↵ericroman@google.com2008-10-173-1/+17
| | | | | | | | | | the response to be truncated. BUG=3521 Review URL: http://codereview.chromium.org/7610 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3567 0039d316-1c4b-4281-b951-d872f2087c98
* Increase socket buffer size from default (8KB) to 64KB.mbelshe@google.com2008-10-171-0/+45
| | | | | | | | | Using a XMLHttpRequest benchmark to download 3MB files, this change contributed ~30% performance boost. Review URL: http://codereview.chromium.org/7426 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3566 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r3564, "We want these symbols on all platforms."evanm@google.com2008-10-171-0/+4
| | | | | | | It broke the mac build. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3565 0039d316-1c4b-4281-b951-d872f2087c98
* We want these symbols on all platforms.evanm@google.com2008-10-171-4/+0
| | | | | | | | Review URL: http://codereview.chromium.org/7491 Patch from Torchmobile Inc.. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3564 0039d316-1c4b-4281-b951-d872f2087c98
* Make ChromeThreadTest and TextDatabaseTest inherit from PlatformTest formark@chromium.org2008-10-173-6/+24
| | | | | | | autorelease pool management on the Mac. Review URL: http://codereview.chromium.org/7640 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3563 0039d316-1c4b-4281-b951-d872f2087c98
* Q: Am I still needed? A: No.mark@chromium.org2008-10-171-3/+0
| | | | | | Review URL: http://codereview.chromium.org/7492 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3562 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed clipboard format type in function signature.estade@chromium.org2008-10-171-1/+1
| | | | | | Review URL: http://codereview.chromium.org/7642 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3561 0039d316-1c4b-4281-b951-d872f2087c98
* Remove duplicate Console.cpp compile.dglazkov@google.com2008-10-171-1/+0
| | | | | | Review URL: http://codereview.chromium.org/7635 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3560 0039d316-1c4b-4281-b951-d872f2087c98
* more bustage fixesben@chromium.org2008-10-171-4/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3557 0039d316-1c4b-4281-b951-d872f2087c98
* more bustage fixesben@chromium.org2008-10-171-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3556 0039d316-1c4b-4281-b951-d872f2087c98
* fix release bustage :-(ben@chromium.org2008-10-171-1/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3555 0039d316-1c4b-4281-b951-d872f2087c98
* attempt at fixing release bustageben@chromium.org2008-10-171-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3554 0039d316-1c4b-4281-b951-d872f2087c98
* part one of bustage fix - forgot to land this with previous CL. ↵ben@chromium.org2008-10-171-0/+3
| | | | | | http://crbug.com/2186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3553 0039d316-1c4b-4281-b951-d872f2087c98
* Roll DEPS to greenify layout testsdglazkov@google.com2008-10-171-1/+1
| | | | | | | | TBR=pamg Review URL: http://codereview.chromium.org/7637 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3552 0039d316-1c4b-4281-b951-d872f2087c98
* Convert SchedulePaint and a few other methods to use gfx types.ben@chromium.org2008-10-1724-114/+90
| | | | | | | http://crbug.com/2186 Review URL: http://codereview.chromium.org/7468 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3550 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some code I accidentally left in which is causing asserts and crashes.brettw@google.com2008-10-171-6/+0
| | | | | | | | | | | close_on_deactivate_ was getting set to true which was deleting the object, causing us to crash later. The code that originally set this externally is still there, so this restores the old behavior. TEST=Press tab on any page, it shouldn't assert or crash. Review URL: http://codereview.chromium.org/7631 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3549 0039d316-1c4b-4281-b951-d872f2087c98
* Added linux clipboard.estade@chromium.org2008-10-175-6/+179
| | | | | | Review URL: http://codereview.chromium.org/7602 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3548 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a potential crasher in SpellChecker Add to dictionary feature.sidchat@google.com2008-10-171-1/+2
| | | | | | | Issue=3039 Review URL: http://codereview.chromium.org/7484 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3546 0039d316-1c4b-4281-b951-d872f2087c98
* add/remove files to fix bustagepinkerton@google.com2008-10-171-9/+13
| | | | | | Review URL: http://codereview.chromium.org/7629 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3545 0039d316-1c4b-4281-b951-d872f2087c98
* testing something elseben@chromium.org2008-10-171-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3544 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the anti-carpet bombing dialog. More specifically a newsky@google.com2008-10-1725-204/+1378
| | | | | | | | | | | | | | | | | EventHandler now exists between the buffered event handler and download event handler. This new event handler asks the DownloadRequestManager whether the download is allowed. This may prompt the user and then the download continues or is canceled. The DownloadRequestManager receives the request on the IO thread, forwards to the UI thread, makes the decision, then notifies back on the IO thread. BUG=3422 TEST=make sure you don't see any problems downloading content. Review URL: http://codereview.chromium.org/7479 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3543 0039d316-1c4b-4281-b951-d872f2087c98
* Add processing for a master profile json file on first run. Allows:cpu@google.com2008-10-175-18/+137
| | | | | | | | | - set home page / show home button - show bookmarks bar Review URL: http://codereview.chromium.org/7369 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3542 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disable failing unit tests. Opened issue 3542.joshia@google.com2008-10-171-2/+4
| | | | | | | | TBR=nsylvain Review URL: http://codereview.chromium.org/7482 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3541 0039d316-1c4b-4281-b951-d872f2087c98
* Implement ScriptCallContext (2/5)dglazkov@google.com2008-10-171-1/+1
| | | | | | | | | Rolling DEPS one more time... TBR=ojan git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3540 0039d316-1c4b-4281-b951-d872f2087c98
* Implement ScriptCallContext (3/2)This is an improved (and working!) revision ↵dglazkov@google.com2008-10-1713-526/+158
| | | | | | | | of http://codereview.chromium.org/7453/For Mac and Linux build guys, here's the rundown:A webkit/port/bindings/v8/ScriptCallContextV8.cppA third_party/WebKit/WebCore/bindings/js/ScriptCallContext.cpp -- this one is for KJS build onlyA third_party/WebKit/WebCore/page/ScriptCallContext.h Review URL: http://codereview.chromium.org/7480 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3538 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bugs with coverage.pyniranjan@google.com2008-10-171-39/+76
| | | | | | | | Fixed bugs with coverage.py and added the list of binaries to be instrumented and the tests to be run. Review URL: http://codereview.chromium.org/7469 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3537 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug 3470, where the download tab would show the temporary name for ↵jcampan@chromium.org2008-10-175-25/+70
| | | | | | | | | | | | dangerous downloads (see download_tab_view.cc). Also fixes bug 3471, where if the same file is downloaded again while the first one is not finished, they would get the same name. For dangerous downloads, we now uniquify the path on download start (so the UI shows a file name most likely to be the final name), and on download complete (so if there 2 simultaneous downloads of the same file the last one does not overwrite the first). BUG=3470, 3471 TEST=see bugs Review URL: http://codereview.chromium.org/7395 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3536 0039d316-1c4b-4281-b951-d872f2087c98
* Fix post url layout test.joshia@google.com2008-10-173-7/+9
| | | | | | | | | | | | | | | Needed to change the following: * PluginHost::SetPostData: make the state machine parse post data without any header fields * If NPN_PostUrl is called without content-type, set the default content type to 'application/x-www-form-urlencoded' * Fix a silly bug in post url logic. BUG=2858 Review URL: http://codereview.chromium.org/7612 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3535 0039d316-1c4b-4281-b951-d872f2087c98