summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_renderer.gypi
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Remove webkit_support_in_chromium.gyp and use webkit_support.gyptony@chromium.org2010-05-141-2/+2
| | | | | | | | | | instead. features.gypi isn't needed by glue, appcache or database. Review URL: http://codereview.chromium.org/2070001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47238 0039d316-1c4b-4281-b951-d872f2087c98
* Add code to engage new Pepper API behind a preprocessor macro.darin@chromium.org2010-05-131-0/+2
| | | | | | | | | | R=brettw BUG=none TEST=none Review URL: http://codereview.chromium.org/1983009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47121 0039d316-1c4b-4281-b951-d872f2087c98
* Make it possible to build DRT in a chromium checkout.tony@chromium.org2010-05-121-2/+2
| | | | | | | | | | | | | | | | | The problem was the circular gyp dependency between webkit.gyp and WebKit.gyp: webkit.gyp:pull_in_webkit_unit_tests -> WebKit.gyp -> webkit.gyp:webkit_support. The fix is to move webkit_support into its own gyp file (like we do in an webkit only checkout). We can't use the same gyp file for in- chromium and in-webkit because we need to change the include path for features.gypi. In gyp, variable expansion happens after includes (otherwise you'd have to expand variables twice and they could change values), so we can't use a single gyp file for this. Review URL: http://codereview.chromium.org/1995013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47012 0039d316-1c4b-4281-b951-d872f2087c98
* Update the Pepper scrollbar widget to use the new WebKit Scrollbar interface.jam@chromium.org2010-05-121-3/+0
| | | | | | Review URL: http://codereview.chromium.org/2008008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47000 0039d316-1c4b-4281-b951-d872f2087c98
* Add new widget API to Pepper to replace the old theming API. The ↵jam@chromium.org2010-05-071-0/+7
| | | | | | | | implementation is a copy of the WebKit code, I will figure out how to reuse it soon. Review URL: http://codereview.chromium.org/2011004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46710 0039d316-1c4b-4281-b951-d872f2087c98
* Moved everything in browser/sync/net to common/net.akalin@chromium.org2010-05-061-0/+1
| | | | | | | | | | | | | This is so it can be used by both common/net/notifier and browser/sync. Removed unused and rotted unittest file. BUG=42606 TEST=trybots Review URL: http://codereview.chromium.org/2022001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46634 0039d316-1c4b-4281-b951-d872f2087c98
* Remove svn:executable property from more files that don't need it.thestig@chromium.org2010-04-271-0/+0
| | | | | | Review URL: http://codereview.chromium.org/1723014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45659 0039d316-1c4b-4281-b951-d872f2087c98
* Adding the chromium implementation of the GLES2context class whichvangelis@chromium.org2010-04-221-0/+2
| | | | | | | | | | | makes use of ggl to create an OpenGL context. BUG=41425 TEST=NONE Review URL: http://codereview.chromium.org/1630032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45326 0039d316-1c4b-4281-b951-d872f2087c98
* Indicate in the tab UI if appcache creation was blocked by privacy settings.jochen@chromium.org2010-04-091-0/+2
| | | | | | | | | TEST=manual BUG=38362 Review URL: http://codereview.chromium.org/1600002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44079 0039d316-1c4b-4281-b951-d872f2087c98
* Changing the translate back-end to use the Google Translate element.jcivelli@google.com2010-04-061-5/+2
| | | | | | | | | | | | | | | | When the user indicates that a page should be translated, the browser first fetches the Google Translate Element JS code. It then sends it to the renderer, which injects the script in the page, waits for the Translate element to be initialized and then calls the translate method on it. The TranslationService class previously used to translate text chunks is now unused and has been removed. Some of its static methods that are still used have been moved to the TranslateManager class. This CL also implements the "revert" translation behavior. BUG=35474,37778,35553,39375 TEST=Test the translation feature extensively. Review URL: http://codereview.chromium.org/1599016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43768 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate WebCore include paths when compiling Chromium code.darin@chromium.org2010-04-031-3/+1
| | | | | | | | | | | | | In the process of trying to do this, I discovered some unnecessary config.h includes as well as some remaining WebCore function calls. R=dglazkov BUG=none TEST=none Review URL: http://codereview.chromium.org/1521010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43574 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to the Browser to support Database access from Workers.ericu@google.com2010-04-021-5/+3
| | | | | | | | | | | | This changelist should have no visible effect until the V8 bindings for the Database get added to the Worker context in WebKit. BUG=none TEST=webkit layout tests Review URL: http://codereview.chromium.org/1387001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43427 0039d316-1c4b-4281-b951-d872f2087c98
* Landing http://codereview.chromium.org/1084017:glider@chromium.org2010-04-011-1/+3
| | | | | | | | | | | | | | | nacl sources should be included conditionally TEST=build with and without disable_nacl=1 BUG=39034 This CL was initially prepared by appamatto@gmail.com TBR=sehr Review URL: http://codereview.chromium.org/1562007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43335 0039d316-1c4b-4281-b951-d872f2087c98
* Added command buffer implementation of WebGL which runs in the sandbox.kbr@google.com2010-03-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | Added synchronous initialization of the channel to the GPU process, needed to obey WebGL startup semantics. There are problems with this on the Windows platform which will be addressed via refactoring in the GpuProcessHost in a subsequent CL. Implemented offscreen rendering code path in GGL / GLES2CmdDecoder for Mac OS X. This new code path is not yet complete for all platforms and is still being stress tested. The previous in-process WebGL implementation is currently used when the sandbox is disabled; it will be removed in a subsequent CL. A one-line code change in WebKit is needed after this CL lands to enable the new code path. BUG=29120 TEST=ran WebGL demos on command buffer implementation on Mac Review URL: http://codereview.chromium.org/1328001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42879 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for interacting with the DOM in browser_tests.kkania@chromium.org2010-03-181-0/+2
| | | | | | | | | BUG=none TEST=none Reivew url: http://codereview.chromium.org/660046 Review URL: http://codereview.chromium.org/1051005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42026 0039d316-1c4b-4281-b951-d872f2087c98
* Add the descriptor support needed for Pepper in a way that doessehr@google.com2010-03-171-0/+1
| | | | | | | | not include chrome/common or base/ files from the NaCl tree. Review URL: http://codereview.chromium.org/969006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41864 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 41789 - Add support for DOM interaction in browser tests via C++.kkania@chromium.org2010-03-171-2/+0
| | | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/660046 TBR=kkania@chromium.org Review URL: http://codereview.chromium.org/971004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41807 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for DOM interaction in browser tests via C++.kkania@chromium.org2010-03-171-0/+2
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/660046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41789 0039d316-1c4b-4281-b951-d872f2087c98
* Enable TCMalloc on Linux by default.willchan@chromium.org2010-03-121-0/+8
| | | | | | | | BUG=36687 Review URL: http://codereview.chromium.org/854005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41457 0039d316-1c4b-4281-b951-d872f2087c98
* Move wtl from chrome/third_party to third_party/. Thistony@chromium.org2010-03-091-1/+1
| | | | | | | | | | | breaks dependencies on chrome from webkit, app, views and base. BUG=37649 TEST=compiles Review URL: http://codereview.chromium.org/699001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41001 0039d316-1c4b-4281-b951-d872f2087c98
* BSD port: Another chunk of chrome/ ifdef changespvalchev@google.com2010-03-091-0/+6
| | | | | | Review URL: http://codereview.chromium.org/652186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40974 0039d316-1c4b-4281-b951-d872f2087c98
* GGL library is a variant of the WGL, EGL and PGL libraries.apatrick@chromium.org2010-03-081-0/+5
| | | | | | | | | | It is used to create and destroy OpenGL contexts and make them current. TEST=none BUG=none Review URL: http://codereview.chromium.org/661043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40940 0039d316-1c4b-4281-b951-d872f2087c98