summaryrefslogtreecommitdiffstats
path: root/chrome/common
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of the extension dependency in ResourceDispatcher by calling out to ↵jam@chromium.org2011-03-044-19/+6
| | | | | | | | a webkit_glue function that can update the peer. No point sending the boolean flag from the browser since the same check is done in the renderer. Review URL: http://codereview.chromium.org/6628006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76957 0039d316-1c4b-4281-b951-d872f2087c98
* Enable filesystem: URIs by default and remove enabling switch.adamk@chromium.org2011-03-042-4/+0
| | | | | | | | | | | | The filesystem: generation and resolution methods have now been added to WebKit, so Chrome should be able to load those URIs. BUG=74858 TEST=none Review URL: http://codereview.chromium.org/6612032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76949 0039d316-1c4b-4281-b951-d872f2087c98
* Convert worker, speech_input, and utility messages to use the new macros, ↵tsepez@chromium.org2011-03-049-656/+341
| | | | | | | | eliminating the need for hand coded traits. Review URL: http://codereview.chromium.org/6610026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76931 0039d316-1c4b-4281-b951-d872f2087c98
* Add chunked uploads support to SPDYsatish@chromium.org2011-03-042-23/+16
| | | | | | | | | | | | | | | As part of this, I had to move the chunked encoding part from UploadData::Element::SetChunk to HttpStreamParser::DoSendBody as SPDY doesn't have this encoded format and UploadData needs to serve both. BUG=none TEST=net_unittests (2 new tests added) Committed and rolled back: http://src.chromium.org/viewvc/chrome?view=rev&revision=76892 Review URL: http://codereview.chromium.org/6292013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76930 0039d316-1c4b-4281-b951-d872f2087c98
* Return accessible icon URLs for disabled extensions in the management API.jstritar@chromium.org2011-03-042-2/+2
| | | | | | | | | BUG=60437 TEST=ExtensionManagementApiTest.Basics Review URL: http://codereview.chromium.org/6596112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76920 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Add chunked uploads support to SPDY"satish@chromium.org2011-03-042-16/+23
| | | | | | | | This reverts commit 8431a6e7be70b1b50b0d5b851bbe728b7fef220f. TBR=satish git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76896 0039d316-1c4b-4281-b951-d872f2087c98
* This is the first CL for a sequence of CLs that will add in the display ↵rharrison@chromium.org2011-03-042-2/+10
| | | | | | | | | | | | | | | | infrastructure that I have built for the DOM Login and touch keyboard. If have created a reference CL for what the end product of this sequence is intended to be, so that I can give context for the CL under review.This can be found at: http://codereview.chromium.org/6577003/ This CL adds in chrome://login-container to touchui==1 and chromeos==1 builds. This page is hooked into the WebUI to enable testing and development of a Browser based container for the DOM Login screens. In this CL all it does it create a Browser with chrome://login in it. This functionality will be extended in following CLs. Patch from Ryan Harrison <rharrison@chromium.org> BUG=none TEST=manual Review URL: http://codereview.chromium.org/6579003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76894 0039d316-1c4b-4281-b951-d872f2087c98
* Enable speech input by default and remove unused code.satish@chromium.org2011-03-043-8/+0
| | | | | | | | | | | This CL is the same as what I submitted for M10 in http://codereview.chromium.org/6133006/, but rolled back then. We are now enabling the feature for M11. BUG=61677 TEST=browser_tests --gtest_filter="SpeechInputBrowserTest.*" Review URL: http://codereview.chromium.org/6610022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76893 0039d316-1c4b-4281-b951-d872f2087c98
* Add chunked uploads support to SPDYsatish@chromium.org2011-03-042-23/+16
| | | | | | | | | | | | | As part of this, I had to move the chunked encoding part from UploadData::Element::SetChunk to HttpStreamParser::DoSendBody as SPDY doesn't have this encoded format and UploadData needs to serve both. BUG=none TEST=net_unittests (2 new tests added) Review URL: http://codereview.chromium.org/6292013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76892 0039d316-1c4b-4281-b951-d872f2087c98
* Take out the is_content_filtered bool that gets passed around betwen ↵jam@chromium.org2011-03-049-45/+23
| | | | | | | | renderer/browser and WebKit, since it's not used anywhere. Review URL: http://codereview.chromium.org/6621006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76885 0039d316-1c4b-4281-b951-d872f2087c98
* Adding multisampling to GPU software rendering list feature sets. Allow ↵zmo@google.com2011-03-043-2/+12
| | | | | | | | | | | mutilple devices in a single software rendering list entry. Change string to integer for a software rendering list entry id. BUG=none TEST=unittest Review URL: http://codereview.chromium.org/6610025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76850 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 76840 - Removed GPU plugin.jcivelli@chromium.org2011-03-043-0/+57
| | | | | | | | | | | | | | Pepper 3D v2 does not use the GPU plugin. It is integrated with the accelerated compositor. TEST=PPAPI 3D v2 still works, trybots BUG=none Review URL: http://codereview.chromium.org/6588090 TBR=apatrick@chromium.org Review URL: http://codereview.chromium.org/6614030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76845 0039d316-1c4b-4281-b951-d872f2087c98
* Removed GPU plugin.apatrick@chromium.org2011-03-033-57/+0
| | | | | | | | | | | Pepper 3D v2 does not use the GPU plugin. It is integrated with the accelerated compositor. TEST=PPAPI 3D v2 still works, trybots BUG=none Review URL: http://codereview.chromium.org/6588090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76840 0039d316-1c4b-4281-b951-d872f2087c98
* Release notes for M10.kathyw@chromium.org2011-03-034-12/+54
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6609001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76837 0039d316-1c4b-4281-b951-d872f2087c98
* Move MessageRouter from chrome to content.jam@chromium.org2011-03-033-117/+1
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6603027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76827 0039d316-1c4b-4281-b951-d872f2087c98
* Move content specific switches to content, in preparation for moving ↵jam@chromium.org2011-03-032-292/+6
| | | | | | | | | directories that currently depend on common (like gpu). TBR=bradnelson Review URL: http://codereview.chromium.org/6603011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76785 0039d316-1c4b-4281-b951-d872f2087c98
* Fix enable/disable of the Chrome Pepper Nacl plug-in. On Linux, the Zygote ↵bbudge@google.com2011-03-031-19/+14
| | | | | | | | | | loads plugins before all command line information is available. In particular, the about:flags flag for NaCl isn't loaded yet. The fix is to always load the plugin and have the PluginService check the command line flags and set the WebPluginInfo.enabled field based on that. TEST=manual BUG=71989 Review URL: http://codereview.chromium.org/6610005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76779 0039d316-1c4b-4281-b951-d872f2087c98
* Convert message files from specific .cc implementation files to use thetsepez@chromium.org2011-03-039-51/+11
| | | | | | | | | | | new common message generator for the cases where the conversion is trivial. BUG=none TEST= Review URL: http://codereview.chromium.org/6594123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76765 0039d316-1c4b-4281-b951-d872f2087c98
* sync: add switch for using new syncer thread.tim@chromium.org2011-03-032-0/+4
| | | | | | | | | | | | Also adds SyncerThreadAdapter (temp code) to facilitate swapping between implementations without tearing syncapi apart. BUG=26339 TEST=unit_tests, sync_unit_tests Review URL: http://codereview.chromium.org/6576049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76756 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up problems when bundle doesn't exist for service process on Mac.dmaclach@chromium.org2011-03-031-22/+25
| | | | | | | | | BUG=74690 TEST=Start up cloud print or remoting, then quit chrome. Move chrome.app somewhere else on your system. Restart chrome. Shouldn't crash. Review URL: http://codereview.chromium.org/6613004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76754 0039d316-1c4b-4281-b951-d872f2087c98
* Fix TODOs: Get rid of ExtensionService::InstallExtension().skerner@chromium.org2011-03-032-0/+9
| | | | | | | | | | | Also use a single delete function when removing extension files. BUG=None TEST=ExtensionServiceTest.* Review URL: http://codereview.chromium.org/6596041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76752 0039d316-1c4b-4281-b951-d872f2087c98
* Update Chromium Search extension to use Chromium Verticalaa@chromium.org2011-03-035-7/+8
| | | | | | | | | | BUG=None TEST=Loaded extension, tried some searches. Review URL: http://codereview.chromium.org/6597084 Patch from Tessa MacDuff <tessamac@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76676 0039d316-1c4b-4281-b951-d872f2087c98
* Sandbox the GPU process for Windowscpu@chromium.org2011-03-031-3/+35
| | | | | | | | | | | | | | | | The policy is fairly restrictive token-wise but still the process needs access to the interactive desktop. Tweaks to the Job level in a different CL once it has baked in the dev channel. BUG=48607 TEST=see bug. Review URL: http://codereview.chromium.org/6594100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76675 0039d316-1c4b-4281-b951-d872f2087c98
* Say that file: access requires user opt-in.kathyw@chromium.org2011-03-032-2/+16
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6576036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76674 0039d316-1c4b-4281-b951-d872f2087c98
* Document using chrome://flags to enable experimental APIs.kathyw@chromium.org2011-03-032-10/+36
| | | | | | | | | BUG=67889 TEST=none Review URL: http://codereview.chromium.org/6580031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76673 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 76239 - Crash when we notice a corruption of the histogram range-vectorrsimha@chromium.org2011-03-031-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reason for revert: This patch might have resulted in some flakiness in the sync bots on the chromium waterfall. The range vector is calculated once when a histogram is constructed, and should never change over the lifetime of the histogram. When it does change, it means that memory is being overwritten. We now crash (via CHECK) when there is any detected corruption of the range vector. This CL uses a more robust check-sum algorithm to detect corruption of the vector. The previous algorithm just did a sum, and was too easilly tricked by small (offsetting) changes in several ranges. Hopefully, this CRC-32 implementation will not be so easilly fooled. I had to refactor the class to ensure that each histogram was completely constructed before I registered it. The old code could sometimes register a base class (tradtional Histogram, with exponential bucket spread) and then run the derived constructor (such as when creating a LinearHistogram, with a second construction of the ranges and checksum). I now carefully avoid generating the checksum until fully constructing the instance, and then I run InitializeBuckets only once on the instance before registering it. bug=73939,74467 r=mbelshe Review URL: http://codereview.chromium.org/6577013 TBR=jar@chromium.org Review URL: http://codereview.chromium.org/6611001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76667 0039d316-1c4b-4281-b951-d872f2087c98
* IndexedDB: fire versionchange events when calling setVersiondgrogan@chromium.org2011-03-031-4/+7
| | | | | | | | | | | | The webkit side is here: https://bugs.webkit.org/show_bug.cgi?id=55095 BUG=64049 TEST= Review URL: http://codereview.chromium.org/6596065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76666 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 76631 because it causes fullscreen layout tests to timeout on linuxtonyg@chromium.org2011-03-023-7/+1
| | | | | | | | | | | | | | | | | | | | | Re-applying r76324, which was reverted during a WebKit rollback. Build WebKit Full Screen API. Support is disabled by default; enable with --enable-fullscreen. Commit after WK bug 44797 (r79774). BUG=16735 TEST=fullscreen layout tests. Review URL: http://codereview.chromium.org/6576004 Review URL: http://codereview.chromium.org/6597112 TBR=ddorwin@chromium.org Review URL: http://codereview.chromium.org/6591126 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76646 0039d316-1c4b-4281-b951-d872f2087c98
* web-ui settings: Clean up page urls.csilv@chromium.org2011-03-022-6/+4
| | | | | | | BUG=none Review URL: http://codereview.chromium.org/6594106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76637 0039d316-1c4b-4281-b951-d872f2087c98
* Rename the targetUrl parameter to url in webNavigation.onBeforeRetargetjochen@chromium.org2011-03-022-2/+2
| | | | | | | | | BUG=none TEST=browser tests Review URL: http://codereview.chromium.org/6597105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76634 0039d316-1c4b-4281-b951-d872f2087c98
* Pass webNavigation transitionQualifier as array instead of a stringjochen@chromium.org2011-03-024-25/+5
| | | | | | | | | BUG=none TEST=api tests Review URL: http://codereview.chromium.org/6592099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76632 0039d316-1c4b-4281-b951-d872f2087c98
* Re-applying r76324, which was reverted during a WebKit rollback.ddorwin@chromium.org2011-03-023-1/+7
| | | | | | | | | | | | | | | | Build WebKit Full Screen API. Support is disabled by default; enable with --enable-fullscreen. Commit after WK bug 44797 (r79774). BUG=16735 TEST=fullscreen layout tests. Review URL: http://codereview.chromium.org/6576004 Review URL: http://codereview.chromium.org/6597112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76631 0039d316-1c4b-4281-b951-d872f2087c98
* wstring: remove some simple instances of ToWStringHackevan@chromium.org2011-03-023-9/+19
| | | | | | | | BUG=69467 Review URL: http://codereview.chromium.org/6588131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76630 0039d316-1c4b-4281-b951-d872f2087c98
* Add plumbing for new primaryKey method on IDBCursor.jorlow@chromium.org2011-03-021-0/+5
| | | | | | | | | BUG=72025 TEST=Will be added in next patch. Review URL: http://codereview.chromium.org/6591081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76628 0039d316-1c4b-4281-b951-d872f2087c98
* Add older ATI/NVidia/Intel drivers in XP to software rendering list, and ↵zmo@google.com2011-03-022-1/+2
| | | | | | | | remove the original no-XP entry.BUG=74212TEST=none Review URL: http://codereview.chromium.org/6594098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76625 0039d316-1c4b-4281-b951-d872f2087c98
* Flag to trigger multi-profile feature.mirandac@chromium.org2011-03-022-0/+4
| | | | | | | | | BUG=74731 TEST=none Review URL: http://codereview.chromium.org/6606020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76615 0039d316-1c4b-4281-b951-d872f2087c98
* And a flag to disable safebrowsing warning ui.lzheng@chromium.org2011-03-022-0/+8
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/6602053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76614 0039d316-1c4b-4281-b951-d872f2087c98
* P2P Sockets host implementation.sergeyu@chromium.org2011-03-023-2/+6
| | | | | | | | | | | | Currently only UDP sockets on Mac and Linux are supported. Also added --enable-p2papi flag. The flags just enables IPC for P2P. BUG=None TEST=None Review URL: http://codereview.chromium.org/6598053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76604 0039d316-1c4b-4281-b951-d872f2087c98
* Applying factory pattern (through NativeMetafileFactory class). It is used ↵dpapad@chromium.org2011-03-021-16/+23
| | | | | | | | | | | | | | | to retrieve different printing contexts (based on the platform and user preferences). BUG=NONE TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=76553 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=76555 Review URL: http://codereview.chromium.org/6544028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76581 0039d316-1c4b-4281-b951-d872f2087c98
* Display disabled apps with grayed out images on the NTP. Call the re-enable ↵jstritar@chromium.org2011-03-023-0/+7
| | | | | | | | | | | logic when the user tries to launch the app. This also adds a chrome://extension-icon endpoint that provides easy access to extension and app icons. BUG=61270 TEST=ExtensionIconSourceTest.IconsLoaded Review URL: http://codereview.chromium.org/6495002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76579 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 76553 - Applying factory pattern (through NativeMetafileFactory ↵jam@chromium.org2011-03-021-23/+16
| | | | | | | | | | | | | | class). It is used to retrieve different printing contexts (based on the platform and user preferences). BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6544028 TBR=dpapad@chromium.org Review URL: http://codereview.chromium.org/6594121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76555 0039d316-1c4b-4281-b951-d872f2087c98
* Applying factory pattern (through NativeMetafileFactory class). It is used ↵dpapad@chromium.org2011-03-021-16/+23
| | | | | | | | | | | to retrieve different printing contexts (based on the platform and user preferences). BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6544028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76553 0039d316-1c4b-4281-b951-d872f2087c98
* retry r76329 with chromeos fixestade@chromium.org2011-03-021-1/+0
| | | | | | | | | | | | | Change the behavior of ignore_path in BrowserNavigator. use an enum instead. The enum controls whether to replace the path or leave it alone when bringing an already-open tab to the front. BUG=71472 TEST=included Review URL: http://codereview.chromium.org/6592058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76490 0039d316-1c4b-4281-b951-d872f2087c98
* Pure pedantry: Replace all ".size() == 0" with ".empty()".erg@google.com2011-03-022-2/+2
| | | | | | | | | BUG=carnitas TEST=compiles; existing unit tests. Review URL: http://codereview.chromium.org/6602049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76467 0039d316-1c4b-4281-b951-d872f2087c98
* web-ui settings: Standard font setting now correlates to WebKit's standard ↵csilv@chromium.org2011-03-012-8/+2
| | | | | | | | | | font family only. BUG=74434 TEST=Verify that changing the 'standard font' only applies to unspecified font styles. Review URL: http://codereview.chromium.org/6602021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76463 0039d316-1c4b-4281-b951-d872f2087c98
* Makes instant show SSL error page. Because these end up with asky@chromium.org2011-03-011-0/+4
| | | | | | | | | | | | | | | different RenderViewHost I wasn't seeing the paint, and wasn't showing the preview. I've plumbed through notification so that I can detect this case. I'm writing the test for this separately. BUG=74085 TEST=see bug Review URL: http://codereview.chromium.org/6597056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76458 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper/Flapper: Add an interface to do sync file ops on FileRefs.viettrungluu@chromium.org2011-03-011-1/+1
| | | | | | | | | | | | | Such FileRefs are typically obtained from the Pepper file chooser. The interface corresponds exactly to the one for module-local files. (The implementation is only enabled if Flapper hacks are enabled.) BUG=none TEST=Flapper file uploads work for me Review URL: http://codereview.chromium.org/6592071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76446 0039d316-1c4b-4281-b951-d872f2087c98
* startup: move a bit of logging initialization into InitChromeLoggingevan@chromium.org2011-03-011-8/+36
| | | | | | | | | | | | | Previously we called InitChromeLogging() and then did a bit more logging setup just afterwards. This change moves the follow-up setup into InitChromeLogging as well. While I'm at it, I renamed the dumping function to something more descriptive and used an anonymous namespace rather than "static"s. Review URL: http://codereview.chromium.org/6596077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76444 0039d316-1c4b-4281-b951-d872f2087c98
* FilePath: add a convertor to ASCIIevan@chromium.org2011-03-011-4/+9
| | | | | | | | | This is needed for cases where we need to work with known-ASCII filenames, like locale paths. Review URL: http://codereview.chromium.org/6597075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76426 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the --use-lf-heap flag.evan@chromium.org2011-03-012-4/+0
| | | | | | | | | | | | In 2008 Mike observed: - Using the LFH on XP has some perf gain at the expense of a lot of RAM. - Using the LFH on Vista seems to have no impact on perf or RAM. We don't need to experiment with this flag anymore. Review URL: http://codereview.chromium.org/6592074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76415 0039d316-1c4b-4281-b951-d872f2087c98