summaryrefslogtreecommitdiffstats
path: root/content/browser/webui
Commit message (Collapse)AuthorAgeFilesLines
* Rename RenderViewHostManager to RenderFrameHostManager.creis@chromium.org2013-11-281-1/+1
| | | | | | | | | | BUG=314791 TEST=No behavior change. TBR=nduca@chromium.org Review URL: https://codereview.chromium.org/92153003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237714 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Serve mime type in Content-Type headerpfeldman@chromium.org2013-11-071-0/+18
| | | | | | | | BUG=315513 Review URL: https://codereview.chromium.org/61783002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233552 0039d316-1c4b-4281-b951-d872f2087c98
* Disable caching for webui resourcesjaphet@chromium.org2013-11-011-0/+3
| | | | | | | | | | chrome://accessibility depends on its sync xhrs not getting caught in the memory cache, but doesn't send a Cache-Control header. We probably don't need caching for webui resources in general, since they're not going to go farther than the browser process. BUG=303635 Review URL: https://codereview.chromium.org/34603007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232294 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Move webui/ directory into base/tfarina@chromium.org2013-10-151-2/+2
| | | | | | | | | | BUG=299841 TEST=ui_unittests, no behavior changes. R=ben@chromium.org Review URL: https://codereview.chromium.org/26171003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228582 0039d316-1c4b-4281-b951-d872f2087c98
* Fix 2x UI issues for Feedback.rkc@chromium.org2013-09-101-1/+1
| | | | | | | | | R=estade@chromium.org BUG=286022 Review URL: https://chromiumcodereview.appspot.com/23726024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222170 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium Blob hackingmichaeln@chromium.org2013-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Start using BlobStorageContext (and family) as a replacement for BlobStorageController. The new class manages blob data by uuid and seperately maintains a mapping from of public blob urls to uuids. Added a methods to create an additional mapping of old-style 'private urls' to new-style uuids to help with transitioning, blink needs to be retrofitted too, but that has to happen separately. Changed blob processing classes to take BlobDataHandles as input instead of GURLs. Not long after IPC deserizliation, get a BlobDataHandle and pass that around. - FileSystemOperation.Write (and famlity) for FileWriter support - ResourceDispatcherHost (and famility) for blob url requests - (PostMessage handling and WebIntent plumbing ultimately needs to be treated in this way too) Switched to using string uuids instead of urls in IPC messages (and structs carried in ipc messages). Until blink is retrofitted, the chromiums side supports both forms of identifying blobs (old-style private urls and new-style uuids). - FileSystemHostMsg_Write - webkit_base::DataElement (and consumers: BlobData, ResourceRequestBody) - blob registry/building ipc messages Implemented the WebKit::WebBlobRegistryImpl such that it can be invoked on any renderer/worker thread. Got more explicit about naming: FileSystemURL vs BlobUUID vs PublicBlobURL. Note: There are corresponding changes to be made in Blink, after which, the things annotated as deprecated in this CL can be removed. TBR=inferno BUG=174200 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220754 Review URL: https://chromiumcodereview.appspot.com/23223003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221886 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Chromium Blob hacking" This reverts r220754.tkent@chromium.org2013-09-021-1/+1
| | | | | | | | | | | It broke multiple blob layout tests. TBR=michaeln@chromium.org BUG= Review URL: https://codereview.chromium.org/23670004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220772 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium Blob hackingmichaeln@chromium.org2013-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Start using BlobStorageContext (and family) as a replacement for BlobStorageController. The new class manages blob data by uuid and seperately maintains a mapping from of public blob urls to uuids. Added a methods to create an additional mapping of old-style 'private urls' to new-style uuids to help with transitioning, blink needs to be retrofitted too, but that has to happen separately. Changed blob processing classes to take BlobDataHandles as input instead of GURLs. Not long after IPC deserizliation, get a BlobDataHandle and pass that around. - FileSystemOperation.Write (and famlity) for FileWriter support - ResourceDispatcherHost (and famility) for blob url requests - (PostMessage handling and WebIntent plumbing ultimately needs to be treated in this way too) Switched to using string uuids instead of urls in IPC messages (and structs carried in ipc messages). Until blink is retrofitted, the chromiums side supports both forms of identifying blobs (old-style private urls and new-style uuids). - FileSystemHostMsg_Write - webkit_base::DataElement (and consumers: BlobData, ResourceRequestBody) - blob registry/building ipc messages Implemented the WebKit::WebBlobRegistryImpl such that it can be invoked on any renderer/worker thread. Got more explicit about naming: FileSystemURL vs BlobUUID vs PublicBlobURL. Note: There are corresponding changes to be made in Blink, after which, the things annotated as deprecated in this CL can be removed. TBR=inferno BUG=174200 Review URL: https://chromiumcodereview.appspot.com/23223003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220754 0039d316-1c4b-4281-b951-d872f2087c98
* Add svg mime type to WebUIDataSourceImpl::GetMimeTypespang@chromium.org2013-08-271-0/+3
| | | | | | | | | | This is used by the onscreen keyboard. BUG=279533 Review URL: https://chromiumcodereview.appspot.com/23469005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219722 0039d316-1c4b-4281-b951-d872f2087c98
* Add WebUIDataSourceImpl::DisableReplaceExistingSourceshuais@opera.com2013-08-212-1/+11
| | | | | | | | | | | | | | | | | | | Currently when using WebUIDataSource object returned by content::WebUIDataSource::Create, there is no way to override ShouldReplaceExistingSource for the URLDataSource object that will be created by WebUIDataSource internally. As a result when WebUIDataSource of the same type is added repeatedly for different instances of WebUI, the previous pending request on the data source will be cancelled, resulting in broken WebUI page. The New Tab Page in chromium doesn't suffer because it doesn't use WebUIDataSource, however it's convinient and less work to use it for some WebUIs. It's also possible to work around by avoiding adding WebUIDataSource repeatedly in the first place, but that is much more complicated as we'll have to track is a certain WebUIDataSource already added or not for a given profile. The proposed fix simply add the api to override ShouldReplaceExistingSource. BUG= Review URL: https://chromiumcodereview.appspot.com/22150004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218710 0039d316-1c4b-4281-b951-d872f2087c98
* Move kJavaScriptScheme into content namespace.tfarina@chromium.org2013-08-191-1/+1
| | | | | | | | TBR=jam@chromium.org,darin@chromium.org Review URL: https://chromiumcodereview.appspot.com/23283007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218244 0039d316-1c4b-4281-b951-d872f2087c98
* Reland https://codereview.chromium.org/22267012rkc@chromium.org2013-08-171-1/+29
| | | | | | | | | | | 22267012 removed the Feedback component app from M30, relanding it now that we've branched. TBR=rkc@chromium.org BUG=253686 Review URL: https://chromiumcodereview.appspot.com/23064012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218174 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r215683, r215739 and r215736rkc@chromium.org2013-08-061-29/+1
| | | | | | | | | | | | | | | The feedback component app is moved to M31; revert all related changes from M30. This CL reverts, https://codereview.chromium.org/22295003/ https://codereview.chromium.org/22338003/ https://codereview.chromium.org/22253004/ TBR=rkc@chromium.org BUG=269113 Review URL: https://codereview.chromium.org/22267012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215999 0039d316-1c4b-4281-b951-d872f2087c98
* Relanding - https://codereview.chromium.org/20565006/rkc@chromium.org2013-08-051-1/+29
| | | | | | | | | | | | | | The CL was reverted due to this error, c:\b\build\slave\google-chrome-rel-win\build\src\chrome/browser/feedback/feedback_util.h(13): fatal error C1083: Cannot open include file: 'chrome/browser/feedback/proto/common.pb.h': No such file or directory This CL neither changes line 13 in feedback_util.h (which includes the generated protobuf file), nor does it change common.proto, which is used to generate common.ph.h; so it seems very probable that this build error is a flake. TBR=rkc@chromium.org BUG=None. Review URL: https://codereview.chromium.org/22253004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215683 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 215568 "Implement Feedback UI using the feedbackPrivate API."kochi@chromium.org2013-08-051-29/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Implement Feedback UI using the feedbackPrivate API. > This CL implements the new feedback UI which is a component app built on the feedbackPrivate API. > > Owner reviews requested, > > estade@ > chrome/browser/ui/webui/ > content/browser/webui/ > ui/webui/ > > asargent@ > chrome/common/extensions/ > chrome/browser/extensions/ > > jamescook@ > chrome/browser/ui/ash/ > > battre@ > chrome/browser/profile_resetter/ > > jhawkins@ > chrome/browser/browser_resources.grd > > R=hirono@chromium.org, zork@chromium.org > BUG=253686 > TEST=Launch the UI, test sending various reports. > > Review URL: https://chromiumcodereview.appspot.com/20565006 TBR=rkc@chromium.org Review URL: https://codereview.chromium.org/21815004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215577 0039d316-1c4b-4281-b951-d872f2087c98
* Implement Feedback UI using the feedbackPrivate API.rkc@chromium.org2013-08-051-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL implements the new feedback UI which is a component app built on the feedbackPrivate API. Owner reviews requested, estade@ chrome/browser/ui/webui/ content/browser/webui/ ui/webui/ asargent@ chrome/common/extensions/ chrome/browser/extensions/ jamescook@ chrome/browser/ui/ash/ battre@ chrome/browser/profile_resetter/ jhawkins@ chrome/browser/browser_resources.grd R=hirono@chromium.org, zork@chromium.org BUG=253686 TEST=Launch the UI, test sending various reports. Review URL: https://chromiumcodereview.appspot.com/20565006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215568 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of the message_loop header in content/, part 3.avi@chromium.org2013-07-182-2/+2
| | | | | | | | | | BUG=260807 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/19463008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212187 0039d316-1c4b-4281-b951-d872f2087c98
* content: Migrate from googleurl/ includes to url/ ones.tfarina@chromium.org2013-07-092-2/+2
| | | | | | | | | BUG=229660 TBR=darin@chromium.org Review URL: https://codereview.chromium.org/18868005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210626 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a NOTREACHED() for unhandled chrome.send() messages from WebUI.dbeam@chromium.org2013-06-271-0/+2
| | | | | | | | | | | R=arv@chromium.org BUG=none TEST=find dead code TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/17764002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208930 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded gurl.h includes.thestig@chromium.org2013-06-211-1/+0
| | | | | | Review URL: https://chromiumcodereview.appspot.com/15600006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207739 0039d316-1c4b-4281-b951-d872f2087c98
* Make content use base namespace for Values.brettw@chromium.org2013-06-142-3/+3
| | | | | | | | | | | This is in preparation for removing the "using". BUG= TBR=jam@chromium.org Review URL: https://codereview.chromium.org/17025003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206442 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of strings headers in content/browser/, part 2.avi@chromium.org2013-06-116-6/+6
| | | | | | | | | | BUG=247723 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/16625010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205435 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of utf_string_conversions.h in content/.avi@chromium.org2013-06-074-5/+5
| | | | | | | | | | BUG=none TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/16408017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204917 0039d316-1c4b-4281-b951-d872f2087c98
* Allow WebUI URLRequests not associated with any renderer.vsevik@chromium.org2013-06-061-0/+1
| | | | | | | | | | | | DevTools uses WebUI as a proxy for remote frontend loading. Remote frontend uses application cache. Application cache manifest is loaded with URLRequest that is not associated with any renderer. BUG=241727 Review URL: https://chromiumcodereview.appspot.com/15984009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204509 0039d316-1c4b-4281-b951-d872f2087c98
* Move webkit/appcache/* into webkit/{browser,common}/appcachekinuko@chromium.org2013-06-051-1/+1
| | | | | | | | | | | | | | | | | | This moves following files to webkit/common/appcache - appcache/appcache_interfaces* Following files to webkit/renderer/appcache - appcache/appcache_frontend_impl* - appcache/web_application_cache_host_impl* and everything else to webkit/browser/appcache. BUG=239109 TBR=avi@chromium.org, michaeln@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/16081004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204218 0039d316-1c4b-4281-b951-d872f2087c98
* Update content/ to use scoped_refptr<T>::get() rather than implicit ↵rsleevi@chromium.org2013-06-024-8/+8
| | | | | | | | | | | | | "operator T*" Linux fixes BUG=110610 TBR=darin Review URL: https://chromiumcodereview.appspot.com/16294003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203624 0039d316-1c4b-4281-b951-d872f2087c98
* content: Move two more url constants into content namespace.tfarina@chromium.org2013-05-151-1/+1
| | | | | | | | TBR=joi@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/14698018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200165 0039d316-1c4b-4281-b951-d872f2087c98
* [cleanup] STLDeleteContainerPointers->ScopedVectorgroby@chromium.org2013-05-142-3/+2
| | | | | | | | | R=sky@chromium.org BUG=none Review URL: https://chromiumcodereview.appspot.com/14701015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199927 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded base/file_util.h includes in content.thestig@chromium.org2013-05-141-1/+0
| | | | | | Review URL: https://chromiumcodereview.appspot.com/14606009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199918 0039d316-1c4b-4281-b951-d872f2087c98
* Removed static factories for data, ftp, file, and about jobs.pauljensen@chromium.org2013-05-081-0/+4
| | | | | | | | | | | | | | | | | Instead add corresponding ProtocolHandlers as needed. Remove URLRequestContext members used by these static factories. Bake FtpAuthCache into FtpProtocolHandler as it was already unique per FtpProtocolHandler. This is a revived version of http://crrev.com/10836206 BUG=142945 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188912 Review URL: https://chromiumcodereview.appspot.com/11931024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198915 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 198844 "Move sequenced_task_runner to base/task"dbeam@chromium.org2013-05-081-1/+1
| | | | | | | | | | | | | | | | | Reverting revisions that rely on r198820 so to unbreak the build. > Move sequenced_task_runner to base/task > > BUG= > R=akalin@chromium.org > > Review URL: https://codereview.chromium.org/14927008 TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/14985007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198848 0039d316-1c4b-4281-b951-d872f2087c98
* Move sequenced_task_runner to base/taskbrettw@chromium.org2013-05-081-1/+1
| | | | | | | | | BUG= R=akalin@chromium.org Review URL: https://codereview.chromium.org/14927008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198844 0039d316-1c4b-4281-b951-d872f2087c98
* content: Use base::MessageLoop.xhwang@chromium.org2013-05-041-4/+3
| | | | | | | | | BUG=236029 R=avi@chromium.org Review URL: https://chromiumcodereview.appspot.com/14335017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198316 0039d316-1c4b-4281-b951-d872f2087c98
* content: Remove use of ALLOW_THIS_IN_INITIALIZER_LIST.scherkus@chromium.org2013-04-302-2/+2
| | | | | | | | | | | It's no longer providing value as the MSVC warning is disabled during compilation. Refer to bug for details. BUG=234765 R=jam@chromium.org Review URL: https://codereview.chromium.org/14386012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197206 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing iframe jank in the local omnibox popup.jered@chromium.org2013-04-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Previously we created and loaded a new iframe for each suggestion. Suggestion data was served from the renderer by rewriting chrome-search://suggestion to data: URLs. This turned out not to be performant and suffered from other issues like showing a load spinner. Instead, this change creates one set of iframes with the chrome-search origin and uses a controlling iframe to coordinate updating their DOMs with new suggestions. To preserve the chrome-search origin for all the communicating iframes, it no longer rewrites them as data: URLs and instead serves data from a URLDataSource in the browser. 2) For flicker free rendering, old suggestion iframes must be hidden in the same JS context as new ones are shown. Since postMessage() is async, this necessarily means we must render one set of suggestions while showing another (i.e. double buffer). This change modifies the local omnibox popup JS to do that. 3) Several styling and rendering issues are resolved, such as hover, resize and overflow behavior and positioning. I only tested LTR and not RTL, so this change may not address any LTR issues. TEST=Open an incognito window and start typing. Click on suggestions, arrow up/down, hover, and generally try to break things. BUG=223608 Review URL: https://codereview.chromium.org/13375003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196184 0039d316-1c4b-4281-b951-d872f2087c98
* Change signature of URLDataSource::StartDataRequest().jered@chromium.org2013-04-237-14/+40
| | | | | | | | | | | | | | | | | Previously StartDataRequest() included a bool is_incognito argument for a few data sources which needed to know that. In CL/13375003, this method also needs to know the requesting render process id and render view id. Since we can determine is_incognito from the process id, pass the ints down instead of the bools. This change populates the new params and updates all the affected callsites, but does not include any other logic from 13375003. BUG=223608 Review URL: https://chromiumcodereview.appspot.com/14039004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195932 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>.erg@chromium.org2013-04-171-2/+2
| | | | | | | | | | | In r174057, ajwong@ added support for implicit testing to scoped_ptr<>. Removes these in content/. BUG=232084 Review URL: https://codereview.chromium.org/14081010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194608 0039d316-1c4b-4281-b951-d872f2087c98
* Make URLDataSource::GetSource() const.jered@chromium.org2013-04-174-5/+5
| | | | | | | | | | | The method is logically const, all callers are already const, and I wanted to call this from a const method. BUG= Review URL: https://codereview.chromium.org/13945023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194605 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Return additional schemes vector as out parameter from ↵kinuko@chromium.org2013-04-171-3/+4
| | | | | | | | | | | | | | | | | GetAdditionalWebUISchemes Changing ContentBrowserClient::GetAdditionalAllowedSchemesForFileSystem() not to return std::vector<std::string> as return value (but as an out parameter) to follow the coding convention. A follow-up patch for https://chromiumcodereview.appspot.com/13415006 BUG=none TEST=no new tests as no behavioral changes Review URL: https://codereview.chromium.org/14200011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194519 0039d316-1c4b-4281-b951-d872f2087c98
* content: Move more constants into content namespace.tfarina@chromium.org2013-04-143-16/+16
| | | | | | | | R=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/13513004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194115 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some chrome-specific methods from content::WebUI.jam@chromium.org2013-04-122-37/+1
| | | | | | | | | HideFavicon wasn't used anymore. This is probably because now we show a search icon there. FocusLocationBarByDefault can just be implemented in Browser (like Instant). HideURL can just be implemented in ToolbarModelImpl (again, like Instant). Review URL: https://codereview.chromium.org/14080004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193998 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite std::string("") to std::string(), Linux edition.dcheng@chromium.org2013-04-091-1/+1
| | | | | | | | | | | | | | | | | | | This patch was generated by running the empty_string clang tool across the Chromium Linux compilation database. Implicitly or explicitly constructing std::string() with a "" argument is inefficient as the caller needs to emit extra instructions to pass an argument, and the constructor needlessly copies a byte into internal storage. Rewriting these instances to simply call the default constructor appears to save ~14-18 kilobytes on an optimized release build. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193020 Review URL: https://codereview.chromium.org/13145003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193040 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Rewrite std::string("") to std::string(), Linux edition."dcheng@chromium.org2013-04-091-1/+1
| | | | | | | | | | | | | | This reverts commit e59558b78e8c6a1b0bd916a724724b638c3c91b6. Revert "Fix build after r193020." This reverts commit 558a35897f6b3ffbcaefde927c1f150b815d140a. Revert "Really fix build after r193020." This reverts commit e3748a79b523a8d365d4a33ef986eebb4186fa78. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193030 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite std::string("") to std::string(), Linux edition.dcheng@chromium.org2013-04-091-1/+1
| | | | | | | | | | | | | | | | | This patch was generated by running the empty_string clang tool across the Chromium Linux compilation database. Implicitly or explicitly constructing std::string() with a "" argument is inefficient as the caller needs to emit extra instructions to pass an argument, and the constructor needlessly copies a byte into internal storage. Rewriting these instances to simply call the default constructor appears to save ~14-18 kilobytes on an optimized release build. BUG=none Review URL: https://codereview.chromium.org/13145003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193020 0039d316-1c4b-4281-b951-d872f2087c98
* Stub out chrome://indexeddb-internalsalecflett@chromium.org2013-04-081-0/+4
| | | | | | | | | | | This is the just the WebUI code necessary to show HTML at the chrome://indexeddb-internals URL. The page just says "Welcome" to start. BUG=174188 Review URL: https://chromiumcodereview.appspot.com/13230003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192926 0039d316-1c4b-4281-b951-d872f2087c98
* Hide ContentClient getters from embedders so that they they don't reuse ↵jam@chromium.org2013-04-051-7/+1
| | | | | | | | | content's embedder API. The main reasons are that it makes content's embedder interfaces harder to change if they're reused by the embedder, and that its makes it confusing for embedder code when there are multiple ways to do the same thing. BUG=227047 Review URL: https://codereview.chromium.org/13409003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192649 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: make WebUI's url request job AppCache-friendly.pfeldman@chromium.org2013-04-021-0/+6
| | | | | | | | WebUI should consistently return HTTP200 for its requests. Review URL: https://codereview.chromium.org/13144013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191798 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 188912 "Removed static factories for data, ftp, file, and..."kbr@chromium.org2013-03-191-4/+0
| | | | | | | | | | | | | | | | | | | | | Broke layout tests userscripts/user-script-plugin-document.html and plugins/plugin-document-back-forward.html on all platforms. > Removed static factories for data, ftp, file, and about jobs. > Instead add corresponding ProtocolHandlers as needed. > Remove URLRequestContext members used by these static > factories. Bake FtpAuthCache into FtpProtocolHandler as it > was already unique per FtpProtocolHandler. > This is a revived version of http://crrev.com/10836206 > > BUG=142945 > > > Review URL: https://chromiumcodereview.appspot.com/11931024 TBR=pauljensen@chromium.org Review URL: https://codereview.chromium.org/12605011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188927 0039d316-1c4b-4281-b951-d872f2087c98
* Removed static factories for data, ftp, file, and about jobs.pauljensen@chromium.org2013-03-191-0/+4
| | | | | | | | | | | | | | | Instead add corresponding ProtocolHandlers as needed. Remove URLRequestContext members used by these static factories. Bake FtpAuthCache into FtpProtocolHandler as it was already unique per FtpProtocolHandler. This is a revived version of http://crrev.com/10836206 BUG=142945 Review URL: https://chromiumcodereview.appspot.com/11931024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188912 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a chrome://accessibility page, which:aboxhall@chromium.org2013-03-121-1/+5
| | | | | | | | | | | | | Adds a toggle for global accessibility mode (on/off) For each renderer: - shows an accessibility mode toggle - if accessibility mode is On, shows a 'Show(/hide) accessibility tree' toggle, which shows(/hides) a text representation of the accessibility tree inline in the page. The accessibility tree may also be refreshed. BUG=178756 Review URL: https://chromiumcodereview.appspot.com/11791028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187417 0039d316-1c4b-4281-b951-d872f2087c98