summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages_params.cc
Commit message (Collapse)AuthorAgeFilesLines
* Handle resize corner layout entirely in the BrowserView (views) or ↵alekseys@chromium.org2010-11-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | BrowserWindow* (Mac) and extend RenderViewHost with a concept of reserved contents rect, a place to show extra stuff, such as Sidebar's mini tab UI. sidebar UI implementation warranted this change (mini tabs UI and resize corner area for sidebar contents). TabContentsDelegate::GetRootWindowResizerRect() is no more, reserved contents area is now cached in RenderWidgetHostView and updated upon view resize. Views: BrowserView is responsible for the actual layout and reserved contents area update. Mac: TabContentsController now manages all TabContents views in the main browser window to solve two problems, first to prevent contents flickering during tab change not only for the page, but for the sidebar and devtools contents too and, second, to monitor contents view frame changes and update reserved contents area accordingly. BUG=51084 TEST=All tests should pass, this is a refactoring CL. Review URL: http://codereview.chromium.org/3547008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66332 0039d316-1c4b-4281-b951-d872f2087c98
* Simplified AudioOutputStream interface.sergeyu@chromium.org2010-11-111-5/+4
| | | | | | | | | | | | | 1. Removed packet_size parameter from Open(). 2. Removed OnClose() from the callback. Now the callback is guaranteed to be called only between Start() and Stop(). 3. Added samples_per_packet in the AudioParameters struct. BUG=39825 TEST=Unittests Review URL: http://codereview.chromium.org/4661001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65766 0039d316-1c4b-4281-b951-d872f2087c98
* Moving Entry from base::file_util_proxy namespace to within class ↵kkanetkar@chromium.org2010-11-021-3/+3
| | | | | | | | | | | | base::FileUtilProxy BUG=None TEST=None Review URL: http://codereview.chromium.org/4261001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64806 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce new location for managed extensionsgfeher@chromium.org2010-10-251-1/+1
| | | | | | | | | | | Extensions that are silent-installed by an admin policy will have EXTERNAL_POLICY_DOWNLOAD set as their locations. It will not be possible to uninstall them and they will be silently updated. BUG=59782 TEST=none Review URL: http://codereview.chromium.org/3938005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63718 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 63232 - On Windows, create a new TransportDIB::Handle struct which ↵kkania@chromium.org2010-10-201-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | includes the file mapping HANDLE and the source process ID. Duplicating the handle for the remote process is done in TransportDIB::Map, instead of in various #ifdefs scattered across the code. Also on windows, remove the struct for the TransportDIB::Id which contained both the sequence number and the HANDLE and replace it with just the sequence number. Fix ThumbnailGenerator by mapping the TransportDIB on Windows and adding a method to duplicate the file mapping handle before sending across the channel. Also, add a ScopedHandle and fix some handle leaks. BUG=none TEST=none Review URL: http://codereview.chromium.org/3834003 TBR=kkania@chromium.org Review URL: http://codereview.chromium.org/3943002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63246 0039d316-1c4b-4281-b951-d872f2087c98
* On Windows, create a new TransportDIB::Handle struct which includes the filekkania@chromium.org2010-10-201-6/+10
| | | | | | | | | | | | | | | | | | | | mapping HANDLE and the source process ID. Duplicating the handle for the remote process is done in TransportDIB::Map, instead of in various #ifdefs scattered across the code. Also on windows, remove the struct for the TransportDIB::Id which contained both the sequence number and the HANDLE and replace it with just the sequence number. Fix ThumbnailGenerator by mapping the TransportDIB on Windows and adding a method to duplicate the file mapping handle before sending across the channel. Also, add a ScopedHandle and fix some handle leaks. BUG=none TEST=none Review URL: http://codereview.chromium.org/3834003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63232 0039d316-1c4b-4281-b951-d872f2087c98
* Add plumbing for passing the indexed database quota via IDBFactory::openandreip@chromium.org2010-10-121-2/+7
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/3729003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62352 0039d316-1c4b-4281-b951-d872f2087c98
* Wire up InstallSearchProvider to allow setting the default search provider.levin@chromium.org2010-10-111-0/+35
| | | | | | | | | | | Depends on http://codereview.chromium.org/3673002/show. BUG=38475 TEST=Next patch changes the callback mechanism TemplateURLFetcher to make it much more testable and adds tests. (I kept it out of this one to make this more focused.) Review URL: http://codereview.chromium.org/3652003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62204 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up the IndexedDB plumbing layers to match the latest WebKit code.jorlow@chromium.org2010-10-061-12/+12
| | | | | | | | | | | Landing http://codereview.chromium.org/3550015/show TEST=none BUG=none Review URL: http://codereview.chromium.org/3575019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61709 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 61608 - On Windows, create a new TransportDIB::Handle struct which ↵satish@chromium.org2010-10-061-10/+6
| | | | | | | | | | | | | | | | | | | | | | | includes the file mapping HANDLE and the source process ID. Duplicating the handle for the remote process is done in TransportDIB::Map, instead of in various #ifdefs scattered across the code. Also on windows, remove the struct for the TransportDIB::Id which contained both the sequence number and the HANDLE and replace it with just the sequence number. Fix ThumbnailGenerator by mapping the TransportDIB on Windows and adding a method to duplicate the file mapping handle before sending across the channel. BUG=none TEST=none Review URL: http://codereview.chromium.org/3305020 BUG=58128 TBR=kkania@chromium.org Review URL: http://codereview.chromium.org/3596008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61624 0039d316-1c4b-4281-b951-d872f2087c98
* On Windows, create a new TransportDIB::Handle struct which includes the filekkania@chromium.org2010-10-061-6/+10
| | | | | | | | | | | | | | | | | mapping HANDLE and the source process ID. Duplicating the handle for the remote process is done in TransportDIB::Map, instead of in various #ifdefs scattered across the code. Also on windows, remove the struct for the TransportDIB::Id which contained both the sequence number and the HANDLE and replace it with just the sequence number. Fix ThumbnailGenerator by mapping the TransportDIB on Windows and adding a method to duplicate the file mapping handle before sending across the channel. BUG=none TEST=none Review URL: http://codereview.chromium.org/3305020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61608 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the frame id required for the web navigation api.jochen@chromium.org2010-10-051-0/+5
| | | | | | | | | BUG=50943 TEST=*.WebNavigationEvents Review URL: http://codereview.chromium.org/3561008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61503 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Initialize data members in constructor.jhawkins@chromium.org2010-10-051-1/+4
| | | | | | | | | | | | CID=12798, 12835, 12921, 12922, 12923, 13083, 1408, 7026, 7027, 13052, 13058, 8295, 2289, 13026, 13133, 13233, 13184, 13183 BUG=none TEST=none Patch by Kausalya Madhusudhanan <kmadhusu@chromium.org> Review URL: http://codereview.chromium.org/3567011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61448 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply r61237: FBTF: Another big ctor/dtor cleanup found by automated tools.erg@google.com2010-10-041-0/+35
| | | | | | | | | | | | | | | Removes changes to code in webkit/ that broke chrome_frame. Will debug that portion later. (Shaves ~2MB off Linux Debug .a files) BUG=none TEST=compiles First Review URL: http://codereview.chromium.org/3563004 Review URL: http://codereview.chromium.org/3621003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61435 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt2: Component extensions (and whitelisted extensions) specifying ↵finnur@chromium.org2010-10-041-6/+8
| | | | | | | | | | | | | | | <all_urls> in their Extension match pattern should be allowed to run content scripts everywhere (including chrome://, chrome-extension://, about: and gallery pages. The intent was to also allow these extensions to specify more granular permissions, such as about:version instead of <all_urls>, but that didn't make the cut this time. This CL also enables <all_urls> for host permissions for regular extensions, which was disabled before. Note: That still doesn't give them permission to script the gallery and chrome:// pages, etc. BUG=36275 TEST=Working on it right now. Review URL: http://codereview.chromium.org/3585009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61359 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 61323 - Component extensions (and whitelisted extensions) specifying ↵finnur@chromium.org2010-10-031-8/+6
| | | | | | | | | | | | | | | | | | <all_urls> in their Extension match pattern should be allowed to run content scripts everywhere (including chrome://, chrome-extension://, about: and gallery pages. The intent was to also allow these extensions to specify more granular permissions, such as about:version instead of <all_urls>, but that didn't make the cut this time. This CL also enables <all_urls> for host permissions for regular extensions, which was disabled before. Note: That still doesn't give them permission to script the gallery and chrome:// pages, etc. BUG=36275 TEST=New: ExtensionBrowserTest.AllUrlsWhitelistedExtension, ExtensionBrowserTest.AllUrlsRegularExtensions Review URL: http://codereview.chromium.org/3440027 TBR=finnur@chromium.org Review URL: http://codereview.chromium.org/3557006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61327 0039d316-1c4b-4281-b951-d872f2087c98
* Component extensions (and whitelisted extensions) specifying <all_urls> in ↵finnur@chromium.org2010-10-031-6/+8
| | | | | | | | | | | | | | | their Extension match pattern should be allowed to run content scripts everywhere (including chrome://, chrome-extension://, about: and gallery pages. The intent was to also allow these extensions to specify more granular permissions, such as about:version instead of <all_urls>, but that didn't make the cut this time. This CL also enables <all_urls> for host permissions for regular extensions, which was disabled before. Note: That still doesn't give them permission to script the gallery and chrome:// pages, etc. BUG=36275 TEST=New: ExtensionBrowserTest.AllUrlsWhitelistedExtension, ExtensionBrowserTest.AllUrlsRegularExtensions Review URL: http://codereview.chromium.org/3440027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61323 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "FBTF: Another big ctor/dtor cleanup found by automated tools."erg@google.com2010-10-011-35/+0
| | | | | | | | | | | This reverts commit 27ea47d65cf8767f350113d5ad9e25170efde811 (r61237). BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3609005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61240 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Another big ctor/dtor cleanup found by automated tools.erg@google.com2010-10-011-0/+35
| | | | | | | | | | | (Shaves ~2MB off Linux Debug .a files) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3563004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61237 0039d316-1c4b-4281-b951-d872f2087c98
* Make the selection start and end attributes of an html input controldmazzoni@chromium.org2010-10-011-1/+1
| | | | | | | | | | | | accessible, implement IAccessibleText methods to retrieve this info, and post a notification when the cursor moves within a text field. BUG=none TEST=Added new test to renderer_accessibility_browsertest Review URL: http://codereview.chromium.org/3389037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61216 0039d316-1c4b-4281-b951-d872f2087c98
* Add Worker support for FileSystem API.kinuko@chromium.org2010-09-271-50/+0
| | | | | | | | | | | | | (corresponds to https://bugs.webkit.org/show_bug.cgi?id=45808) No support for shared workers yet. BUG=32277 TEST=none; layout tests will be added later. Review URL: http://codereview.chromium.org/3394003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60683 0039d316-1c4b-4281-b951-d872f2087c98
* Revert my revert of 60275 + don't do static casting + disable the tests for now.jorlow@chromium.org2010-09-231-16/+55
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/3435022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60283 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60275.jorlow@chromium.org2010-09-231-55/+16
| | | | | | | TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60281 0039d316-1c4b-4281-b951-d872f2087c98
* Add the transaction id plumbing to IndexedDB.jorlow@chromium.org2010-09-231-16/+55
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/3478003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60275 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor some file_system classes to use chromium types instead ofdumi@chromium.org2010-09-221-40/+0
| | | | | | | | | | | WebKit API types. BUG=none TEST=none Review URL: http://codereview.chromium.org/3406008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60152 0039d316-1c4b-4281-b951-d872f2087c98
* Add IDBIndex plumbing (for IndexedDB).jorlow@chromium.org2010-09-171-0/+42
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3442001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59780 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for webkit ValueChanged accessibility notification.ctguil@chromium.org2010-09-161-0/+50
| | | | | | | | | BUG=13291 TEST=interactive_ui_tests:AccessibilityWinBrowserTest.TestNotification* Review URL: http://codereview.chromium.org/3341021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59589 0039d316-1c4b-4281-b951-d872f2087c98
* Adds default constructors and destructors to ViewHostMsgs.hbono@chromium.org2010-09-151-0/+292
| | | | | | | | | | This change adds default constructors to ViewHostMsgs defined in 'chrome/common/render_messages_params.h' to prevent its variables from being used uninitialized, and adds destructors to prevent compilers from synthesizing them when including the header file. This change also removes code that inserts constants to the structs because we do not need it any more. BUG=none TEST=none Review URL: http://codereview.chromium.org/3252001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59482 0039d316-1c4b-4281-b951-d872f2087c98
* Integrate FileSystemOperation with FileSystemDispatcherHost.kinuko@chromium.org2010-09-081-3/+3
| | | | | | | | | | | | (This patch depends on unsubmitted change in file_util_proxy: http://codereview.chromium.org/3293009/show) BUG=32277 TEST=none; layout tests will be added later. Review URL: http://codereview.chromium.org/3328011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58870 0039d316-1c4b-4281-b951-d872f2087c98
* Support accept attribute for an <input type=file> element.jianli@chromium.org2010-09-081-1/+5
| | | | | | | | | BUG=54009 TEST=none Review URL: http://codereview.chromium.org/3311016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58868 0039d316-1c4b-4281-b951-d872f2087c98
* Fix deserializition for message 65707 (ViewMsg_ExtensionsUpdated)dpolukhin@chromium.org2010-09-081-1/+1
| | | | | | | | | | | I'm not sure that it's right solution but EXTERNAL_PREF_DOWNLOAD is valid enum value so there is no reason to prohibit its deserialization. TEST=none BUG=54241 Review URL: http://codereview.chromium.org/3365013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58801 0039d316-1c4b-4281-b951-d872f2087c98
* Add AudioParameters struct. Use it everywhere.sergeyu@chromium.org2010-08-311-18/+18
| | | | | | | | | BUG=None TEST=unittests Review URL: http://codereview.chromium.org/3226012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58097 0039d316-1c4b-4281-b951-d872f2087c98
* Add final part of IPC plumbing for FileSystem API (retry).kinuko@chromium.org2010-08-311-0/+56
| | | | | | | | | | | | | Original issue: http://codereview.chromium.org/3208007/show (Reverted due to rebase error) BUG=32277 TEST=none; to be added when we have complete implementation. TBR=phajdan-jr, michaeln Review URL: http://codereview.chromium.org/3256006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57955 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r57788 - Expose Extension Bindings to Component Applicationsrafaelw@chromium.org2010-08-311-1/+25
| | | | | | | | | | | | | | | | This patch allows component (built-in) extension apps to have extension api bindings. Note that this patch adds browser-side api permission checking for extension requests. This is step two along the path to exposing an extension management api to the gallery (webstore). Original Review: http://codereview.chromium.org/3163044 BUG=27431 TBR=mpcomplete Review URL: http://codereview.chromium.org/3263007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57941 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 57915 - Add final part of IPC plumbing for FileSystem API.kinuko@chromium.org2010-08-301-56/+0
| | | | | | | | | | | | BUG=32277 TEST=none; to be added when we have complete implementation. Review URL: http://codereview.chromium.org/3208007 TBR=kinuko@chromium.org,phajdan-jr Review URL: http://codereview.chromium.org/3245010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57923 0039d316-1c4b-4281-b951-d872f2087c98
* Add final part of IPC plumbing for FileSystem API.kinuko@chromium.org2010-08-301-0/+56
| | | | | | | | | BUG=32277 TEST=none; to be added when we have complete implementation. Review URL: http://codereview.chromium.org/3208007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57915 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 57788 - Expose Extension Bindings to Component Applicationsrafaelw@chromium.org2010-08-281-25/+1
| | | | | | | | | | | | | | | | | This patch allows component (built-in) extension apps to have extension api bindings. Note that this patch adds browser-side api permission checking for extension requests. This is step two along the path to exposing an extension management api to the gallery (webstore). BUG=27431 Review URL: http://codereview.chromium.org/3163044 TBR=rafaelw@chromium.org Review URL: http://codereview.chromium.org/3249004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57789 0039d316-1c4b-4281-b951-d872f2087c98
* Expose Extension Bindings to Component Applicationsrafaelw@chromium.org2010-08-281-1/+25
| | | | | | | | | | | | | | This patch allows component (built-in) extension apps to have extension api bindings. Note that this patch adds browser-side api permission checking for extension requests. This is step two along the path to exposing an extension management api to the gallery (webstore). BUG=27431 Review URL: http://codereview.chromium.org/3163044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57788 0039d316-1c4b-4281-b951-d872f2087c98
* When the browser doesn't have connectivity to a hosted app, display a ↵erikkay@chromium.org2010-08-271-18/+20
| | | | | | | | | | | 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
* A quick fix for Issue 53385.hbono@chromium.org2010-08-261-0/+4
| | | | | | | | | | It seems r57387 does not change ParamTraits<ViewHostMsg_FrameNavigate_Params>::Read(), ParamTraits<ViewHostMsg_FrameNavigate_Params>::Write(), or ParamTraits<ViewHostMsg_FrameNavigate_Params>::Log() even though it added a new variable to ViewHostMsg_FrameNavigate_Params. This causes lots of uninitcondition errors on valgrind bots. BUG=53385 TEST=make the "Linux Tests (valgrind)(1)" and "Chromium Mac (valgrind)" bots greener. Review URL: http://codereview.chromium.org/3164043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57451 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Move individual XXXMsg_Params structs to a new file.erg@google.com2010-08-241-0/+1420
The new file, render_messages_params.h, is included in 57 files, while render_messages.h is included in 176 files. Moving the Params structs to their own file allow pruning the included headers. (Part 2 of this cleanup will be sorting the individual structs into themes to further minimize header inclusion.) BUG=51411 TEST=compiles Review URL: http://codereview.chromium.org/3119035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57229 0039d316-1c4b-4281-b951-d872f2087c98