summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages.h
Commit message (Collapse)AuthorAgeFilesLines
* Keep infobar visible during plug-in installation and show installation state.bauerb@chromium.org2012-01-261-0/+5
| | | | | | | | | | | | Instead of dismissing the infobar when the user accepts it, it's now dismissed when the last missing plug-in placeholder is gone (because we loaded the actual plug-in). BUG=110701 TEST=none Review URL: http://codereview.chromium.org/9269007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119246 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for file URI path wildcards in content settingsmarkusheintz@chromium.org2012-01-231-0/+1
| | | | | | | | | | | | | | | patterns. I.e. "file:///*" matches all file URIs. Full/explicit/absolute paths (e.g. "file:///foo/bar.html") are still supported. contributed by Francois Kritzinger (francoisk777@gmail.com) BUG=77149 TEST=ContentSettingsPattern* Review URL: http://codereview.chromium.org/9254028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118696 0039d316-1c4b-4281-b951-d872f2087c98
* Checkpoint: android fixes towards compilation of unit_tests.jrg@chromium.org2012-01-211-2/+3
| | | | | | | | | | | | Dependent on clipboard.h change in https://chromiumcodereview.appspot.com/9264014 BUG=None TEST= Review URL: http://codereview.chromium.org/9226012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118567 0039d316-1c4b-4281-b951-d872f2087c98
* Add IPC message to open chrome://plugins from a missing plug-in placeholder.bauerb@chromium.org2012-01-181-1/+6
| | | | | | | | | | BUG=110443 TEST=see bug for manual test Review URL: http://codereview.chromium.org/9244011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118100 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 117210 - Show error message when download a plug-in installer fails.bauerb@chromium.org2012-01-131-0/+5
| | | | | | | | | | | | | | | | Also, don't try to directly download Flash Player from http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player.exe anymore. Original review URL: http://codereview.chromium.org/9149004 TBR=arv@chromium.org BUG=102987 TEST=Go to http://www/~bauerb/no_crawl/test/install_plugin.html, turn off your network and click on "Get Plug-in". You should see an error. Review URL: http://codereview.chromium.org/9148024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117661 0039d316-1c4b-4281-b951-d872f2087c98
* Remove plugin installation code on ChromeOS and Aura.bauerb@chromium.org2012-01-121-0/+2
| | | | | | | | | | BUG=62079 TEST=compiles Review URL: http://codereview.chromium.org/9113011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117443 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 117210 - Show error message when downloading a plug-in installer fails.bauerb@chromium.org2012-01-111-5/+0
| | | | | | | | | | | | | | | | | Also, don't try to directly download Flash Player from http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player.exe anymore. TBR=arv@chromium.org BUG=62079 TEST=Go to http://www/~bauerb/no_crawl/test/install_plugin.html, turn off your network and click on "Get Plug-in". You should see an error. Review URL: http://codereview.chromium.org/9149004 TBR=bauerb@chromium.org Review URL: http://codereview.chromium.org/9190005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117214 0039d316-1c4b-4281-b951-d872f2087c98
* Show error message when downloading a plug-in installer fails.bauerb@chromium.org2012-01-111-0/+5
| | | | | | | | | | | | | | Also, don't try to directly download Flash Player from http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player.exe anymore. TBR=arv@chromium.org BUG=62079 TEST=Go to http://www/~bauerb/no_crawl/test/install_plugin.html, turn off your network and click on "Get Plug-in". You should see an error. Review URL: http://codereview.chromium.org/9149004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117210 0039d316-1c4b-4281-b951-d872f2087c98
* Directly download and open plug-in installer files.bauerb@chromium.org2012-01-041-1/+9
| | | | | | | | | | | | TBR=arv@chromium.org BUG=62079 TEST=none Review URL: http://codereview.chromium.org/9070001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116308 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113591 - Revert 113579 - Content settings: allow scripts on ↵dgozman@chromium.org2011-12-081-0/+3
| | | | | | | | | | | | | | | | | | interstitial pages even if JavaScript is blocked. BUG=104700 TEST=ChromeRenderViewTest.ContentSettingsInterstitialPages Review URL: http://codereview.chromium.org/8773035 TBR=marja@chromium.org Review URL: http://codereview.chromium.org/8889008 TBR=dgozman@chromium.org Review URL: http://codereview.chromium.org/8873015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113594 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113579 - Content settings: allow scripts on interstitial pages even ↵dgozman@chromium.org2011-12-081-3/+0
| | | | | | | | | | | | | | | if JavaScript is blocked. BUG=104700 TEST=ChromeRenderViewTest.ContentSettingsInterstitialPages Review URL: http://codereview.chromium.org/8773035 TBR=marja@chromium.org Review URL: http://codereview.chromium.org/8889008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113591 0039d316-1c4b-4281-b951-d872f2087c98
* Content settings: allow scripts on interstitial pages even if JavaScript is ↵marja@chromium.org2011-12-081-0/+3
| | | | | | | | | | | | blocked. BUG=104700 TEST=ChromeRenderViewTest.ContentSettingsInterstitialPages Review URL: http://codereview.chromium.org/8773035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113579 0039d316-1c4b-4281-b951-d872f2087c98
* Implement SetVisuallyDeemphasized in ChromeRenderViewObserver.xiyuan@chromium.org2011-12-021-0/+5
| | | | | | | | | | | | | | | Implement SetVisuallyDeemphasized in ChromeRenderViewObserver - Add a ChromeViewMsg_SetVisuallyDeemphasized and use it to toggle background dimming on web contents via ChromeRenderViewObserver; - Derive WebViewColorOverlay from WebKit::WebPageOverlay and add to web view when need to dimming the background; - Remove RWHV SetVisuallyDeemphasized since it's no longer used; BUG=103386 TEST=Verify fix for 103386, dimming should show up even when accelerated compositing is on. Review URL: http://codereview.chromium.org/8730001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112787 0039d316-1c4b-4281-b951-d872f2087c98
* Collect profiler stats from all browser child processes.rtenneti@chromium.org2011-12-011-18/+0
| | | | | | | | | | | R=jar Bug=104770 TEST=about:profiler after lauching a plug-in or GPU should show tracking data for plugin-gpu processes Review URL: http://codereview.chromium.org/8588023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112571 0039d316-1c4b-4281-b951-d872f2087c98
* Show infobar for missing plug-ins on Mac.bauerb@chromium.org2011-11-281-0/+15
| | | | | | | | | | TBR=arv@chromium.org BUG=62079 TEST=none Review URL: http://codereview.chromium.org/8578009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111693 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use the DOMStorageType for a chrome IPC, so that we can get rid of ↵jam@chromium.org2011-11-231-1/+1
| | | | | | | | | that content include from chrome. We change a bool to it, only to change it back to a bool, so no need for it. BUG=98716 Review URL: http://codereview.chromium.org/8667004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111363 0039d316-1c4b-4281-b951-d872f2087c98
* Take script URLs into account when applying script content settings.marja@chromium.org2011-11-161-30/+8
| | | | | | | | | | | | | | | | | | Transmit script content settings to the renderer. Use the script URL as the secondary URL for the content setting rules. This CL contains the functionality of the following 2 CLs, hopefully without performance regressions: http://codereview.chromium.org/8409006 http://codereview.chromium.org/8498007 BUG=90840 TEST=ChromeRenderViewTest.ContentSettings(Allow|Block)Scripts Review URL: http://codereview.chromium.org/8538004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110286 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 109213 - Take script URLs into account when applying script content ↵cmp@chromium.org2011-11-101-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | settings. <cmp> We suspect this CL caused a performance regression on chromium.perf. Reverting to see if this is the source of the regression. Transmit script content settings to the renderer. Use the script URL as the secondary URL for the content setting rules. BUG=90840 TEST=ChromeRenderViewTest.ContentSettings(Allow|Block)Scripts Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109005 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109036 Review URL: http://codereview.chromium.org/8409006 TBR=marja@chromium.org Review URL: http://codereview.chromium.org/8510040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109362 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 109228 - ContentSettingsObserver (+ related classes) cleanup.cmp@chromium.org2011-11-101-0/+27
| | | | | | | | | | | | | | | | | | | <cmp> This CL needs to be reverted before we revert 109213, which we speculate caused some performance regressions. Per-page content settings and default content settings are no longer needed, since the renderer stores the content setting rules for images and scripts. BUG=102662 TEST=NONE Review URL: http://codereview.chromium.org/8498007 TBR=marja@chromium.org Review URL: http://codereview.chromium.org/8497062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109360 0039d316-1c4b-4281-b951-d872f2087c98
* ContentSettingsObserver (+ related classes) cleanup.marja@chromium.org2011-11-091-27/+0
| | | | | | | | | | | | | Per-page content settings and default content settings are no longer needed, since the renderer stores the content setting rules for images and scripts. BUG=102662 TEST=NONE Review URL: http://codereview.chromium.org/8498007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109228 0039d316-1c4b-4281-b951-d872f2087c98
* Take script URLs into account when applying script content settings.marja@chromium.org2011-11-091-3/+8
| | | | | | | | | | | | | | | | | Transmit script content settings to the renderer. Use the script URL as the secondary URL for the content setting rules. BUG=90840 TEST=ChromeRenderViewTest.ContentSettings(Allow|Block)Scripts Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109005 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109036 Review URL: http://codereview.chromium.org/8409006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109213 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 109036 (speculative; seems to cause increased worker test flakiness) ↵thakis@chromium.org2011-11-081-8/+3
| | | | | | | | | | | | | | | | | | | | - Take script URLs into account when applying script content settings. Transmit script content settings to the renderer. Use the script URL as the secondary URL for the content setting rules. BUG=90840 TEST=ChromeRenderViewTest.ContentSettings(Allow|Block)Scripts Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109005 Review URL: http://codereview.chromium.org/8409006 TBR=marja@chromium.org Review URL: http://codereview.chromium.org/8499023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109044 0039d316-1c4b-4281-b951-d872f2087c98
* Take script URLs into account when applying script content settings.marja@chromium.org2011-11-081-3/+8
| | | | | | | | | | | | | | | Transmit script content settings to the renderer. Use the script URL as the secondary URL for the content setting rules. BUG=90840 TEST=ChromeRenderViewTest.ContentSettings(Allow|Block)Scripts Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109005 Review URL: http://codereview.chromium.org/8409006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109036 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 109005 - Take script URLs into account when applying script content ↵marja@chromium.org2011-11-081-8/+3
| | | | | | | | | | | | | | | | | | settings. Transmit script content settings to the renderer. Use the script URL as the secondary URL for the content setting rules. BUG=90840 TEST=ChromeRenderViewTest.ContentSettings(Allow|Block)Scripts Review URL: http://codereview.chromium.org/8409006 TBR=marja@chromium.org Review URL: http://codereview.chromium.org/8502014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109014 0039d316-1c4b-4281-b951-d872f2087c98
* Take script URLs into account when applying script content settings.marja@chromium.org2011-11-081-3/+8
| | | | | | | | | | | | | Transmit script content settings to the renderer. Use the script URL as the secondary URL for the content setting rules. BUG=90840 TEST=ChromeRenderViewTest.ContentSettings(Allow|Block)Scripts Review URL: http://codereview.chromium.org/8409006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109005 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor ChromeContentRendererClient::CreatePlugin.marja@chromium.org2011-11-071-40/+5
| | | | | | | | | | | | Move plug-in placeholder logic from ChromeContentRendererClient::CreatePlugin to the browser. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/8341016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108857 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to upload tracked_objects data from all rendererrtenneti@chromium.org2011-11-051-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | processes to browser process. Added the following messages to render_messages. ChromeViewMsg_GetRendererTrackedData - Asks the renderer to send back tracked data (ThreadData in tracked_objects). ChromeViewMsg_SetTrackingStatus - Asks the renderer to set the tracking status. ChromeViewHostMsg_RendererTrackedData - render's Send back tracked data (ThreadData in tracked_objects) as a string. ChromeViewHostMsg_IsTrackingEnabled - Asks Browser process to set the current tracking status from browser in the render. BUG=101933 R=jar TEST=browser tests Review URL: http://codereview.chromium.org/8413009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108770 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore paths when matching patterns for extensions.dcheng@chromium.org2011-11-021-2/+2
| | | | | | | | | | BUG=94399 TEST=lots Review URL: http://codereview.chromium.org/8312005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108358 0039d316-1c4b-4281-b951-d872f2087c98
* Hosts opting in to strict-transport-security get mixed content blocking.tsepez@chromium.org2011-11-021-0/+4
| | | | | | | BUG=100136 Review URL: http://codereview.chromium.org/8341031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108337 0039d316-1c4b-4281-b951-d872f2087c98
* Added logic that will retry to reload+reconnect the mobile payment portal ↵zelidrag@chromium.org2011-10-271-0/+3
| | | | | | | | | | | | page 5 times before it eventually gives up and shows service unavailable error. Expanded frame sniffer to send an event when a frame which is being watched gets finally loaded. From the sent error (or its absence) and this new event, we can finally reconstruct on the browser side if a given iframe was loaded successfully or not. BUG=chromium-os:20525, chromium-os:21738 TEST=tricky one to test since it repros on 3g network flakyness. one can edit /usr/lib/cromo/config/madison.ini and put a bad value for olp_root there to trigger this. Review URL: http://codereview.chromium.org/8341037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107613 0039d316-1c4b-4281-b951-d872f2087c98
* Delegating the "are images allowed" decision to renderer.marja@chromium.org2011-10-271-0/+13
| | | | | | | | | | | | This enables making the decision based on both image url and the page url. E.g., blocking third-party images. BUG=81179 TEST=RenderViewTest.ImagesBlockedByDefault, RenderViewTest.ImagesAllowedByDefault Review URL: http://codereview.chromium.org/7831075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107562 0039d316-1c4b-4281-b951-d872f2087c98
* Move common_param_traits and webkit_param_traits to content/public/common.jam@chromium.org2011-10-211-2/+2
| | | | | | | BUG=98716 Review URL: http://codereview.chromium.org/8368004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106766 0039d316-1c4b-4281-b951-d872f2087c98
* Update automation messages to use the new way of declaring message structs, ↵jam@chromium.org2011-10-211-2/+0
| | | | | | | | to cut back on unnecessary code. Review URL: http://codereview.chromium.org/8356020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106734 0039d316-1c4b-4281-b951-d872f2087c98
* Taking the plugin URL into account when deciding if a plugin is allowed.marja@chromium.org2011-10-191-1/+2
| | | | | | | | | | | | | ChromeContentRendererClient transmits the plugin URL when it asks the browser for plugin content settings. BUG=81179 TEST=plugins.py plugins.PluginsTest.testBlockPluginExceptionWithSecondaryURL Review URL: http://codereview.chromium.org/8132001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106284 0039d316-1c4b-4281-b951-d872f2087c98
* Check for default content setting pattern when requiring user authorization ↵bauerb@chromium.org2011-10-191-2/+23
| | | | | | | | | | | | | | for plug-ins. We now check in the renderer if a plug-in is allowed by default, which is the case if the matching patterns are wildcards. BUG=100581 TEST=see bug Review URL: http://codereview.chromium.org/8334020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106270 0039d316-1c4b-4281-b951-d872f2087c98
* Use a placeholder instead of the default plugin for missing plug-ins on Mac ↵bauerb@chromium.org2011-10-051-0/+35
| | | | | | | | | | | | and Linux. BUG=62079 TEST=Missing plug-in placeholder looks different Review URL: http://codereview.chromium.org/7990005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104144 0039d316-1c4b-4281-b951-d872f2087c98
* Show keyboard when the focused editable field is touched inside the web ↵mazda@chromium.org2011-10-031-0/+4
| | | | | | | | | | | | | | | | | | | | content area. When an editable fieled is touched and the focus is moved to the element, NOTIFICATION_FOCUS_CHANGED_IN_PAGE is sent. However, if the field is already focused, no notification is sent. But keyboard should be shown in such a case. This CL - Adds NOTIFICATION_FOCUSED_EDITABLE_NODE_TOUCHED notification, which is sent when the focused editable field is touched, - Adds ChromeViewHostMsg_FocusedEditableNodeTouched IPC message, which is sent from renderer to browser when a touch released on the focused editable field, - Changes RenderWidget to handle touch events in OnHandleInputEvent, and - Handles NOTIFICATION_FOCUSED_EDITABLE_NODE_TOUCHED in KeyboardWidget to show keyboard. BUG=none TEST=Manual Review URL: http://codereview.chromium.org/7923005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103694 0039d316-1c4b-4281-b951-d872f2087c98
* Allow webRequest API extensions to clear the in-memory cache of WebKit.battre@chromium.org2011-09-291-1/+2
| | | | | | | | | | | | If the behavior of a webRequest API extension changes (i.e. different URLs are blocked) this effect was not visible instantly due to WebKit's in-memory cache. This CL introduces a means to clear the cache. BUG=94284 TEST=no Review URL: http://codereview.chromium.org/7835031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103289 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 101944 - Experiment: Add a sync IPC call for every image load.marja@chromium.org2011-09-201-7/+0
| | | | | | | | | | | | | | This will be reverted as soon as the page cyclers have ran. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/7903003 TBR=marja@chromium.org Review URL: http://codereview.chromium.org/7976002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101945 0039d316-1c4b-4281-b951-d872f2087c98
* Experiment: Add a sync IPC call for every image load.marja@chromium.org2011-09-201-0/+7
| | | | | | | | | | | This will be reverted as soon as the page cyclers have ran. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/7903003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101944 0039d316-1c4b-4281-b951-d872f2087c98
* Aura under Linux is enabled with:saintlou@chromium.org2011-09-181-2/+2
| | | | | | | | | | | 'use_aura': 1, BUG=none TEST=none Review URL: http://codereview.chromium.org/7850026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101704 0039d316-1c4b-4281-b951-d872f2087c98
* Move the ViewMsg_FPS and ViewHostMsg_FPS IPC messages out of content to ↵ananta@chromium.org2011-09-081-0/+8
| | | | | | | | | | | | | | | | chrome as these are sent and processed by chrome. These messages are now prefixed with "Chrome" To handle the ChromeViewMsg_GetFPS message in the ChromeRenderViewObserver object we need to expose the value of the filtered_time_per_frame member in the RenderWidget class. Added a getter to achieve that. Continuing changes to ensure that IPCs don't span across content and chrome. BUG=87335 Review URL: http://codereview.chromium.org/7754004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100178 0039d316-1c4b-4281-b951-d872f2087c98
* Implements frame sniffer to watch iframe loading state.altimofeev@chromium.org2011-09-061-1/+8
| | | | | | | | | | | | Also sniffer listener was implemented on the WebUI side, which signals when GAIA page loading error appears. BUG=chromium-os:18744 TEST=Behind captive portal, try to click 'Add new user'. Corresponding message page should be shown. Review URL: http://codereview.chromium.org/7779010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99777 0039d316-1c4b-4281-b951-d872f2087c98
* Remove handling for the ViewHostMsg_GetCookies and ViewHostMsg_SetCookies ↵ananta@chromium.org2011-08-291-0/+16
| | | | | | | | | | | | | | | | | | | from Chrome. These messages were being handled in Chrome only for ChromeFrame processes, i.e. to route the cookie requests to the host browser. We now send out the ChromeViewHostMsg_GetCookies and ChromeViewHostMsg_SetCookies IPCs for ChromeFrame processes. These are sent out by the embedder instance which lives in the renderer. ChromeRenderMessageFilter handles these messages. This is a continuation of the changes to not handle IPC messages from content in Chrome and vice versa. BUG=87335 TEST=No change in functionality. chrome frame net tests and chrome frame tests should pass. Review URL: http://codereview.chromium.org/7764014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98735 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for exporting IPC messages from component DLLs.darin@chromium.org2011-08-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | This removes MessageWithTuple and MessageWithReply since it is not easy to export a class that inherits from a template specialization. The functionality of those classes are split now between new classes, MessageSchema and SyncMessageSchema, and being declared inline via macros. The key point is that we want to avoid inlining the constructor and Read functions for messages. That avoids code bloat since those functions contain all of the parameter serialization and deserialization code. Those are the functions that we really want to have contained with component DLLs. To export IPC messages from a DLL, it is necessary to #define IPC_MESSAGE_EXPORT above message declarations. You can see this in action here: http://codereview.chromium.org/7687005/diff/41012/ppapi/proxy/ppapi_messages.h Review URL: http://codereview.chromium.org/7768001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98491 0039d316-1c4b-4281-b951-d872f2087c98
* Moving the ViewHostMsg_PDFHasUnsupportedFeature IPC message to Chrome as PDF ↵ananta@chromium.org2011-08-231-6/+10
| | | | | | | | | | | | is a chrome specific feature. Removed the HasUnsupportedFeature method from the pepper PluginDelegate interface as it is only needed for PDF. BUG=87335 Review URL: http://codereview.chromium.org/7709020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97890 0039d316-1c4b-4281-b951-d872f2087c98
* Prefix all IPC messages used by src\chrome with Chrome. For e.g ↵ananta@chromium.org2011-08-191-68/+69
| | | | | | | | | | | | | | | ChromeViewMsg_, ChromeViewHostMsg, etc. This makes it easier to identify which messages are specific to content and chrome. This is a preparation CL for bug http://code.google.com/p/chromium/issues/detail?id=87335 which requires IPC's to not span across content and chrome. When IPC's cross these boundaries they need to be handled as API calls. BUG=87335 Review URL: http://codereview.chromium.org/7631063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97536 0039d316-1c4b-4281-b951-d872f2087c98
* Enable tcmalloc profiling and heap dump.stevenjb@google.com2011-08-111-2/+15
| | | | | | | | | | | BUG=chromium-os:18876 TEST=See issue. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96054 Review URL: http://codereview.chromium.org/7528016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96444 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 96054 - Enable tcmalloc profiling and heap dump.fischman@chromium.org2011-08-091-15/+2
| | | | | | | | | | | | BUG=chromium-os:18876 TEST=See issue. Review URL: http://codereview.chromium.org/7528016 TBR=stevenjb@google.com Review URL: http://codereview.chromium.org/7607009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96065 0039d316-1c4b-4281-b951-d872f2087c98
* Enable tcmalloc profiling and heap dump.stevenjb@google.com2011-08-091-2/+15
| | | | | | | | | BUG=chromium-os:18876 TEST=See issue. Review URL: http://codereview.chromium.org/7528016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96054 0039d316-1c4b-4281-b951-d872f2087c98