summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view.h
Commit message (Collapse)AuthorAgeFilesLines
* Add code to engage new Pepper API behind a preprocessor macro.darin@chromium.org2010-05-131-0/+3
| | | | | | | | | | 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
* Clean up old method signature of WebViewClient::createView.rafaelw@chromium.org2010-05-121-3/+0
| | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=38301 has landed in webkit. Remove old call signature. Review URL: http://codereview.chromium.org/1955002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47046 0039d316-1c4b-4281-b951-d872f2087c98
* Pass quota parameter to WebStorageNamespace::createSessionStorageNamespace().satish@chromium.org2010-05-121-1/+2
| | | | | | | | | | | | | Put a per-origin quota on session storage since it is using memory in the browser process, and should not be allowed to grow arbitrarily large. Landing on behalf of hans@chromium.org from http://codereview.chromium.org/1998003/show BUG=42740 TEST=none Review URL: http://codereview.chromium.org/1995014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47020 0039d316-1c4b-4281-b951-d872f2087c98
* Reimplement accessibility of web content by caching the entire dmazzoni@chromium.org2010-05-111-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | accessibility tree in the browser process. Adds new RPCs for a browser tab to request accessibility info from a renderer; the renderer responds with a complete tree of accessibility metadata for the entire DOM, which is then cached in the RenderWidgetHostView. This part is cross-platform and will help with accessibility on both Windows and Mac OS X. For Windows, MSAA support for web content has been rewritten to use this new cache. Tested in JAWS and NVDA screen readers. Using Chrome with a screen reader is now fast and stable, unlike the previous implementation. However, note that most advanced functionality is still not supported, and much work remains to make Chrome work well with a screen reader. This is a necessary step to improve stability first. BUG=25564 BUG=13291 TEST=See http://codereview.chromium.org/1806001 Review URL: http://codereview.chromium.org/1637018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46916 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 46842 - Reimplement accessibility of web content by caching the entire dmazzoni@chromium.org2010-05-101-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | accessibility tree in the browser process. Adds new RPCs for a browser tab to request accessibility info from a renderer; the renderer responds with a complete tree of accessibility metadata for the entire DOM, which is then cached in the RenderWidgetHostView. This part is crossplatform and will help with accessibility on both Windows and Mac OS X. For Windows, MSAA support for web content has been rewritten to use this new cache. Tested in JAWS and NVDA screen readers. Using Chrome with a screen reader is now fast and stable, unlike the previous implementation. However, note that most advanced functionality is still not supported, and much work remains to make Chrome work well with a screen reader. This is a necessary step to improve stability first. BUG=25564 BUG=13291 TEST=See http://codereview.chromium.org/1806001 Review URL: http://codereview.chromium.org/1637018 TBR=dmazzoni@chromium.org Review URL: http://codereview.chromium.org/1989009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46847 0039d316-1c4b-4281-b951-d872f2087c98
* Reimplement accessibility of web content by caching the entire dmazzoni@chromium.org2010-05-101-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | accessibility tree in the browser process. Adds new RPCs for a browser tab to request accessibility info from a renderer; the renderer responds with a complete tree of accessibility metadata for the entire DOM, which is then cached in the RenderWidgetHostView. This part is cross-platform and will help with accessibility on both Windows and Mac OS X. For Windows, MSAA support for web content has been rewritten to use this new cache. Tested in JAWS and NVDA screen readers. Using Chrome with a screen reader is now fast and stable, unlike the previous implementation. However, note that most advanced functionality is still not supported, and much work remains to make Chrome work well with a screen reader. This is a necessary step to improve stability first. BUG=25564 BUG=13291 TEST=See http://codereview.chromium.org/1806001 Review URL: http://codereview.chromium.org/1637018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46842 0039d316-1c4b-4281-b951-d872f2087c98
* Allow stand-alone extension views (e.g. browser action pop-ups) to reload joi@chromium.org2010-05-071-5/+5
| | | | | | | | | | | | themselves, navigate to other pages in the same extension, persist their state using # after the URL, etc. TEST=write an extension that reloads its page action pop-up (e.g. on a button click), see that before this change it does not work, after it does BUG=none Review URL: http://codereview.chromium.org/1947002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46721 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 46567 - Reimplement accessibility of web content by caching the entire zork@chromium.org2010-05-071-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | accessibility tree in the browser process. Adds new RPCs for a browser tab to request accessibility info from a renderer; the renderer responds with a complete tree of accessibility metadata for the entire DOM, which is then cached in the RenderWidgetHostView. This part is crossplatform and will help with accessibility on both Windows and Mac OS X. For Windows, MSAA support for web content has been rewritten to use this new cache. Tested in JAWS and NVDA screen readers. Using Chrome with a screen reader is now fast and stable, unlike the previous implementation. However, note that most advanced functionality is still not supported, and much work remains to make Chrome work well with a screen reader. This is a necessary step to improve stability first. BUG=25564 BUG=13291 TEST=See http://codereview.chromium.org/1806001 Review URL: http://codereview.chromium.org/1637018 TBR=dmazzoni@chromium.org Review URL: http://codereview.chromium.org/2031004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46642 0039d316-1c4b-4281-b951-d872f2087c98
* 2nd attempt: Detect login password on sites with an onSubmit handler that ↵snej@chromium.org2010-05-061-0/+2
| | | | | | | | | | | clears it BUG=28910 TEST=manual test case Review URL: http://codereview.chromium.org/1919002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46623 0039d316-1c4b-4281-b951-d872f2087c98
* Reimplement accessibility of web content by caching the entire dmazzoni@chromium.org2010-05-061-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | accessibility tree in the browser process. Adds new RPCs for a browser tab to request accessibility info from a renderer; the renderer responds with a complete tree of accessibility metadata for the entire DOM, which is then cached in the RenderWidgetHostView. This part is cross-platform and will help with accessibility on both Windows and Mac OS X. For Windows, MSAA support for web content has been rewritten to use this new cache. Tested in JAWS and NVDA screen readers. Using Chrome with a screen reader is now fast and stable, unlike the previous implementation. However, note that most advanced functionality is still not supported, and much work remains to make Chrome work well with a screen reader. This is a necessary step to improve stability first. BUG=25564 BUG=13291 TEST=See http://codereview.chromium.org/1806001 Review URL: http://codereview.chromium.org/1637018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46567 0039d316-1c4b-4281-b951-d872f2087c98
* Initial support for web-extent background pages.rafaelw@chromium.org2010-05-061-3/+3
| | | | | | | | | | | | | | | | | | | | This patch adds a new RVH container: BackgroundContents. The idea is that apps can open a live web-page as a "background" page using window.open('<url>', '<name>', 'background'); If 'background' is specified and the opener is within the app's extent, a BackgroundContents will be used. Otherwise, the 'background' feature is ignored and it is treated as a regular popup call. Note that as of this patch the following are explicitly not-yet addressed: 1) Session storage for BackgroundContents 2) SSL (or other failures) requiring UI 3) Javascript messages (alert, etc...) 4) Session restore TEST=All tests should pass BUG=41275 Review URL: http://codereview.chromium.org/1734014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46544 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 46394 - Detect login password on sites with an onSubmit handler that ↵snej@chromium.org2010-05-041-2/+0
| | | | | | | | | | | | | | clears it BUG=28910 TEST=none Review URL: http://codereview.chromium.org/1787012 TBR=snej@chromium.org Review URL: http://codereview.chromium.org/1932004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46398 0039d316-1c4b-4281-b951-d872f2087c98
* Detect login password on sites with an onSubmit handler that clears itsnej@chromium.org2010-05-041-0/+2
| | | | | | | | | BUG=28910 TEST=none Review URL: http://codereview.chromium.org/1787012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46394 0039d316-1c4b-4281-b951-d872f2087c98
* This is the second side of a multi-sided webkit patch that will allow ↵rafaelw@chromium.org2010-04-281-0/+6
| | | | | | | | | | | | | | | | | experimental window.open feature strings to be captured and passed to the client. It should wait for: https://bugs.webkit.org/show_bug.cgi?id=38013 to land. This is required because this patch needs to use the WebWindowFeature binding struct in WebKit. Once this is landed, a webkit patch to change the call signature for WebViewClient::createView to include the WebWindowFeatures will be submitted (and after that another chromium patch to remove the old call signature). This patch implements old and new WebViewClient::createView signatures, and additionally passes the vector all the way to RenderViewHostDelegateHelper who will eventually use it to observe the 'background' feature. BUG=41275 TEST=all tests should pass Review URL: http://codereview.chromium.org/1758004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45877 0039d316-1c4b-4281-b951-d872f2087c98
* Fix password mgr heuristics for sites that keep the login form around after ↵snej@chromium.org2010-04-281-1/+2
| | | | | | | | | | | | signin The test for whether the login form reappeared on the next page load now ignores invisible forms. BUG=28911 TEST=none (manual testing with reduced web pages) Review URL: http://codereview.chromium.org/1656005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45841 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Notify the renderer when the page has finished translating. Extractjhawkins@chromium.org2010-04-271-0/+4
| | | | | | | | | | | | | the forms once translation has occurred. This change also includes another variaton of the Name field, with tests. In addition, this change fixes parsing labels whose text element is not the first child of the label element. BUG=41694 TEST=FormManagerTest.LabelsWithSpans,NameFieldTest.FirstLast Review URL: http://codereview.chromium.org/1801002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45719 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for new webkit capability allowing us to updatedavemoore@chromium.org2010-04-271-0/+1
| | | | | | | | | | | favicons when changed via Javascript. BUG=none TEST=BrowserTest.FaviconChange Review URL: http://codereview.chromium.org/1747015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45713 0039d316-1c4b-4281-b951-d872f2087c98
* RenderView::UpdateTargetURL should not look at GURL::spec().dglazkov@chromium.org2010-04-261-0/+1
| | | | | | | | | | | | | Doing so causes a DCHECK to fail if GURL does not consider it a valid URL. Contributed by Hans Wennborg <hans@chromium.org>. BUG=41562 TEST=unit_tests --gtest_filter=RenderViewTest.UpdateTargetURLWithInvalidURL Review URL: http://codereview.chromium.org/1718013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45582 0039d316-1c4b-4281-b951-d872f2087c98
* Send content settings based on the URL to the renderer instead of just the host.jochen@chromium.org2010-04-231-5/+5
| | | | | | | | | BUG=36025 TEST=manual Review URL: http://codereview.chromium.org/1744003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45424 0039d316-1c4b-4281-b951-d872f2087c98
* Translate now supports translating pages for which wejcivelli@google.com2010-04-201-0/+3
| | | | | | | | | | | don't know the original language: if the browser specifies undefined for the source language, we use the translate element in the page to detect the language. BUG=40857 TEST=See bug. Review URL: http://codereview.chromium.org/1508030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45094 0039d316-1c4b-4281-b951-d872f2087c98
* Use the same code to handle both overridable and fatalwtc@chromium.org2010-04-201-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | certificate errors. The only difference is that the SSL interstial page for fatal certificate errors has only one button ("Back"). Copy ssl_roadpage.html to ssl_error.html, remove the "proceed" button, and rename the "exit" button to "back". The local variable |html| in SSLBlockingPage::GetHTMLContents should not be declared as static. Remove SSLPolicy::ShowErrorPage and RenderViewHost::LoadAlternateHTMLString. R=abarth,jcivelli BUG=41360 TEST=Type https://test-ssev.verisign.com:2443/test-SSEV-revoked-verisign.html in the location bar and hit Enter. The location bar should display that URL with a broken certificate error status, and the Back button on the SSL interstitial page should work. Review URL: http://codereview.chromium.org/1613016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45060 0039d316-1c4b-4281-b951-d872f2087c98
* Made Pepper 3D plugins' output opaque on Mac OS X by filling thekbr@google.com2010-04-151-1/+1
| | | | | | | | | | | | | plugin region's alpha channel with 1.0 and then overwriting just the color channels. Core Animation plugins, though they currently always overlay HTML output, remain translucent. BUG=41424 TEST=ran Pepper 3D sample and verified its background is opaque Review URL: http://codereview.chromium.org/1547034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44594 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete dragging functions.estade@chromium.org2010-04-151-3/+0
| | | | | | | | | | | This is side 3 of the 3-sided DragImage patch. BUG=11457 TEST=compile Review URL: http://codereview.chromium.org/1513039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44585 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 44348 Add support for restricting broadcasting events to extensions ↵jochen@chromium.org2010-04-141-1/+2
| | | | | | | | | | | | based on host permissions BUG=38398 TEST=none TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/1528038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44470 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 44351 - Reland 44348 Add support for restricting broadcasting events ↵jochen@chromium.org2010-04-131-2/+1
| | | | | | | | | | | | | | | to extensions based on host permissions BUG=38398 TEST=none TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/1642005 TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/1521027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44355 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 44348 Add support for restricting broadcasting events to extensions ↵jochen@chromium.org2010-04-131-1/+2
| | | | | | | | | | | | based on host permissions BUG=38398 TEST=none TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/1642005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44351 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 44348 - Add support for restricting broadcasting events to extensions ↵jochen@chromium.org2010-04-131-2/+1
| | | | | | | | | | | | | | based on host permissions. BUG=38398 TEST=none Review URL: http://codereview.chromium.org/1095002 TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/1575036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44349 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for restricting broadcasting events to extensions based on host ↵jochen@chromium.org2010-04-131-1/+2
| | | | | | | | | | | permissions. BUG=38398 TEST=none Review URL: http://codereview.chromium.org/1095002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44348 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Fill the default profile when the AutoFill accelerator combo is ↵jhawkins@chromium.org2010-04-091-0/+3
| | | | | | | | | | | pressed (ctrl-shift-a). BUG=39491 TEST=none Review URL: http://codereview.chromium.org/1521020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44149 0039d316-1c4b-4281-b951-d872f2087c98
* Indicate in the tab UI if appcache creation was blocked by privacy settings.jochen@chromium.org2010-04-091-0/+4
| | | | | | | | | 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
* AutoFill: Initiate AutoFill for all fields, not just the name field.jhawkins@chromium.org2010-04-091-3/+3
| | | | | | | | | | | Fix a case issue when matching names. BUG=40299 TEST=none Review URL: http://codereview.chromium.org/1575023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44043 0039d316-1c4b-4281-b951-d872f2087c98
* Adding the new WebPopupType to the RenderWidget creation.jcivelli@google.com2010-04-071-1/+1
| | | | | | | | | BUG=None TEST=Tests that all popups (select popup, autofill, browser actions, bookmark bubble...) work as expected and get the focus correctly. Review URL: http://codereview.chromium.org/1523013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43845 0039d316-1c4b-4281-b951-d872f2087c98
* Changing the translate back-end to use the Google Translate element.jcivelli@google.com2010-04-061-21/+11
| | | | | | | | | | | | | | | | 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
* Add calling frame's source_url to extension and dom ui requests.rafaelw@chromium.org2010-04-021-1/+3
| | | | | | | | Additionally, in the extension and tabs api, compute & report UMA histogram data for relative URL use in API calls so we can decide if it's possible to change the behavior of relative url resolution to use the calling frame's url rather than the extension's base url. Review URL: http://codereview.chromium.org/1605005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43523 0039d316-1c4b-4281-b951-d872f2087c98
* Send top level link click navigation to ChromeFrame always. The current ↵ananta@chromium.org2010-03-311-0/+7
| | | | | | | | | | | | | | | | | | implementation checks for whether the page id has changed and only then sends the navigation to ChromeFrame. This does not work if the page id does not change, which could occur if the link click sends over some parameters to the current page. Fixes bug http://code.google.com/p/chromium/issues/detail?id=38456 Will figure out a good way to test this and send that in a subsequent CL. Bug=38456 Review URL: http://codereview.chromium.org/1560010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43276 0039d316-1c4b-4281-b951-d872f2087c98
* Follow up on https://bugs.webkit.org/show_bug.cgi?id=36535bulach@chromium.org2010-03-311-1/+1
| | | | | | | | | | | Renames GeolocationServiceBridgeChromium.h to WebGeolocationService.h Renames WebGeolocationServiceInterface to WebGeolocationService TEST=geolocation_browsertest.cc Review URL: http://codereview.chromium.org/1552002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43209 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 43183. Block database access on allowDatabase instead of ↵jochen@chromium.org2010-03-311-0/+3
| | | | | | databaseOpenFile. BUG=36435 TEST=Set cookie settings to ASK and open a page with web databases. Review URL: http://codereview.chromium.org/1338001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43185 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 43183 - Block database access on allowDatabase instead of ↵jochen@chromium.org2010-03-311-3/+0
| | | | | | | | | | | | | | databaseOpenFile. BUG=36435 TEST=Set cookie settings to ASK and open a page with web databases. Review URL: http://codereview.chromium.org/1338001 TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/1595003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43184 0039d316-1c4b-4281-b951-d872f2087c98
* Block database access on allowDatabase instead of databaseOpenFile.jochen@chromium.org2010-03-311-0/+3
| | | | | | | | | BUG=36435 TEST=Set cookie settings to ASK and open a page with web databases. Review URL: http://codereview.chromium.org/1338001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43183 0039d316-1c4b-4281-b951-d872f2087c98
* Move plugin-related files in webkit/glue to webkit/glue/plugins to make thembrettw@chromium.org2010-03-311-1/+1
| | | | | | | | | | | easier to find. With a random subset of files in webkit/glue, it's impossible to predict where you should find a file. No code change TEST=none BUG=none Review URL: http://codereview.chromium.org/1559008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43177 0039d316-1c4b-4281-b951-d872f2087c98
* Follow the latest rename for the WebFrameClient interface to do ↵johnnyg@chromium.org2010-03-301-1/+1
| | | | | | | | | | | site-isolation logging. BUG=none TEST=none Review URL: http://codereview.chromium.org/1546005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43149 0039d316-1c4b-4281-b951-d872f2087c98
* Extend the file browser/chooser to support more modes of operation, and plumbbrettw@chromium.org2010-03-301-4/+17
| | | | | | | | | | | | | it through to the pepper API. This pepper API just supports adding the filename to the "upload files" whitelist and returning it to the plugin, but it does not actually give any ability for a sandboxed plugin to read the file (this will come in a separate changelist). TEST=none BUG=none Review URL: http://codereview.chromium.org/1094004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43123 0039d316-1c4b-4281-b951-d872f2087c98
* Change interface for site-isolation logging from WebKit in advance of ↵johnnyg@chromium.org2010-03-301-2/+2
| | | | | | | | | | | landing WebKit side. BUG=none TEST=none Review URL: http://codereview.chromium.org/1516004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43088 0039d316-1c4b-4281-b951-d872f2087c98
* reland cl that implement error state for translate infobarkuan@chromium.org2010-03-291-1/+3
| | | | | | | | | | | | - original review URL: http://codereview.chromium.org/1321003 - this reland fixes uniitest build break in translate_manager_unittest.cc BUG=38548 TEST=none yet (details in original review url) Review URL: http://codereview.chromium.org/1542003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42976 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "implement error state for translate infobar"phajdan.jr@chromium.org2010-03-291-3/+1
| | | | | | | | | | | Due to broken build (compile). TBR=kuan BUG=38548 Review URL: http://codereview.chromium.org/1567001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42955 0039d316-1c4b-4281-b951-d872f2087c98
* implement error state for translate infobarkuan@chromium.org2010-03-291-1/+3
| | | | | | | | | | | | | | | | | | | | | | | - this cl implements the UI on Windows and the partial backend of IPC messaging to include error type - implement error state - add translate error types - use a structure as details for IPC messaging between render view and browser so as to include error type (was using std::pair) - translate delegate handles error state and provides mapping to error messages - infobar handles visual error states - modify background painting to handle normal and error backgrounds, and animation of cross-fading between the 2 backgrounds - infobar now stores state (and translation_pending flag) that it's currently displaying to user, instead of just relying on TransateInfoBarDelegate's - if infobar receives PAGE_TRANSLAED notification before delegate does (possible because order is not fixed), delegate's state won't be updated to be used by infobar. - after all the observers have received the notification, both infobar and delegate will end up with matching states, so there's no worries of out-of-sync. - update unittests accordingly - update mac and linux code accordingly to make build pass - jay will implement the remaining backend to pass actual translate error types to the IPC message (tracked by bug 37778) BUG=38548 TEST=none yet, until bug 37778 is also fixed. Review URL: http://codereview.chromium.org/1321003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42953 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of adding search support to Pepper.jam@chromium.org2010-03-251-2/+8
| | | | | | Review URL: http://codereview.chromium.org/1075011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42585 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes wrong forward declarationbulach@chromium.org2010-03-241-4/+1
| | | | | | | | (in preparation for https://bugs.webkit.org/show_bug.cgi?id=36535). Review URL: http://codereview.chromium.org/1277002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42491 0039d316-1c4b-4281-b951-d872f2087c98
* Enforce extension permissions in C++ (instead of Javascript).jochen@chromium.org2010-03-241-1/+2
| | | | | | | | | BUG=38920 TEST=ExtensionApiTest.Incognito Review URL: http://codereview.chromium.org/1148009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42441 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dependency from webkit on chrome/common by moving files to src/app.pinkerton@chromium.org2010-03-191-1/+1
| | | | | | | | BUG=37985 TEST=no functional change. Review URL: http://codereview.chromium.org/1060001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42101 0039d316-1c4b-4281-b951-d872f2087c98