summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_renderer.gypi
Commit message (Collapse)AuthorAgeFilesLines
* Deleted code associated with --enable-gpu-rendering andkbr@chromium.org2010-11-081-2/+0
| | | | | | | | | | | | | | | | | | | | --enable-video-layering flags. With the introduction of accelerated compositing to Chromium this code is now obsolete, and it is causing problems and bug reports when users experiment with these flags. Tested on Linux in the following configurations: - Compositor on, CSS 3D content - Compositor on, HTML5 video content - Compositor off, HTML5 video content Also ran patch successfully through the try bots. BUG=54932 TEST=none Review URL: http://codereview.chromium.org/4399003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65383 0039d316-1c4b-4281-b951-d872f2087c98
* Factor a PageLoadHistograms class out of RenderView.tonyg@chromium.org2010-11-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | No functional changes are intended. This is in anticipation of using the new WebPerformance API: http://trac.webkit.org/changeset/68141 My strategy is this: 1. In this patch, make the most minimal change possible to the Dump() method necessary to factor it out to a new class. 2. Add a new, temporary histograms which log the WebPerformance metrics which have an existing counterparts. 3. Once we understand any differences and are happy with the new metrics, rip out the old ones. This will allow more cleanup in RenderView and NavigationState. 4. Add new histograms for any interesting WebPerformance metrics which weren't previously available. BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65223 0039d316-1c4b-4281-b951-d872f2087c98
* Implement new SearchBox API along side existing API.tonyg@chromium.org2010-11-041-0/+4
| | | | | | | | | Add some tests. BUG=none TEST=interactive_ui_tests --gtest_filter=InstantTest.* git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65061 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Hopefully, the last ctor patch.erg@google.com2010-10-271-0/+1
| | | | | | | | | | | With this final patch, the chrome target compiles without my new warnings. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/4099006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64080 0039d316-1c4b-4281-b951-d872f2087c98
* Client-side phishing detection: grab snapshot of custom sized view.noelutz@google.com2010-10-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60368 Review URL: http://codereview.chromium.org/3380001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63987 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring select popup on Mac.jcivelli@google.com2010-10-261-0/+2
| | | | | | | | | | | | | | The select popup on Mac was based on a hack: we would create an invisible RenderWidget and redirect mouse and keyboard events to it and we would display a native Cocoa menu. With this CL we do not use a RenderWidget anymore, we send the user selection to the RenderView which in turns communicates to WebKit that selection. BUG=None TEST=On Mac, ensures the select popup works as expected. Also test that for an extension with a browser action containing a select popup, the select popup does work. Also ensures autocomplete/autofill still works (especially popups). Original review: http://codereview.chromium.org/3795006/show Review URL: http://codereview.chromium.org/4078003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63906 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 63536 - Might have broken tests on win.tonyg@chromium.org2010-10-221-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Factor a PageLoadHistograms class out of RenderView. No functional changes are intended. This is in anticipation of using the new WebPerformance API: http://trac.webkit.org/changeset/68141 My strategy is this: 1. In this patch, make the most minimal change possible to the Dump() method necessary to factor it out to a new class. 2. Add a new, temporary histograms which log the WebPerformance metrics which have an existing counterparts. 3. Once we understand any differences and are happy with the new metrics, rip out the old ones. This will allow more cleanup in RenderView and NavigationState. 4. Add new histograms for any interesting WebPerformance metrics which weren't previously available. BUG=none TEST=none Review URL: http://codereview.chromium.org/3502005 TBR=dmaclach@chromium.org Review URL: http://codereview.chromium.org/4061004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63569 0039d316-1c4b-4281-b951-d872f2087c98
* Factor a PageLoadHistograms class out of RenderView.tonyg@chromium.org2010-10-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | No functional changes are intended. This is in anticipation of using the new WebPerformance API: http://trac.webkit.org/changeset/68141 My strategy is this: 1. In this patch, make the most minimal change possible to the Dump() method necessary to factor it out to a new class. 2. Add a new, temporary histograms which log the WebPerformance metrics which have an existing counterparts. 3. Once we understand any differences and are happy with the new metrics, rip out the old ones. This will allow more cleanup in RenderView and NavigationState. 4. Add new histograms for any interesting WebPerformance metrics which weren't previously available. BUG=none TEST=none Review URL: http://codereview.chromium.org/3502005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63536 0039d316-1c4b-4281-b951-d872f2087c98
* Geolocation dispatcher rename:jknotten@chromium.org2010-10-221-2/+2
| | | | | | | | | | | Rename GeolocationDispatcherHost to GeolocationDispatcherHostOld and GeolocationDispatcher to GeolocationDispatcherOld in preparation for the new client-based implementation. BUG=59908 TEST=None Review URL: http://codereview.chromium.org/3799010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63507 0039d316-1c4b-4281-b951-d872f2087c98
* protobuf: switch to using third_party/protobufagl@chromium.org2010-10-011-3/+3
| | | | | | | | | | | | This change lights up new code, but the code should be identical to the code in protobuf2, so no functional changes are expected. BUG=56579 TEST=sync_unit_tests http://codereview.chromium.org/3598004/show git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61185 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60368 - Client-side phishing detection: grab snapshot of custom sized ↵noelutz@google.com2010-09-241-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | view. 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 TBR=noelutz@google.com Review URL: http://codereview.chromium.org/3439026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60536 0039d316-1c4b-4281-b951-d872f2087c98
* Client-side phishing detection: grab snapshot of custom sized view.noelutz@google.com2010-09-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | 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
* Add a PhishingClassifier implementation.bryner@chromium.org2010-09-221-0/+2
| | | | | | | | | | | | | | | | | 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
* Deleted WebGLES2ContextImpl and references to it and WebGLES2Context.kbr@google.com2010-09-211-2/+0
| | | | | | | | | | | | | | | | | | | | 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-211-2/+0
| | | | | | | | | | | | | | | | | | 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
* Add a PhishingClassifier implementation.bryner@chromium.org2010-09-211-0/+2
| | | | | | | | | | | | | | | 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 fullscreen support to Pepper.piman@chromium.org2010-09-141-0/+2
| | | | | | | | | | | This needs http://codereview.chromium.org/3320019/show first for the Pepper interfaces to be there. BUG=none TEST=run a pepper test application, trigger fullscreen on and off. Review URL: http://codereview.chromium.org/3352019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59440 0039d316-1c4b-4281-b951-d872f2087c98
* Add a scorer class for client-side phishing detection.noelutz@google.com2010-09-141-0/+50
| | | | | | | | | | | | | | | | | | The Scorer class loads a machine learning model and lets you compute a phishing score for a set of features that were extracted from the current page. The phishing score corresponds to the probability that the page is phishing. The features are extracted by the various feature extractor classes that live in the same folder. The current format of the model is a protocol buffer (see: client_mode.proto). BUG=NONE TEST=PhishingScorerTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=59019 Review URL: http://codereview.chromium.org/3363004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59434 0039d316-1c4b-4281-b951-d872f2087c98
* Plumbs through window.chrome.setSuggestResult. It's currently hidden behind ↵sky@chromium.org2010-09-101-0/+2
| | | | | | | | | | | a flag. BUG=none TEST=none Review URL: http://codereview.chromium.org/3312017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59165 0039d316-1c4b-4281-b951-d872f2087c98
* Implement pepper::FileIO.dumi@chromium.org2010-09-101-1/+1
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/3329014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59045 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 59019 - nsylvain@chromium.org2010-09-101-51/+0
| | | | | | | | | | | | | | | | | | | | | | | | | This broke the EncryptExportDecrypt unittest. Original description: Add a scorer class for client-side phishing detection. The Scorer class loads a machine learning model and lets you compute a phishing score for a set of features that were extracted from the current page. The phishing score corresponds to the probability that the page is phishing. The features are extracted by the various feature extractor classes that live in the same folder. The current format of the model is a protocol buffer (see: client_mode.proto). BUG=NONE TEST=PhishingScorerTest Review URL: http://codereview.chromium.org/3363004 TBR=noelutz@google.com Review URL: http://codereview.chromium.org/3317017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59034 0039d316-1c4b-4281-b951-d872f2087c98
* Add a scorer class for client-side phishing detection.noelutz@google.com2010-09-091-0/+51
| | | | | | | | | | | | | | | | The Scorer class loads a machine learning model and lets you compute a phishing score for a set of features that were extracted from the current page. The phishing score corresponds to the probability that the page is phishing. The features are extracted by the various feature extractor classes that live in the same folder. The current format of the model is a protocol buffer (see: client_mode.proto). BUG=NONE TEST=PhishingScorerTest Review URL: http://codereview.chromium.org/3363004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59019 0039d316-1c4b-4281-b951-d872f2087c98
* Add a VideoDecodeContext that provides resources for a VideoDecodeEnginehclam@chromium.org2010-09-071-0/+2
| | | | | | | | | | | Also define a Gles2VideoDecodeContext to be used in the chrome renderer. BUG=53714 TEST=none Review URL: http://codereview.chromium.org/3233003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58772 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a class to track when a node in a page gets clicked.jcivelli@chromium.org2010-09-051-0/+3
| | | | | | | | | | | | This is going to be used by the password/form autofill to trigger the suggestion popup, as part of the effort in moving that code out of WebKit. BUG=None TEST=Run unit-tests. Review URL: http://codereview.chromium.org/3090007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58597 0039d316-1c4b-4281-b951-d872f2087c98
* Add a term feature extractor for client-side phishing detection.bryner@chromium.org2010-09-031-0/+2
| | | | | | | | | | | | | | | | | | | | This class creates features for n-grams in the page text that appear in the phishing classification model. It will eventually operate on the plain text that is extracted by RenderView::CaptureText(). To make it harder for phishers to enumerate the terms in the classification model, they will be supplied as SHA-256 hashes rather than plain text. The term feature extractor hashes the words in the document in order to check whether they match the model. Since this is potentially expensive, the term feature extractor limits how long it will run on each iteration, similar to the PhishingDOMFeatureExtractor. TEST=PhishingTermFeatureExtractorTest BUG=none Review URL: http://codereview.chromium.org/3214002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58537 0039d316-1c4b-4281-b951-d872f2087c98
* When the browser doesn't have connectivity to a hosted app, display a ↵erikkay@chromium.org2010-08-271-0/+2
| | | | | | | | | | | prettier error page by default. TEST=none BUG=41281 Review URL: http://codereview.chromium.org/3174024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57680 0039d316-1c4b-4281-b951-d872f2087c98
* Implement window.chrome.app.isInstalled .skerner@chromium.org2010-08-271-1/+3
| | | | | | | | | BUG=49225 TEST=ExtensionBrowserTest.PropertyAppIsInstalled Review URL: http://codereview.chromium.org/3169045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57674 0039d316-1c4b-4281-b951-d872f2087c98
* Limit the time spent on a single iteration of PhishingDOMFeatureExtractor.bryner@chromium.org2010-08-241-0/+1
| | | | | | | | | | | | | | | | | With this change, the feature extractor will keep track of how long it has been working, and if it exceeds a predefined time limit, it will pause and post a task to continue extraction. This will allow other MessageLoop tasks to run on the render thread. There is also a total time limit, after which the extractor will give up altogether -- this is a sanity check in case of a bug or an especially large page. Also includes some UMA histograms so that we can see how well this performs in practice. TEST=PhishingDOMFeatureExtractorTest.Continuation BUG=none Review URL: http://codereview.chromium.org/3130039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57243 0039d316-1c4b-4281-b951-d872f2087c98
* Fix compilation errors of 56862 byandreip@chromium.org2010-08-231-2/+4
| | | | | | | | | | | | | | | - making the include path lower case in renderer_webidbransaction_impl.cc, - adding a newline at the end of indexed_db_dispatcher.cc - fixing the initialization order of member variables in indexed_db_callbacks.h Revert "Revert 56862 - Add transaction coordinator. Allow idle transactions to be aborted when their parent JS context finishes executing." This reverts commit 6b25a433481c9127f8dbcbadc7f0685dc643d6de. Review URL: http://codereview.chromium.org/3163028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57042 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 56862 - Add transaction coordinator. Allow idle transactions to be ↵thomasvl@chromium.org2010-08-201-4/+2
| | | | | | | | | | | | | | | aborted when their parent JS context finishes executing. This change depends on the following WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=44101 Review URL: http://codereview.chromium.org/3165026 TBR=andreip@chromium.org Review URL: http://codereview.chromium.org/3107029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56863 0039d316-1c4b-4281-b951-d872f2087c98
* Add transaction coordinator. Allow idle transactions to be aborted when ↵andreip@chromium.org2010-08-201-2/+4
| | | | | | | | | | | | their parent JS context finishes executing. This change depends on the following WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=44101 Review URL: http://codereview.chromium.org/3165026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56862 0039d316-1c4b-4281-b951-d872f2087c98
* Use RenderWidget(Host) for full screenboliu@chromium.org2010-08-191-0/+2
| | | | | | | | | | | | | | | | | | | Add RenderWidgetFullscreen(Host) subclasses, InitAsFullscreen method to RenderWidgetHostView, and add two new ipc messages for creating and showing full screen. Add createFullscreenWindow to RenderView that creates RenderWidgetFullscreen and sends message to browser which eventually creates RenderWidgetFullscreenHost. The show method on RenderWidgetFullscreen sends message to parent RenderViewHost in browser, which calls InitAsFullscreen on the view. BUG=16735 TEST=RenderViewHostTest.CreateFullscreenWidget Review URL: http://codereview.chromium.org/3055009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56690 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium plumbing for Device Orientation.hans@chromium.org2010-08-111-0/+2
| | | | | | | | | | | | | | | Add the plumbing needed for communicating with the Device Orientation code in WebKit. RenderView provides an implementation of WebKit::WebDeviceOrientationClient: DeviceOrientationDispatcher. This communicates with the browser-side class device_orientation::DispatcherHost. device_orientation::Provider, responsible for providing the orientation data, is just an empty shell for now. BUG=44654 TEST=browser_tests --gtest_filter=DeviceOrientationBrowserTest.BasicTest Review URL: http://codereview.chromium.org/2858049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55724 0039d316-1c4b-4281-b951-d872f2087c98
* Implements initial plumbing for IDBCursor.bulach@chromium.org2010-08-111-0/+2
| | | | | | | | | This is the Chromium side of https://bugs.webkit.org/show_bug.cgi?id=41888 It's almost purely plumbing: actual logic and cursor implementation will follow soon. Review URL: http://codereview.chromium.org/2918002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55693 0039d316-1c4b-4281-b951-d872f2087c98
* 1. ipc_video_decoder.cc/h is media pipeline filter which use the gpu decoder ↵jiesun@google.com2010-08-101-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | facilities in video stack. it is only enabled when (a) hardware composition is on (b) hardware decoding command line is on (c) h264 codec is specified. 2. gpu_video_service.cc/h is a singleton in gpu process which provide video services for renderer process, through it we could create decoder. ( in my imagination, in the future, we could create encoder or capturer too) 3. gpu_video_decoder.cc/h. abstract interface for hardware decoder. 4. gpu_video_service_host.cc/h is singleton in renderer process which provide proxy for gpu_video_service. 5. gpu_video_decoder_host.cc/h is proxy for gpu_video_decoder. (1 to 1 map).basically there is one global GpuVideoService in GPU process, one GpuVideoServiceHost in Renderer process. for each renderer process, there are could be multiple renderer view, each could had multiple GpuVideoDecoderHost the connect to GpuVideoDeocder through GPUCHannelHOst/GpuChannel. 6. gpu_video_common.cc/h: IPC message definition and pickle/marshaling support. ISSUES: 1. in media pipeline, we need let decoder to determine if bit stream filter should be used instead of let command line to determine it. 2. stop readback from D3D surface use ANGLE. 3. Flush logic still need fine tuning. 4. CreateThread in GpuVideoDecoder, and post message in message handler, and derived classs handle message loop. ? 5. Error handling. 6. Input ring buffer implementation. Current impl is naive. 7.Add output queue for MFT decoder. 8. Query Capabilities at GetVideoServices()... BUG=None TEST=Windows7 Review URL: http://codereview.chromium.org/2873089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55516 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 55405 - Special thanks for in-ming cheng's MFT hardware decodering code.ananta@chromium.org2010-08-091-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. ipc_video_decoder.cc/h is media pipeline filter which use the gpu decoder facilities in video stack. it is only enabled when (a) hardware composition is on (b) hardware decoding command line is on (c) h264 codec is specified. 2. gpu_video_service.cc/h is a singleton in gpu process which provide video services for renderer process, through it we could create decoder. ( in my imagination, in the future, we could create encoder or capturer too) 3. gpu_video_decoder.cc/h. abstract interface for hardware decoder. 4. gpu_video_decoder_mft.cc/h media foundation transform hardware decoder which run on windows 7 only. 5. gpu_video_service_host.cc/h is singleton in renderer process which provide proxy for gpu_video_service. 6. gpu_video_decoder_host.cc/h is proxy for gpu_video_decoder. (1 to 1 map).basically there is one global GpuVideoService in GPU process, one GpuVideoServiceHost in Renderer process. for each renderer process, there are could be multiple renderer view, each could had multiple GpuVideoDecoderHost the connect to GpuVideoDeocder through GPUCHannelHOst/GpuChannel. 7. gpu_video_common.cc/h: IPC message definition and pickle/marshaling support. ISSUES: 1. in media pipeline, we need let decoder to determine if bit stream filter should be used instead of let command line to determine it. 2. stop readback from D3D surface use ANGLE. 3. Flush logic still need fine tuning. 4. CreateThread in GpuVideoDecoder, and post message in message handler, and derived classs handle message loop. ? 5. Error handling. 6. Input ring buffer implementation. Current impl is naive. 7.Add output queue for MFT decoder. 8. Query Capabilities at GetVideoServices()... BUG=None TEST=Windows7 Review URL: http://codereview.chromium.org/2873089 TBR=jiesun@google.com Review URL: http://codereview.chromium.org/3020077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55419 0039d316-1c4b-4281-b951-d872f2087c98
* Special thanks for in-ming cheng's MFT hardware decodering code.jiesun@google.com2010-08-091-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. ipc_video_decoder.cc/h is media pipeline filter which use the gpu decoder facilities in video stack. it is only enabled when (a) hardware composition is on (b) hardware decoding command line is on (c) h264 codec is specified. 2. gpu_video_service.cc/h is a singleton in gpu process which provide video services for renderer process, through it we could create decoder. ( in my imagination, in the future, we could create encoder or capturer too) 3. gpu_video_decoder.cc/h. abstract interface for hardware decoder. 4. gpu_video_decoder_mft.cc/h media foundation transform hardware decoder which run on windows 7 only. 5. gpu_video_service_host.cc/h is singleton in renderer process which provide proxy for gpu_video_service. 6. gpu_video_decoder_host.cc/h is proxy for gpu_video_decoder. (1 to 1 map).basically there is one global GpuVideoService in GPU process, one GpuVideoServiceHost in Renderer process. for each renderer process, there are could be multiple renderer view, each could had multiple GpuVideoDecoderHost the connect to GpuVideoDeocder through GPUCHannelHOst/GpuChannel. 7. gpu_video_common.cc/h: IPC message definition and pickle/marshaling support. ISSUES: 1. in media pipeline, we need let decoder to determine if bit stream filter should be used instead of let command line to determine it. 2. stop readback from D3D surface use ANGLE. 3. Flush logic still need fine tuning. 4. CreateThread in GpuVideoDecoder, and post message in message handler, and derived classs handle message loop. ? 5. Error handling. 6. Input ring buffer implementation. Current impl is naive. 7.Add output queue for MFT decoder. 8. Query Capabilities at GetVideoServices()... BUG=None TEST=Windows7 Review URL: http://codereview.chromium.org/2873089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55405 0039d316-1c4b-4281-b951-d872f2087c98
* Adds chromium side plumbing to pass speech input calls back and forth with ↵satish@chromium.org2010-08-041-0/+2
| | | | | | | | | | | | | | | | | WebKit. Please advise if any of the code needs to be within "#if ENABLE_INPUT_SPEECH", since most of the speech input code in webkit is under "#if ENABLE(INPUT_SPEECH)" - Created renderer/SpeechInputDispatcher, implements WebKit::WebSpeechInputController which is used by WebView for invoking speech input. - Created browser/speech/SpeechInputDispatcherHost to receive IPC messages from the above SpeechInputDispatcher. Nothing done yet apart from receiving the messages. - Creates new directory chrome/browser/speech, this will be used for SpeechInputDispatcherHost, network based speech recognizer, speech audio recording/buffering code as well as speech output (Text-to-speech) code in future. BUG=none TEST=no functionality to test yet. Review URL: http://codereview.chromium.org/3035035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54981 0039d316-1c4b-4281-b951-d872f2087c98
* Rename IndexedDatabase to IDBFactory to match the specandreip@chromium.org2010-07-301-2/+2
| | | | | | Review URL: http://codereview.chromium.org/2808083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54304 0039d316-1c4b-4281-b951-d872f2087c98
* Add an extractor for DOM features to be used for client side phishing detection.bryner@chromium.org2010-07-291-0/+2
| | | | | | | | | | | | | | | | | PhishingDOMFeatureExtractor iterates over the page elements and computes a number of features. To avoid blocking the renderer for too long, the extractor may run in several chunks of works, posting a task to continue processing if necessary. This CL only includes the feature extraction itself. I will add the logic to cap the time per iteration in a follow-up CL. BUG=none TEST=PhishingDOMFeatureExtractorTest Review URL: http://codereview.chromium.org/2878046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54082 0039d316-1c4b-4281-b951-d872f2087c98
* This CL creates a new class AutofillHelper that factors out the autofill ↵jcivelli@google.com2010-07-221-0/+2
| | | | | | | | | | | | | | related code out of render_view.cc. This is to limit the bloating of RenderView code, which would soon get even worse once we move the Webkit autofill to Chrome. There is no logic change in this CL. BUG=None TEST=Make sure form autofill and autocomplete work as expected. Review URL: http://codereview.chromium.org/2834060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53413 0039d316-1c4b-4281-b951-d872f2087c98
* Add click-to-load functionality for blocked plugins.bauerb@chromium.org2010-07-191-0/+2
| | | | | | | | | BUG=35316 TEST=Disable plugins, go to a site with a flash animation. You should see a placeholder for the flash animation. When you click on it, the animation should load. Review URL: http://codereview.chromium.org/2862031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52899 0039d316-1c4b-4281-b951-d872f2087c98
* First step in moving the password autocomplete code from the WebKit APIjcivelli@google.com2010-07-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | to the Chromium code. This is currently behind a #define that will be defined in the WebKit API when the change is finished on that side. PasswordAutocompleteManager replaces webpasswordautocompletelistener_impl.cc, it is responsible for trigering password autocomplete The unit-tests in webpasswordautocompletelistener_unittest.cc have been ported to password_autocomplete_manager_unittest.cc. They are now test shell unit-tests so we don't have to use a wrapper around WebElements. BUG=None TEST=The new code is not yet enabled. Test that the password autocomplete still works as expected. Review URL: http://codereview.chromium.org/2827030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52342 0039d316-1c4b-4281-b951-d872f2087c98
* Add URL-based features for client-side phishing detection.bryner@chromium.org2010-07-091-0/+4
| | | | | | | | | | | | | | This change implements the URL-based features that we'll use for client-side phishing detection. Right now, the features are simply inserted into a map. Later changes will add content-based features, scoring, and hook up the code to run after page load is finished. BUG=none TEST=PhishingUrlFeatureExtractorTest, PhishingFeaturesTest Review URL: http://codereview.chromium.org/2843036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51922 0039d316-1c4b-4281-b951-d872f2087c98
* Rename Dns prefetching files to Predictor filesjar@chromium.org2010-06-271-4/+4
| | | | | | | | | | | | We are now doing more than DNS pre-resolution, and want to do TCP/IP pre-warming. This change uses the updated class names etc., and tries to use Predictor as the common element in most names. r=mbelshe Review URL: http://codereview.chromium.org/2866026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50951 0039d316-1c4b-4281-b951-d872f2087c98
* Implement IDBDatabase::createObjectStore. Also refactor IndexedDBCallbacks.andreip@chromium.org2010-06-091-0/+2
| | | | | | | | | | | | This CL is a clone of http://codereview.chromium.org/2607001/show which was reviewd and LGTM'ed by Jeremy Orlow. Review URL: http://codereview.chromium.org/2740003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49267 0039d316-1c4b-4281-b951-d872f2087c98
* Add IDBIndex support + various cleanup.jorlow@chromium.org2010-06-031-0/+2
| | | | | | | | This adds IDBIndex support. The majority of this CL was boilerplate type code in indexed_db_dispatcher_host so I did my best to factor it into template functions and split things into multiple sub-dispatcher hosts. Review URL: http://codereview.chromium.org/2449005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48822 0039d316-1c4b-4281-b951-d872f2087c98
* Add ppapi plugins to about:pluginsdarin@chromium.org2010-05-281-2/+0
| | | | | | | | | | | | Querying the plugin path and actual mime type is moved from creation of the WebPluginDelegate to creation of the WebPlugin. This cleaned up some code. R=jam BUG=45289 TEST=none Review URL: http://codereview.chromium.org/2262002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48484 0039d316-1c4b-4281-b951-d872f2087c98
* Implement IndexedDatabase::open up until re-entrance into WebKit. That (and thejorlow@chromium.org2010-05-141-0/+6
| | | | | | | | | | | | | | | | | | | | | | rest of IndexedDB) will be done in subsequent patches. Included in this patch is a lot of other infrastructure for making IndexedDB work. Included is a conversion from the DOMStorageDispatcherHost into a dispatcher host for all APIs that have a backend in WebKit. I named it WebKitAPIDispatcherHost. Since it's in browser/in_process_webkit and it is for APIs that connect up to the WebKit API and it's used for APIs whose backend is implemented in WebKit I thought the name was decent and not _too_ confusing, but if you have better ideas, please let me know. This includes some code that you've already reviewed (darin), but a lot has changed so please take a look at all of it. TEST=Not much to test yet + behind a flag. BUG=none Review URL: http://codereview.chromium.org/1599009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47268 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for registering new-style pepper plugins on the command line.darin@chromium.org2010-05-141-0/+2
| | | | | | | | | | | | | | | | Command line looks like this: chrome.exe --register-pepper-plugins="c:\foo\bar.dll;application/x-bar" This causes the registered plugins to be loaded on startup before the sandbox is engaged. As a result, registered plugins can function within the sandbox. R=brettw BUG=none TEST=none Review URL: http://codereview.chromium.org/2104002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47239 0039d316-1c4b-4281-b951-d872f2087c98