summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert 60457 - Adds IDBFactory::didCompleteEventsForTransaction ↵andreip@chromium.org2010-09-245-12/+12
| | | | | | | | | | | | | | | plumbing" This reverts commit b1e231ca824b2fb9a96bffc04f26eae336ff6ed5. Also disable the transaction_get.html test, added in this CL. BUG= TEST= Review URL: http://codereview.chromium.org/3466018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60460 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60457 - Adds IDBFactory::didCompleteEventsForTransaction plumbingphajdan.jr@chromium.org2010-09-245-12/+12
| | | | | | | | | | | | | | | (depends on https://bugs.webkit.org/show_bug.cgi?id=44700) TEST=IndexedDBBrowserTest.TransactionGetTest This takes over http://codereview.chromium.org/3310022/show Review URL: http://codereview.chromium.org/3394007 TBR=andreip@chromium.org Review URL: http://codereview.chromium.org/3405031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60459 0039d316-1c4b-4281-b951-d872f2087c98
* Adds IDBFactory::didCompleteEventsForTransaction plumbingandreip@chromium.org2010-09-245-12/+12
| | | | | | | | | | | | (depends on https://bugs.webkit.org/show_bug.cgi?id=44700) TEST=IndexedDBBrowserTest.TransactionGetTest This takes over http://codereview.chromium.org/3310022/show Review URL: http://codereview.chromium.org/3394007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60457 0039d316-1c4b-4281-b951-d872f2087c98
* Add some optimizations to plugin painting.brettw@chromium.org2010-09-246-5/+91
| | | | | | | | | | | | | | | | | | The simplest one is to disable blending when the plugin is opaque. The more complicated one is to bypass webkit painting the background of plugins when we know the plugin to be always on top and also opaque. The always on top flag is currently set by a new "Private2" API. Bypassing WebKit makes animations faster. This is a re-land of the previous patch with a trivial compilation fix. This also adds a clip rect to the GetBitmap... function so we can properly handle plugins in nested iframes with proper clipping. BUG=none TEST=none Original review URL: http://codereview.chromium.org/3421030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60426 0039d316-1c4b-4281-b951-d872f2087c98
* base: Finish moving the SplitString functions from string_util.h to ↵tfarina@chromium.org2010-09-242-1/+3
| | | | | | | | | | | string_split.h BUG=None TEST=trybos Review URL: http://codereview.chromium.org/3447008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60422 0039d316-1c4b-4281-b951-d872f2087c98
* Mark failing test OnMsgPaintAtSize failinggeorgey@chromium.org2010-09-241-1/+1
| | | | | | | | | TBR=noelutz BUG=none TEST=none Review URL: http://codereview.chromium.org/3470011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60390 0039d316-1c4b-4281-b951-d872f2087c98
* Simple fix correcting the assignment of page_id to RenderView instances.twiz@google.com2010-09-231-1/+0
| | | | | | | | | | | | | | | The logic in NavigationController::ClassifyNavigation assumes that all new pages will have an id LARGER than the maximal id that is locally cached in the SiteInstance of the active RenderViewHost. Because page ids are doled out by incrementing a static variable that resides in the render process - see RenderView::next_page_id_ - resetting this counter while the render process is still in use will confuse the browser, and trigger the assert logic in NavigationController::ClassifyNavigation. Newly created RenderView objects in this render process will send page ids less than the value stored in SiteInstance::max_page_id during navigation operations. This problem was manifested during the interaction of multiple instances of a chrome-extension residing in ActiveX controls. Consider navigating a Chrome-Frame instance to an extension page. Now navigate a second Chrome-Frame instance to another extension page within the same extension. If a top-level link navigation is initiated on the second CF instance, then the extension will be torn down, but the old logic would have reset the next_page_id_ counter. If a subsequent CF was navigated to a page within the same extension, it would be backed by the same extension process, yet it would be assigned an incorrect page id, as described above. BUG=55138 TEST=none Review URL: http://codereview.chromium.org/3442007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60370 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Move virtual methods to implementation files.erg@google.com2010-09-233-2/+5
| | | | | | | | | | | Remove logging.h and other headers where possible. BUG=none TEST=none Review URL: http://codereview.chromium.org/3461019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60369 0039d316-1c4b-4281-b951-d872f2087c98
* Client-side phishing detection: grab snapshot of custom sized view.noelutz@google.com2010-09-238-7/+367
| | | | | | | | | | | | | | | | | | | | | | Client-side phishing detection needs to be able to take a snapshot of a particular page that has a constant size and aspect ratio (e.g., 1024x768). This CL adds a helper function (safe_browsing::GrabPhishingThumbnail) which re-sizes the view a given size, grabs the snapshot, and then re-sizes the view back to its previous size. Note: this function can be slow since it might re-layout the page twice. This function will only be called if we are very confident that the current page is a phishing site in which case we are OK with taking a slow snapshot. Also, this CL adds a test for the OnMsgPaintAtSize method in the RenderWidget since it does something very similar than the new Thumbnailer. BUG=None TEST=GrabPhishingThumbnail Review URL: http://codereview.chromium.org/3380001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60368 0039d316-1c4b-4281-b951-d872f2087c98
* Implement Pepper plugin focus notifications.brettw@chromium.org2010-09-234-2/+20
| | | | | | | | | | This hooks up both webkit focus and content area focus like we do for NPAPI plugins. BUG=56671 TEST=none Review URL: http://codereview.chromium.org/3493011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60361 0039d316-1c4b-4281-b951-d872f2087c98
* Trying to reland r59889, this time as a multi-stage patch.mpcomplete@chromium.org2010-09-235-75/+100
| | | | | | | | | | | | | | | | | Fix regression introduced by http://src.chromium.org/viewvc/chrome?view=rev&revision=57788 Add a delegate interface so that chromium have more fine-grained control over whether a V8 extension is injected into a script context. This is the chromium-side change of webkit bug https://bugs.webkit.org/show_bug.cgi?id=45721 BUG=37290 TEST=covered by unit tests Review URL: http://codereview.chromium.org/3464005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60350 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Add some optimizations to plugin painting."maruel@chromium.org2010-09-236-65/+5
| | | | | | | | | | | | This reverts commit 60329. TBR=brettw BUG= TEST= Review URL: http://codereview.chromium.org/3442013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60331 0039d316-1c4b-4281-b951-d872f2087c98
* Add some optimizations to plugin painting.brettw@chromium.org2010-09-236-5/+65
| | | | | | | | | | | | | | | The simplest one is to disable blending when the plugin is opaque. The more complicated one is to bypass webkit painting the background of plugins when we know the plugin to be always on top and also opaque. The always on top flag is currently set by a new "Private2" API. Bypassing WebKit makes animations faster. BUG=none TEST=none Review URL: http://codereview.chromium.org/3421030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60329 0039d316-1c4b-4281-b951-d872f2087c98
* Implement GetDefaultCharSet for Pepper and pull the corresponding PPAPI change.brettw@chromium.org2010-09-232-0/+10
| | | | | | | | BUG=52865 TEST=none Review URL: http://codereview.chromium.org/3432021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60292 0039d316-1c4b-4281-b951-d872f2087c98
* Revert my revert of 60275 + don't do static casting + disable the tests for now.jorlow@chromium.org2010-09-236-92/+166
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/3435022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60283 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60275.jorlow@chromium.org2010-09-236-182/+92
| | | | | | | TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60281 0039d316-1c4b-4281-b951-d872f2087c98
* Add the transaction id plumbing to IndexedDB.jorlow@chromium.org2010-09-236-92/+182
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/3478003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60275 0039d316-1c4b-4281-b951-d872f2087c98
* Add plumbing for IDBTransaction::abort()andreip@chromium.org2010-09-231-2/+2
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/3441019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60274 0039d316-1c4b-4281-b951-d872f2087c98
* Add an IPC message that will be used to send the phishing classification modelbryner@chromium.org2010-09-232-0/+8
| | | | | | | | | | | from the browser to the renderer. BUG=none TEST=none Review URL: http://codereview.chromium.org/3484001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60249 0039d316-1c4b-4281-b951-d872f2087c98
* Autofill filling on HTML form fills all entries except the entry clickeddhollowa@chromium.org2010-09-221-0/+6
| | | | | | | | | | | Adds a call to |setSuggestedValue| in FormManager::FillFormField(). This is a work-around to a regression caused by WebKit r67122. Once the core issue is fixed in WebKit, this work-around should be removed. BUG=56081 TEST=Manual, double click on input field in fillable form, fill the form, notice that clicked field now fills correctly. Review URL: http://codereview.chromium.org/3414015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60238 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some more log spam.aa@chromium.org2010-09-221-4/+0
| | | | | | TBR=evan@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60228 0039d316-1c4b-4281-b951-d872f2087c98
* Add a PhishingClassifier implementation.bryner@chromium.org2010-09-229-39/+479
| | | | | | | | | | | | | | | | | The PhishingClassifier ties together the feature extractors and the scorer, and will be invoked by the RenderView when a page finishes loading. This change also makes the feature extractors have a non-owned pointer to the clock so that it can be shared, and fixes a problem where the DOM feature extractor cleared out any already-present features. BUG=none TEST=PhishingClassifierTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60082 Review URL: http://codereview.chromium.org/3452010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60220 0039d316-1c4b-4281-b951-d872f2087c98
* Stop using WebInputElement::inputType().tkent@chromium.org2010-09-222-4/+5
| | | | | | | | | | | | WebInputElement::inputType is deprecated because HTMLInputElement::inputType is deprecated. We should stop using it and use is<Type>() functions. BUG=webkit.org/b/45872 TEST=none; no functional changes. Review URL: http://codereview.chromium.org/3421023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60132 0039d316-1c4b-4281-b951-d872f2087c98
* Deleted WebGLES2ContextImpl and references to it and WebGLES2Context.kbr@google.com2010-09-216-225/+1
| | | | | | | | | | | | | | | | | | | | This is a prerequisite to deletion of GLES2Context and WebGLES2Context from the WebKit repository. There is a TODO, to which the video stack team has agreed, to switch over the experimental hardware-accelerated video decoding from WebGLES2Context to WebGraphicsContext3D. The remaining vestige, removal of the implementation of WebGraphicsContext3D::initialize(Attributes, WebView*), will occur once the associated method is deleted from WebKit. Built and tested 3D CSS and WebGL content on Mac OS X and Windows. BUG=52863 TEST=none Review URL: http://codereview.chromium.org/3449017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60113 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60082 - Add a PhishingClassifier implementation.rdsmith@chromium.org2010-09-219-478/+39
| | | | | | | | | | | | | | | | | | The PhishingClassifier ties together the feature extractors and the scorer, and will be invoked by the RenderView when a page finishes loading. This change also makes the feature extractors have a non-owned pointer to the clock so that it can be shared, and fixes a problem where the DOM feature extractor cleared out any already-present features. BUG=none TEST=PhishingClassifierTest Review URL: http://codereview.chromium.org/3452010 TBR=bryner@chromium.org Review URL: http://codereview.chromium.org/3436026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60091 0039d316-1c4b-4281-b951-d872f2087c98
* Printing: Implement PrintingContext::UseDefaultSettings for Linux/Cairo.jhawkins@chromium.org2010-09-213-39/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3389005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60087 0039d316-1c4b-4281-b951-d872f2087c98
* Add a PhishingClassifier implementation.bryner@chromium.org2010-09-219-39/+478
| | | | | | | | | | | | | | | The PhishingClassifier ties together the feature extractors and the scorer, and will be invoked by the RenderView when a page finishes loading. This change also makes the feature extractors have a non-owned pointer to the clock so that it can be shared, and fixes a problem where the DOM feature extractor cleared out any already-present features. BUG=none TEST=PhishingClassifierTest Review URL: http://codereview.chromium.org/3452010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60082 0039d316-1c4b-4281-b951-d872f2087c98
* Add a unique identifier for plugin groups and use it to identify blocked ↵bauerb@chromium.org2010-09-211-8/+3
| | | | | | | | | | | | | | | plugins. Currently we use the plugin path as identifier for per-plugin content settings, which is not stable across Chrome updates or plugin moves. The new identifier is either hardcoded (for predefined plugin groups), or the filename without path. BUG=39252 TEST=none Review URL: http://codereview.chromium.org/3384014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60054 0039d316-1c4b-4281-b951-d872f2087c98
* Added code path to WebGraphicsContext3DCommandBufferImpl to supportkbr@google.com2010-09-202-8/+83
| | | | | | | | | | | | | | | | | | | rendering directly to the passed WebViewImpl. This will allow the compositor implementation in WebKit to switch over to using GraphicsContext3D rather than WebGLES2Context. Once this is complete, the old code paths will be deleted. Tested 3D CSS demos with and without the upstream WebKit changes to the compositor, and verified that both configurations work. This ensures that the WebKit roll in which the compositor is switched to GraphicsContext3D will go smoothly. BUG=52863 TEST=none Review URL: http://codereview.chromium.org/3425012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59961 0039d316-1c4b-4281-b951-d872f2087c98
* Disable PrintLayoutTest as it fails on windows.satish@chromium.org2010-09-201-1/+8
| | | | | | | | BUG=56246 TEST=none TBR=jorlow git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59939 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 59889 - Fix regression introduced bythakis@chromium.org2010-09-195-94/+72
| | | | | | | | | | | | | | | | | | | http://src.chromium.org/viewvc/chrome?view=rev&revision=57788 Add a delegate interface so that chromium have more fine-grained control over whether a V8 extension is injected into a script context. This is the chromium-side change of webkit bug https://bugs.webkit.org/show_bug.cgi?id=45721 BUG=37290 TEST=covered by unit tests Review URL: http://codereview.chromium.org/3398001 TBR=mpcomplete@chromium.org Review URL: http://codereview.chromium.org/3464003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59906 0039d316-1c4b-4281-b951-d872f2087c98
* Fix regression introduced bympcomplete@chromium.org2010-09-185-72/+94
| | | | | | | | | | | | | | | | http://src.chromium.org/viewvc/chrome?view=rev&revision=57788 Add a delegate interface so that chromium have more fine-grained control over whether a V8 extension is injected into a script context. This is the chromium-side change of webkit bug https://bugs.webkit.org/show_bug.cgi?id=45721 BUG=37290 TEST=covered by unit tests Review URL: http://codereview.chromium.org/3398001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59889 0039d316-1c4b-4281-b951-d872f2087c98
* Support for building Chrome using Clang.evan@chromium.org2010-09-181-1/+2
| | | | | | | | | | | | | | | | To build, set the clang=1 gyp_define. This patch is the culmination of many months of effort and many patches. It contains the minimal changes to Chrome that are Clang-specific. With this, I can build the "chrome" target. Once this patch is in, we can incrementally fix bits of Chrome and various tests and remove the Clang-specific workarounds. Review URL: http://codereview.chromium.org/522020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59882 0039d316-1c4b-4281-b951-d872f2087c98
* Extend improved windowless plugin focus handling to all platformsstuartmorgan@chromium.org2010-09-184-24/+21
| | | | | | | | | | | Uses the same two-state focus tracking that the Mac currently uses on Windows and Linux as well, so focus is updated correctly when the content area itself gains and loses focus. BUG=55607 TEST=Windowless plugins should handle key events when focused on all platforms. Review URL: http://codereview.chromium.org/3397015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59877 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit GpuVideoDecoder and related patches.hclam@chromium.org2010-09-175-45/+25
| | | | | | | | | BUG=53714 TEST=Tree is green Review URL: http://codereview.chromium.org/3442006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59860 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 59845 - Extend improved windowless plugin focus handling to all platformsstuartmorgan@chromium.org2010-09-174-17/+22
| | | | | | | | | | | | | | Uses the same two-state focus tracking that the Mac currently uses on Windows and Linux as well, so focus is updated correctly when the content area itself gains and loses focus. BUG=55607 TEST=Windowless plugins should handle key events when focused on all platforms. Review URL: http://codereview.chromium.org/3418016 TBR=stuartmorgan@chromium.org Review URL: http://codereview.chromium.org/3457007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59852 0039d316-1c4b-4281-b951-d872f2087c98
* Extend improved windowless plugin focus handling to all platformsstuartmorgan@chromium.org2010-09-174-22/+17
| | | | | | | | | | | Uses the same two-state focus tracking that the Mac currently uses on Windows and Linux as well, so focus is updated correctly when the content area itself gains and loses focus. BUG=55607 TEST=Windowless plugins should handle key events when focused on all platforms. Review URL: http://codereview.chromium.org/3418016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59845 0039d316-1c4b-4281-b951-d872f2087c98
* Implement IsSearchProviderInstalled handling on I/O thread.levin@chromium.org2010-09-171-2/+2
| | | | | | | | | BUG=38475 TEST=ui_tests --gtest_filter=SearchProviderTest.TestIsSearchProviderInstalled Review URL: http://codereview.chromium.org/3460001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59843 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed crash in DOM UI setup caused by lazy instantiation of thekbr@google.com2010-09-172-17/+27
| | | | | | | | | | | | | | | | DOMUIBindings. Added helper functions to lazily instantiate both DOMUIBindings and ExternalHostBindings and call them from all access sites in render_view. Also incorporated re-enabling of InputFileTriggerFileBrowse test thanks to xiyuan in http://codereview.chromium.org/3466001 . BUG=55959 TEST=none Review URL: http://codereview.chromium.org/3412011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59826 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 59784 - GpuVideoDecoder to use GpuVideoDevice and IPC messages to ↵mlloyd@chromium.org2010-09-175-17/+45
| | | | | | | | | | | | | | | | | | complete VideoFrame allocation GpuVideoDecedoer now sends IPC messages to allocation GL textures. It also uses GpuVideoDevice to create VideoFrames from the GL textures. These GL textures are passed into VideoDecodeEngine. BUG=53714 TEST=Tree is green Review URL: http://codereview.chromium.org/3335019 TBR=hclam@chromium.org Review URL: http://codereview.chromium.org/3451007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59790 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 59785 - Implement FakeGlVideoDecodeEngine using FakeGlVideoDecodeContextmlloyd@chromium.org2010-09-172-9/+1
| | | | | | | | | | | | | | | | | Defines UploadToVideoFrame in VideoDecodeContext. FakeGlVideoDecodeEngine now uses FakeGlVideoDecodeContext to video frame allocation and uploading. BUG=53714 TEST=Tree is green Review URL: http://codereview.chromium.org/3312022 TBR=hclam@chromium.org Review URL: http://codereview.chromium.org/3436014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59789 0039d316-1c4b-4281-b951-d872f2087c98
* Fix IndexedDB. My last CL had a bug in it.jorlow@chromium.org2010-09-171-2/+2
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/3463001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59787 0039d316-1c4b-4281-b951-d872f2087c98
* Implement FakeGlVideoDecodeEngine using FakeGlVideoDecodeContexthclam@chromium.org2010-09-172-1/+9
| | | | | | | | | | | | | | Defines UploadToVideoFrame in VideoDecodeContext. FakeGlVideoDecodeEngine now uses FakeGlVideoDecodeContext to video frame allocation and uploading. BUG=53714 TEST=Tree is green Review URL: http://codereview.chromium.org/3312022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59785 0039d316-1c4b-4281-b951-d872f2087c98
* GpuVideoDecoder to use GpuVideoDevice and IPC messages to complete ↵hclam@chromium.org2010-09-175-45/+17
| | | | | | | | | | | | | | | VideoFrame allocation GpuVideoDecedoer now sends IPC messages to allocation GL textures. It also uses GpuVideoDevice to create VideoFrames from the GL textures. These GL textures are passed into VideoDecodeEngine. BUG=53714 TEST=Tree is green Review URL: http://codereview.chromium.org/3335019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59784 0039d316-1c4b-4281-b951-d872f2087c98
* The Chromium side of implementing the IndexedDB base path stuff.jorlow@chromium.org2010-09-172-2/+4
| | | | | | | | | | | This allows Chromium to specify where IndexedDB files are stored. TEST=none BUG=none Review URL: http://codereview.chromium.org/3413010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59781 0039d316-1c4b-4281-b951-d872f2087c98
* Add IDBIndex plumbing (for IndexedDB).jorlow@chromium.org2010-09-176-5/+133
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3442001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59780 0039d316-1c4b-4281-b951-d872f2087c98
* Add IPC messages for allocation video frames for hardware video decoderhclam@chromium.org2010-09-171-3/+2
| | | | | | | | | | | | | | | Allocation of video frames should be originated from the VideoDecodeEngine in the GPU process. Adding messages that will allow allocation be done during runtime instead of initialization. Also did some cleanup in gpu_video_common.cc. BUG=53714 TEST=Tree is green Review URL: http://codereview.chromium.org/3361017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59775 0039d316-1c4b-4281-b951-d872f2087c98
* Break indirect dependencies on system OpenGL headers through NPAPIkbr@google.com2010-09-162-19/+33
| | | | | | | | | | | | | | | headers in render_view.h. This was preventing code which needs to access the RenderView from also using the GLES2 command buffer headers in gpu/GLES2/. Code which relies on this dependency removal will soon be checked in which will prevent these dependencies from being accidentally reintroduced. BUG=52863 TEST=none (compiled these changes with forthcoming code) Review URL: http://codereview.chromium.org/3413016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59732 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: Add page load time histograms for thervargas@google.com2010-09-161-0/+54
| | | | | | | | | | | | cache throttling experiment. BUG=54338 TEST=none Review URL: http://codereview.chromium.org/3420006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59731 0039d316-1c4b-4281-b951-d872f2087c98
* Added implementations of entry points which will shortly be addedkbr@google.com2010-09-162-0/+82
| | | | | | | | | | | upstream for implementing the compositor on top of GraphicsContext3D. BUG=55750 TEST=none Review URL: http://codereview.chromium.org/3430008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59705 0039d316-1c4b-4281-b951-d872f2087c98