summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view.cc
Commit message (Collapse)AuthorAgeFilesLines
* Landing Chris Guillory CL.jcampan@chromium.org2010-02-241-5/+6
| | | | | | | | | | | | See original review at: http://codereview.chromium.org/626014/show BUG=None TEST=None Review URL: http://codereview.chromium.org/657020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39828 0039d316-1c4b-4281-b951-d872f2087c98
* Adjust Page Load Time histograms in A/B testsjar@chromium.org2010-02-231-59/+21
| | | | | | | | | | | | | | We're focusing on StartToFinish rather than StartToFinishDoc for PLT tests. I pulled out teh StartToFinishDoc histograms, and added one more modulated histogram to look at ratios of forward to back in various test scenarios. I also removed the A/B tests for delayed binding. r=willchan Review URL: http://codereview.chromium.org/657006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39786 0039d316-1c4b-4281-b951-d872f2087c98
* Add 3D support for the Mac on Leopard (OS X 10.5) and earlier. This CL usesdspringer@google.com2010-02-231-0/+21
| | | | | | | | | | | | | | | | | FBO rendering with glGetTexImage() into a TransportDIB that is then used as a texture for rendering the final image in the render view in the browser. While not optimal, it works and can be optimized later, after the new GPU process work is completed. This CL also enables stencil buffer support on the Mac. All the Pepper3D demos run on the Mac with these changes. BUG=none TEST=3D rendering unit tests. Review URL: http://codereview.chromium.org/647043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39744 0039d316-1c4b-4281-b951-d872f2087c98
* Do not send extra blur and focus events if popup menu is showingvictorw@chromium.org2010-02-221-0/+6
| | | | | | | | | | | | | | | | Add flag to RenderWidget to remember the popup menu state and suppress focus / blur events when popup menu is showing. This fixes the issue that extra focus / blur events are fired after select control is clicked. R=darin BUG=23499 TEST=none Review URL: http://codereview.chromium.org/647047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39670 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill forms. We do this by responding to a message from WebKit which ↵jhawkins@chromium.org2010-02-201-0/+26
| | | | | | | | | | sends the (name, label) key requested to fill out a specific field. The RenderView finds the form to AutoFill using the FormManager and requests the AutoFillManager to fill in the data for the form. At the end, the FormManager uses this data to fill out the fields in the form on the web page. BUG=18201 TEST=none Review URL: http://codereview.chromium.org/651002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39533 0039d316-1c4b-4281-b951-d872f2087c98
* Second try for:bulach@chromium.org2010-02-191-0/+13
| | | | | | | | | | | | | | | http://src.chromium.org/viewvc/chrome?view=rev&revision=39374 Initial Geolocation implementation Adds IPC plumbing. Adds Infobar buttons for requesting permission This change specifically: ui_test_utils::WaitForAppModalDialog registers for listening to notifications too late, i.e., after the dialog had been triggered. Exposes AppModalDialogObserver so that we can register, trigger the dialog, then wait for it. Review URL: http://codereview.chromium.org/647048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39435 0039d316-1c4b-4281-b951-d872f2087c98
* Pulled out Callback code into base/callback.h. This is the first step ↵akalin@chromium.org2010-02-191-0/+1
| | | | | | | | | | | | | towards redoing the Callback interfaces. Added and removed includes as needed. BUG=35223 TEST=trybots Review URL: http://codereview.chromium.org/646061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39419 0039d316-1c4b-4281-b951-d872f2087c98
* This CL makes switching the target back to the original languagejcampan@chromium.org2010-02-181-10/+0
| | | | | | | | | | | | | revert the translation. It also simplifies the page translator logic. We are initializing the PageTranslator states when a new page is translated. Further translations reuse the text nodes already retrieved. Also an unused method has been removed from RenderView. BUG=36073 TEST=See bug. Thoroughly test the translation feature. Review URL: http://codereview.chromium.org/647030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39384 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 39366 - Initial Geolocation implementationbulach@chromium.org2010-02-181-13/+0
| | | | | | | | | | | | | | Adds IPC plumbing. Adds Infobar buttons for requesting permission TEST=geolocation_browsertest.cc Review URL: http://codereview.chromium.org/548188 TBR=bulach@chromium.org Review URL: http://codereview.chromium.org/646027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39374 0039d316-1c4b-4281-b951-d872f2087c98
* Initial Geolocation implementationbulach@chromium.org2010-02-181-0/+13
| | | | | | | | | | | Adds IPC plumbing. Adds Infobar buttons for requesting permission TEST=geolocation_browsertest.cc Review URL: http://codereview.chromium.org/548188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39366 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome-side change of WebKit API change to expose a "reload all" flag.evan@chromium.org2010-02-181-5/+14
| | | | | | | | Doesn't hook up the UI for it yet, just adds the appropriate API. Review URL: http://codereview.chromium.org/605026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39356 0039d316-1c4b-4281-b951-d872f2087c98
* Modal loops of joy.darin@chromium.org2010-02-181-14/+22
| | | | | | | | | | | | | | | | | | | | | | | | We need to pump messages in the renderer and in any related plugin processes when sending sync IPCs to get cookies and set localstorage items because these IPCs can block on a user prompt. This code moves complexity into RenderThread::Send(). That function is now responsible for calling WebView::{willEnter,didExit}ModalLoop() and for broadcasting the messages to signal/reset modal dialog events in the related plugin processes. This change also adds code to optionally suspend the shared webkit timer. This was needed to fix bug 36063. It also helps make spinning a nested loop to wait for document.cookie results a bit less risky since we'll be re-entering WebKit in fewer cases. R=jam BUG=34917,36063 TEST=none Review URL: http://codereview.chromium.org/607011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39327 0039d316-1c4b-4281-b951-d872f2087c98
* Send suggestions from the AutoFillManager to the AutoFillSuggestionsPopup in ↵jhawkins@chromium.org2010-02-181-5/+26
| | | | | | | | | | WebKit. BUG=18201 TEST=none Review URL: http://codereview.chromium.org/627005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39310 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a race condition when a shared worker exits while one parent is loadingatwilson@chromium.org2010-02-171-1/+10
| | | | | | | | | | | | | | | it. Changed the shared worker startup code to assign a route ID at the time that we initially lookup the worker, and pass that same route ID in when we later try to create the worker, to gracefully handle this race condition. BUG=29243 TEST=existing tests suffice (can't reproduce race condition in tests) Review URL: http://codereview.chromium.org/600103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39274 0039d316-1c4b-4281-b951-d872f2087c98
* Relanding r38479. The underlying memory leak in WebKit has been fixed.jhawkins@chromium.org2010-02-171-2/+23
| | | | | | | | | | | Send forms seen in the renderer to the AutoFillManager. TBR=dglazkov BUG=none TEST=none Review URL: http://codereview.chromium.org/623003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39264 0039d316-1c4b-4281-b951-d872f2087c98
* Disable Mac-like input behavior on all platforms but Mac.jochen@chromium.org2010-02-171-0/+8
| | | | | | | | | BUG=none TEST=e.g. double click a word to select it, hit delete. should only delete the word (not the whitespace before) Review URL: http://codereview.chromium.org/601093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39219 0039d316-1c4b-4281-b951-d872f2087c98
* Send "content blocked" ipc messages even more reliably.thakis@chromium.org2010-02-151-4/+14
| | | | | | | | | | | | | | | This effectively reverts patch set 6 from http://codereview.chromium.org/596039 and adds patch set 1 instead. Also add a regression test to make sure the bug is actually fixed. The problem with using navigation state was that allowScripts() was still called before the FrameNavigate message was sent. BUG=35011 TEST=See bug. Review URL: http://codereview.chromium.org/608001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39040 0039d316-1c4b-4281-b951-d872f2087c98
* Send "content blocked" ipc messages more reliably.thakis@chromium.org2010-02-121-12/+8
| | | | | | | | | | | | | | | | | | | I believe that the bug happened in this sequence of events: 1.) JS gets blocked on the web page, icon appears. The renderer (correctly) thinks js is blocked. 2.) User hits "reload" 3.) RenderView::didCommitProvisionalLoad() calls RenderView::UpdateURL() which sends ViewHostMsg_FrameNavigate to the browser which clears the content settings images in the location bar 4.) RenderView::allowScripts() gets called during page loading. The renderer still thinks that js is blocked and hence doesn't notify the browser. 5.) RenderView::didReceiveResponse() clears the content blocked flags (too late) This CL moves the content blocked flags into navigationstate, which should prevent this "race" because there's one new navigationstate per page. BUG=35011 TEST=See bug. Review URL: http://codereview.chromium.org/596039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38877 0039d316-1c4b-4281-b951-d872f2087c98
* Remove calls to the deprecated method applyAutofillSuggestions and replace ↵jhawkins@chromium.org2010-02-111-1/+1
| | | | | | | | | | it with calls to the new applyAutocompleteSuggestions. BUG=none TEST=none Review URL: http://codereview.chromium.org/597033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38817 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 38479 - Send forms seen in the renderer to the AutoFillManager.dglazkov@chromium.org2010-02-111-23/+2
| | | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/584009 TBR=jhawkins@chromium.org Review URL: http://codereview.chromium.org/597045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38797 0039d316-1c4b-4281-b951-d872f2087c98
* Send forms seen in the renderer to the AutoFillManager.jhawkins@chromium.org2010-02-091-2/+23
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/584009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38479 0039d316-1c4b-4281-b951-d872f2087c98
* The translate feature was only translating the main frame of the page.jcampan@chromium.org2010-02-091-4/+12
| | | | | | | | | | | This CL makes it also translate frames and iframes. BUG=34533 TEST=See bug for repro case. Review URL: http://codereview.chromium.org/577032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38475 0039d316-1c4b-4281-b951-d872f2087c98
* Remove uses of the deprecated hideAutofillPopup and replace it with the new ↵jhawkins@chromium.org2010-02-081-2/+2
| | | | | | | | | | hideSuggestionsPopup. BUG=none TEST=none Review URL: http://codereview.chromium.org/586011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38413 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure chrome.tab.executeScript runs in fragment-navigated frames.asargent@chromium.org2010-02-081-0/+4
| | | | | | | | | | | | | | | | | BUG=29541 TEST=Install a test extension that has a browser action that uses executeScript when you click on it to do something in the current tab like call alert (the bug report has one). Then: 1) navigate to any site like http://www.google.com/ 2) Add #foo to the end of url and hit enter. 3) Hit browser action button. 4) You should see the results. Review URL: http://codereview.chromium.org/566041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38368 0039d316-1c4b-4281-b951-d872f2087c98
* Send window frame information to Mac plugins via IPCstuartmorgan@chromium.org2010-02-081-0/+25
| | | | | | | | | | | | | | | | | | | Sends any window frame and relevent content view location changes to the plugin process via IPC, so that the plugin process always knows where the plugin is rather than only knowing when the mouse is within the plugin area. This will be necessary for supporting NPN_ConvertPoint, and for supporting Java2 as currently implemented. Related changes: - Now that window information is being sent on init and un-hide, use that to get correct initial window focus information. - Add a missing window focus change notification uncovered by the above. - Use live mouse location for idle events, instead of a cached location, now that we have live plugin frame information. - Refactor and simplify the logic for moving the plugin. Note that containing_window_frame_ is currently unused, but will be shortly for NPN_ConvertPoint, and is so closely related to the added IPC that I added it now rather than having to immediately change the new messages and functions. BUG=34046,31858,31543,29457 TEST=Mouse tracking in Carbon plugins should still work correctly, even across window moves, info/bookmark bar show/hides, etc. (Automated tests of location tracking will follow shortly with full NPN_ConvertPoint implementation.) Review URL: http://codereview.chromium.org/573015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38361 0039d316-1c4b-4281-b951-d872f2087c98
* Further divide PLT metrics based on cache policyjar@chromium.org2010-02-071-24/+128
| | | | | | | | | | | | | Divided the case of link-navigation based on whether the cache was being used. Many histograms were further divided. I depricated one enum so that the existing histogram could be compared better. r=darin Review URL: http://codereview.chromium.org/582010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38329 0039d316-1c4b-4281-b951-d872f2087c98
* linux: Use gtk-cursor-blink from GtkSettings to set the caret blink intervaljoel@chromium.org2010-02-051-0/+3
| | | | | | | | | BUG=20772 TEST=Open gnome-keyboard-properties. Un-set the "Cursor Blinking" checkbox. Open a new tab in chromium and the cursor should not blink. Do the same with the slider, and the rate of blinking should vary. Review URL: http://codereview.chromium.org/398003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38168 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up third_party/cld.jshin@chromium.org2010-02-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Remove files we don't use that come from toolbar 2. Simplify the directory structure by removing the redundant intermediary directories bar/toolbar/cld/i18n This will bring CLD a step closer to where it can be open-sourced separately (or along with CED for encoding detection.). It's not there yet. In addition to the clean-up, change |LanguageCode*| return 'nb', 'he', 'fil' instead of 'no', 'iw', and 'tl'. Also, use LanguageCodeWithDialects instead of LanguageCode to get 'zh-CN' instead of 'zh'. This is to simplify the 3-way mapping between Chrome's UI locale code, CLD's language code and what's accepted by Google Translate. It's also another preparation for open-sourcing because we'd better use the standard code rather than the obsolete code like 'iw' when open-sourcing. BUG=32759, 33613 TEST=third_party/cld builds on all platforms and pass the following tests: - unit_tests: Extension*.DetectTabLanguage and CompactLangDetTest.* - browser_tests: ExtensionBrowserTest.Toolstrip git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38146 0039d316-1c4b-4281-b951-d872f2087c98
* Use LanguageCodeWithDialects instead of LanguageCode to get 'zh-CN' jshin@chromium.org2010-02-041-4/+5
| | | | | | | | | | | | | | | instead of 'zh'. This was a part of http://codereview.chromium.org/549123/show (LGTM'd by jcampan by email), but that CL is failing the unittest after the CLD update by jcampan. So, I'm landing this small change first. BUG=32759 TEST=NONE TBR=jcampan Review URL: http://codereview.chromium.org/561065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38073 0039d316-1c4b-4281-b951-d872f2087c98
* Fix RenderView::AllowContentType to work properly.jochen@chromium.org2010-02-041-8/+9
| | | | | | | | | | | | | AllowContentType needs to return false when blocking content. The code to limit notifications to the UI was interfering with this. This CL also fixes the naming of "allowContentType" to follow google style. R=jochen BUG=none TEST=enable image blocking, and then load images.google.com. you should see more than just one image get blocked. Review URL: http://codereview.chromium.org/566039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38067 0039d316-1c4b-4281-b951-d872f2087c98
* Let renderer notify browser if content gets blocked.thakis@chromium.org2010-02-031-14/+28
| | | | | | | | | BUG= TEST=Go to a page with blocked stuff. Icons should appear in omnibox. Review URL: http://codereview.chromium.org/565010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37951 0039d316-1c4b-4281-b951-d872f2087c98
* Change the behavior of ViewMsg_Replace. It replaces a word around thetkent@chromium.org2010-02-031-1/+4
| | | | | | | | | | | | | | | | caret if there is no selected text. See http://webkit.org/b/33364 BUG=8841 TEST=Open www.google.com on Windows or Linux (not Mac OS) type "qeury" Right-click on the text field Select "query" Confirm that qeury is replaced with "query" Review URL: http://codereview.chromium.org/562014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37939 0039d316-1c4b-4281-b951-d872f2087c98
* [GPU] Get GPU process running on the mackbr@google.com2010-02-031-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initial port of GPU process / plugin to Mac OS X. Uses new IOSurface APIs and therefore currently runs only on 10.6. Alternate strategy will need to be devised for 10.5. Slight UI issues remain such as GPU plugins initially showing up in the wrong place on the page. These will be fixed in follow-on bugs. Minimal changes made to command buffer code to get it to compile on Mac OS X. Commented out use of nested anonymous namespaces in gles2_cmd_decoder.cc which were causing the linker to crash with a seg fault. Refactored gyp files so the OS test enabling the GPU plugin is in one place, common.gypi, and other files test only the variable enable_gpu. Slight change to gles2_demo_cc.cc to add some simple animation to verify that updates from the GPU plugin are reaching the screen. Changed Pepper test plugin to use 3D view by default and commented out use of audio context because of recent issues. TEST=none (ran Pepper Test Plugin with 3D view enabled) BUG=http://crbug.com/25988 Review URL: http://codereview.chromium.org/558035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37934 0039d316-1c4b-4281-b951-d872f2087c98
* Hide plugins in minimized/hidden windows on the Macstuartmorgan@chromium.org2010-02-021-0/+14
| | | | | | | | | | | Watch for window minizing and app hiding so we know when pages aren't visible for reasons other than being in background tabs. Manually hide plugins in non-visible windows, as a temporary workaround for bug 34266. BUG=30838 TEST=Minimize a window or hide the application while a Flash or Quicktime movie is playing; CPU usage should be the same as if it were in a background tab. Review URL: http://codereview.chromium.org/563010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37851 0039d316-1c4b-4281-b951-d872f2087c98
* Add the capability to translate an already translated page tojcampan@chromium.org2010-02-021-7/+0
| | | | | | | | | | | | | | | | a different language. We are keeping the text nodes and their original text around. If another translate request arrives, we translate directly based on the text nodes and text stored. The text nodes and original text chunks are deleted when a navigation to a new page occurs. BUG=None TEST=Visit a page in a foreign language. Have it translated. On the resulting infobar, change the target language. Make sure the page is translated correctly to the new selected language. Review URL: http://codereview.chromium.org/567014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37815 0039d316-1c4b-4281-b951-d872f2087c98
* Add tab switch notification to the Mac plugin plumbing.stuartmorgan@chromium.org2010-02-011-0/+24
| | | | | | | | | | | | | | | | | | | Using the new notification: - Update plugin clip rect when it's not in a visible tab. - Update plugin idle event rate when it's not in a visible tab. - Switch the unfocus-on-tab-switch event to be based on the this new notification, instead of a browser-level broadcast. Related changes: - Stop sending redundant focus events to plugins. - Send window activation to Carbon event plugins too, not just Cocoa. - Now that plugins are getting window and tab de-focus events directly, remove the older hack to force all plugins to lose focus any window or tab loses focus. BUG=29371, 32229, 30838 TEST=Flash should still only register keystrokes when it is in the active window+tab. Plugins in background tabs should use less CPU. Review URL: http://codereview.chromium.org/548224 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37743 0039d316-1c4b-4281-b951-d872f2087c98
* Propagate window focus changes to plugins on the Macstuartmorgan@chromium.org2010-02-011-0/+18
| | | | | | | | | | | This gives plugins mostly correct window activation information; there are still a few loose ends like initial focus state and changes that happen while plugins are in background tabs, but those will be handled in follow-up bugs. BUG=31847 TEST=Plugins that are in background windows should act accordingly (e.g., Silverlight hover effects shouldn't trigger) Review URL: http://codereview.chromium.org/549194 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37694 0039d316-1c4b-4281-b951-d872f2087c98
* Relanding the hooking of the translate feature UI.jcampan@chromium.org2010-02-011-2/+9
| | | | | | | | See http://codereview.chromium.org/549217 Review URL: http://codereview.chromium.org/558065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37688 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 37674 - Hooking the UI part to the translate feature.jcampan@chromium.org2010-01-311-9/+2
| | | | | | | | | Review URL: http://codereview.chromium.org/549217 TBR=jcampan@chromium.org Review URL: http://codereview.chromium.org/555195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37675 0039d316-1c4b-4281-b951-d872f2087c98
* Hooking the UI part to the translate feature.jcampan@chromium.org2010-01-311-2/+9
| | | | | | Review URL: http://codereview.chromium.org/549217 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37674 0039d316-1c4b-4281-b951-d872f2087c98
* The upstream change to make popup shrinking work properly is a big project, ↵aa@chromium.org2010-01-311-0/+9
| | | | | | | | | | | so I'm doing a quick hack here so that we don't ship more builds with it broken. BUG=30291 TEST=Install news sample extension. Expand a section, then contract it. Popup should contract too. Review URL: http://codereview.chromium.org/556058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37654 0039d316-1c4b-4281-b951-d872f2087c98
* Fix api misunderstanding.thakis@chromium.org2010-01-301-17/+13
| | | | | | | | | BUG=32719 TEST=none Review URL: http://codereview.chromium.org/554145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37645 0039d316-1c4b-4281-b951-d872f2087c98
* IPC per-host content settings to the renderers.thakis@chromium.org2010-01-301-4/+36
| | | | | | | | | BUG=32719 TEST=none Review URL: http://codereview.chromium.org/549218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37628 0039d316-1c4b-4281-b951-d872f2087c98
* Stubs for applying content settings.darin@chromium.org2010-01-301-1/+17
| | | | | | | | | | R=pkasting BUG=none TEST=none Review URL: http://codereview.chromium.org/555187 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37622 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented the undo translation in the renderer. jcampan@chromium.org2010-01-301-0/+10
| | | | | | | | | | | | | This reverts the page's text to its original (pre-translation) value. BUG=None TEST=None Review http://codereview.chromium.org/554104/show Review URL: http://codereview.chromium.org/555175 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37583 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Implement HostContentSettingsMap"evan@chromium.org2010-01-291-14/+0
| | | | | | | | This reverts commit r37508, as it was crashing on the reliability bots. Review URL: http://codereview.chromium.org/556076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37519 0039d316-1c4b-4281-b951-d872f2087c98
* Implement HostContentSettingsMapjochen@chromium.org2010-01-291-0/+14
| | | | | | | | | | | This map stores whether a given host may load images or use plugins and javascript. And makes this information available to the render view BUG=32782 TEST=none Review URL: http://codereview.chromium.org/551149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37508 0039d316-1c4b-4281-b951-d872f2087c98
* This CL makes the TranslationService class send the text to be translated to ↵jcampan@chromium.org2010-01-291-5/+14
| | | | | | | | | | | | | | | | the translation server. It groups requests as to limit the number of requests sent to the server. Also this CL adds a flag to automatically turn on translation on pages that are not in the language Chrome is configured in. BUG=None TEST=Run the unit-tests. Add the --auto-translate flag then navigate to pages in a language which is not the language Chrome is configured. They should get translated. Review URL: http://codereview.chromium.org/552216 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37479 0039d316-1c4b-4281-b951-d872f2087c98
* Added a "Reload Frame" command to context menu of a frame in the html page.erg@google.com2010-01-281-0/+7
| | | | | | | | | | | | | | | It was nessessary to add a IPC Message with no Paramter for the reload frame request to the webkit renderer and to add a menu string. The command should only reload the frame clicked in for opening the context menu and let the other parts of the webpage unmodified and unrefreshed. BUG=3858 TEST=Try to click on "Reload Frame" in the context menu of a frame and see if that frame reloads. Review URL: http://codereview.chromium.org/552126 Patch from alexander@sulfrian.net. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37414 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored code to allow associating workers with multiple renderers.atwilson@chromium.org2010-01-281-1/+2
| | | | | | | | | | | | | | | | SharedWorkers now gracefully handle http auth requests after their initial window has closed. BUG=27660 TEST=WorkerHttpAuth,SharedWorkerHttpAuth uitests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=36888 Reverted and reopened due to valgrind failures. Review URL: http://codereview.chromium.org/509016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37365 0039d316-1c4b-4281-b951-d872f2087c98