Ccsilv@chromium.orgRevert 158707 - Enable by default:
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Android: generates JNI bindings for constructors in system classes. This allows to simplify some places such as surface_texture_bridge. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10968009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158249 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Cleanup the IPC param traits structure: -traits that are only used by chrome should be in chrome -traits that aren't used by chrome shouldn't be in content/public -use macros for serialization where possible -traits that are only used by one message file should just be listed in it -get rid of webkit_param_traits since it's not needed anymore. It was added as a hack to keep npchrome_frame.dll's size small by giving a hint to the MSVS linker, but now that there's more split between the message files because of the content split it's not necessary anymore. I've verified that npchrome_frame.dll's size (Release, non-component) size doesn't change. Review URL: https://codereview.chromium.org/10980010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158570 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Use a singleton 1x1 offscreen surface for all TextureImageTransportSurface instances. This is to reduce the number of dummy offscreen surfaces created for the purpose of making TextureImageTransportSurface current. BUG=NONE TEST=manually on daisy; verified that the dummy surface only gets allocated when first needed and destroyed when the last instance of TextureImageTrasnportSurface is destroyed. Review URL: https://chromiumcodereview.appspot.com/10984004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158512 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Cleanup the IPC param traits structure: -traits that are only used by chrome should be in chrome -traits that aren't used by chrome shouldn't be in content/public -use macros for serialization where possible -traits that are only used by one message file should just be listed in it -get rid of webkit_param_traits since it's not needed anymore. It was added as a hack to keep npchrome_frame.dll's size small by giving a hint to the MSVS linker, but now that there's more split between the message files because of the content split it's not necessary anymore. I've verified that npchrome_frame.dll's size (Release, non-component) size doesn't change. Review URL: https://codereview.chromium.org/10980010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158570 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Allow audio system to handle synchronized low-latency audio I/O As an important part of WebAudio/WebRTC integration, we need to be able to process and analyse live audio. This change adds the ability to our audio system for handling synchronized audio input and output in the same callback (same thread) which is important for good performance and low-latency. As a part of this change, the audio IPC system now takes an optional |input_channels| argument in the CreateStream() message and associated browser-side code in AudioRendererHost::OnCreateStream(), etc. |input_channels| will be 0 during normal operation of audio output (and no input). But when synchronized audio I/O is needed, then a non-zero value can be passed in here. The |params| passed in represents both the input and output format, particularly the frames_per_buffer() and sample_rate(). AudioRendererSink now has an new InitializeIO() method which will allow the use of synchronized I/O with the |input_channels| argument. AudioRendererSink::RenderCallback now has a new RenderIO() which will be called instead of Render() in the case where a non-zero value is passed in for |input_channels|. BUG=none TEST=none (manual testing on early Mac OS X and Windows audio back-ends) Review URL: https://chromiumcodereview.appspot.com/10830268 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156234 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move /seccompsandbox to /sandbox/linux/seccomp-legacy BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10792027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147179 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Create a LinuxSandbox class. The LinuxSandbox class aims to become the central place for Linux sandboxing inside content/. For now, this refactors mostly code from the Zygote. (Note: this is a re-land of https://chromiumcodereview.appspot.com/10826093/ with a trivial fix for ARM architectures). BUG= TBR=piman@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10843059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149734 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Refactor all accessibility code out of webkit/glue. Moves the data definitions into content/common and the serialization code into content/renderer. There are no code changes here, this is just a refactoring. BUG=132129 TEST=none Review URL: https://chromiumcodereview.appspot.com/10544099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141768 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add support for new accessibility roles from WebKit, with tests. These roles worked before, but the code is now cleaner because they directly correspond to a WebKit role, rather than requiring matching on the tag name: div, form, hr, label, p, presentational, spinbuttonpart These roles bring new support for roles that were not previously accessible: canvas, spinbutton, togglebutton. All of the interesting cases have new tests (content_browsertest target). BUG=145346,143689 Review URL: https://chromiumcodereview.appspot.com/10919157 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156272 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add support for new accessibility roles from WebKit, with tests. These roles worked before, but the code is now cleaner because they directly correspond to a WebKit role, rather than requiring matching on the tag name: div, form, hr, label, p, presentational, spinbuttonpart These roles bring new support for roles that were not previously accessible: canvas, spinbutton, togglebutton. All of the interesting cases have new tests (content_browsertest target). BUG=145346,143689 Review URL: https://chromiumcodereview.appspot.com/10919157 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156272 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
More groundwork for filestream based response storage. This CL touches many files, but it amounts to mindless plumbing of a group_id value. This doesn't involve any new database or fileio or task scheduling. In order to read or write a response, callers now need to provide the group_id of the corresponding manifest, so the AppCacheStorage CreateRepsonseReader() and CreateResponseWriter() methods now take this additional parameter. The current disk_cache based impl doesn't use this param for anything, but the filestream based impl will use it to keep responses for a group in a particular subdirectory. When looking up the main resource for a page load via FindResponseForMainRequest, the group_id needs to be returned so the response may later be read, the AppCacheStorage::Delegate OnMainResponseFound() method has a param for that. A bunch of callsites, tests, and mocks are updated accordingly. BUG=78359 Review URL: http://codereview.chromium.org/8343018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106755 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Cleanup the IPC param traits structure: -traits that are only used by chrome should be in chrome -traits that aren't used by chrome shouldn't be in content/public -use macros for serialization where possible -traits that are only used by one message file should just be listed in it -get rid of webkit_param_traits since it's not needed anymore. It was added as a hack to keep npchrome_frame.dll's size small by giving a hint to the MSVS linker, but now that there's more split between the message files because of the content split it's not necessary anymore. I've verified that npchrome_frame.dll's size (Release, non-component) size doesn't change. Review URL: https://codereview.chromium.org/10980010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158570 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add pickling traits for the WebFilterOperations class. This class will be part of the WebCompositorFrame class for transport under ubercompositor. R=piman,jam@chromium.org BUG=146080 Review URL: https://chromiumcodereview.appspot.com/10966050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158687 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add pickling traits for the WebFilterOperations class. This class will be part of the WebCompositorFrame class for transport under ubercompositor. R=piman,jam@chromium.org BUG=146080 Review URL: https://chromiumcodereview.appspot.com/10966050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158687 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
SampleSet -> HistogramSamples which can be reused by SparseHistogram BUG=139612 Review URL: https://chromiumcodereview.appspot.com/10829466 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158166 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
SampleSet -> HistogramSamples which can be reused by SparseHistogram BUG=139612 Review URL: https://chromiumcodereview.appspot.com/10829466 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158166 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Initialize StatisticsRecorder in Child Process to hold all histograms in child processes. Made StatisticsRecorder a leaky lazy singleton. R=jar@chromium.org, jam@chromium.org BUG=114013 TEST=renderer histograms should still work. Review URL: https://chromiumcodereview.appspot.com/10779040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147501 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Cleanup: Add a const variable for /proc/self/exe. Review URL: https://chromiumcodereview.appspot.com/10914279 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157001 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Support partitioning of storage contexts based on render_id. This modifies BrowserContext to support having multiple storage partitions based on the child process id. The embedder is given a function that allows it to map a child process id into different storage buckets. R=creis,nasko,jam TBR=marja BUG=85121 TEST=add an isolated app that covers a path like http://www.example.com/isolated/. On that page, add an entry to local storage. Access another page on www.example.com that is not isolated. Check that it cannot see the previously set entry. Repeat test in the reverse direction. Review URL: https://chromiumcodereview.appspot.com/10600009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146443 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
implement SetWatchEvent and WaitForEvent for trace-based-tests. Up until now, tracing-based tests have been required to either run a trace for some amount of time or use existing notification mechanisms to return control to the test. This change adds a 'watch event' feature to trace_event_impl which can be used by tests to wait for an event to occur. This mechanism could replace the use of test-only notifications which is frowned upon as well as mock classes for catching events. Trace events also have the huge advantage of working on all chrome processes as opposed to the browser-only notification service. BUG=139939 Review URL: https://chromiumcodereview.appspot.com/10837082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154552 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Create a LinuxSandbox class. The LinuxSandbox class aims to become the central place for Linux sandboxing inside content/. For now, this refactors mostly code from the Zygote. (Note: this is a re-land of https://chromiumcodereview.appspot.com/10826093/ with a trivial fix for ARM architectures). BUG= TBR=piman@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10843059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149734 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Create a LinuxSandbox class. The LinuxSandbox class aims to become the central place for Linux sandboxing inside content/. For now, this refactors mostly code from the Zygote. (Note: this is a re-land of https://chromiumcodereview.appspot.com/10826093/ with a trivial fix for ARM architectures). BUG= TBR=piman@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10843059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149734 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Ensure we don't have zombie child processes that get started but never get a chance to connect to the browser process. Since they never connected, they will never have an OnChannelError and so they don't get destroyed. This was causing the sharding_supervisor script to hang on Linux since there were child processes that didn't exit. It looks like there are race conditions in some tests where child processes start but the browser closes before they can connect. Probably we only see this on Linux because it's faster than other platforms or the shutdown timing is different. BUG=140054 Review URL: https://chromiumcodereview.appspot.com/10855013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150278 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Ensure we don't have zombie child processes that get started but never get a chance to connect to the browser process. Since they never connected, they will never have an OnChannelError and so they don't get destroyed. This was causing the sharding_supervisor script to hang on Linux since there were child processes that didn't exit. It looks like there are race conditions in some tests where child processes start but the browser closes before they can connect. Probably we only see this on Linux because it's faster than other platforms or the shutdown timing is different. BUG=140054 Review URL: https://chromiumcodereview.appspot.com/10855013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150278 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
implement SetWatchEvent and WaitForEvent for trace-based-tests. Up until now, tracing-based tests have been required to either run a trace for some amount of time or use existing notification mechanisms to return control to the test. This change adds a 'watch event' feature to trace_event_impl which can be used by tests to wait for an event to occur. This mechanism could replace the use of test-only notifications which is frowned upon as well as mock classes for catching events. Trace events also have the huge advantage of working on all chrome processes as opposed to the browser-only notification service. BUG=139939 Review URL: https://chromiumcodereview.appspot.com/10837082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154552 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
implement SetWatchEvent and WaitForEvent for trace-based-tests. Up until now, tracing-based tests have been required to either run a trace for some amount of time or use existing notification mechanisms to return control to the test. This change adds a 'watch event' feature to trace_event_impl which can be used by tests to wait for an event to occur. This mechanism could replace the use of test-only notifications which is frowned upon as well as mock classes for catching events. Trace events also have the huge advantage of working on all chrome processes as opposed to the browser-only notification service. BUG=139939 Review URL: https://chromiumcodereview.appspot.com/10837082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154552 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Refactor Pickle Read methods to use higher performance PickleIterator. There was a lot of redundant error checking and initialization code in all Pickle Read methods because of the void** iterator type. This change replaces the void* iterator with PickleIterator, which encapsulates the read pointer so that less error checking and initialization code is needed for reading. PickleIterator has all the necessary data to do the actual reading. The advantage of having it provide Read methods (as opposed to leaving them solely in the Pickle interface) is that the callers do not need to pass around the const Pickle* once they have a PickleIterator. Followup CLs will refactor the call sites to remove const Pickle* arguments where they are now unnecessary. Then the Pickle::Read* methods can be removed entirely. The alternative approach would have been to change the Pickle::Read methods to non-const and remove the iterator parameter (making Read methods advance an internal read pointer). Unfortunately, the const Read with iterator design is entrenched throughout the chromium code, making this a much more complex change with the same performance outcome. BUG=13108 Review URL: https://chromiumcodereview.appspot.com/9447084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125447 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Added RTF support to pepper API. BUG=120435 TEST=out/Release/browser_tests --gtest_filter=*PPAPITest.*Clipboard* Review URL: http://codereview.chromium.org/9921018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130223 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
mac: Remove code that was only needed on 10.5 BUG=137676 TEST=none Review URL: https://chromiumcodereview.appspot.com/10807052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147738 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Revert 158707 - Enable by default: 1. threaded compositing on windows (except XP) 2. force compositing mode on mac On linux we switch to a 1/3 1/3 fcm and thread experiments . This patch also gives priority to the command line switches so that both threaded and force compositing mode can be turned off via the about:flags page or command line. In the near future, we will use the Finch framework to tweak the experiment percentages. Note: This patch has a dependency on: https://bugs.webkit.org/show_bug.cgi?id=96871 It also disables ExtensionApiTest.CaptureVisibleTabJPeg as it triggers flakiness on it. chrome.tabs.captureVisibleTab is inherently racy as there is no way to guarantee that the tab has been painted at least once when that call is made. Note how the other variants of CaptureVisibleTab tests have already been disabled for similar reasons. BUG=143809,128387,146861 Review URL: https://chromiumcodereview.appspot.com/10914247 Reverted due to failures on Mac bots: http://build.chromium.org/p/chromium.mac/builders/Mac10.6%20Tests%20%281%29/builds/29446/steps/interactive_ui_tests/logs/AutoResize http://build.chromium.org/p/chromium.mac/builders/Mac10.7%20Tests%20%281%29/builds/2143/steps/interactive_ui_tests/logs/TightAutosizeAroundSingleLine http://build.chromium.org/p/chromium.mac/builders/Mac%2010.6%20Tests%20%28dbg%29%283%29/builds/26358/steps/interactive_ui_tests/logs/TightAutosizeAroundSingleLine http://build.chromium.org/p/chromium.mac/builders/Mac%2010.7%20Tests%20%28dbg%29%283%29/builds/1804/steps/interactive_ui_tests/logs/TightAutosizeAroundSingleLine TBR=vangelis@chromium.org Review URL: https://codereview.chromium.org/10991032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158711 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Support frame tree propagation between renderers in the same browsing instance. BUG=128767 TEST= Review URL: https://chromiumcodereview.appspot.com/10827078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153710 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Support frame tree propagation between renderers in the same browsing instance. BUG=128767 TEST= Review URL: https://chromiumcodereview.appspot.com/10827078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153710 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
fix win_aura TBR=akalin Review URL: https://chromiumcodereview.appspot.com/9620018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125453 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Cleanup the IPC param traits structure: -traits that are only used by chrome should be in chrome -traits that aren't used by chrome shouldn't be in content/public -use macros for serialization where possible -traits that are only used by one message file should just be listed in it -get rid of webkit_param_traits since it's not needed anymore. It was added as a hack to keep npchrome_frame.dll's size small by giving a hint to the MSVS linker, but now that there's more split between the message files because of the content split it's not necessary anymore. I've verified that npchrome_frame.dll's size (Release, non-component) size doesn't change. Review URL: https://codereview.chromium.org/10980010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158570 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Cleanup the IPC param traits structure: -traits that are only used by chrome should be in chrome -traits that aren't used by chrome shouldn't be in content/public -use macros for serialization where possible -traits that are only used by one message file should just be listed in it -get rid of webkit_param_traits since it's not needed anymore. It was added as a hack to keep npchrome_frame.dll's size small by giving a hint to the MSVS linker, but now that there's more split between the message files because of the content split it's not necessary anymore. I've verified that npchrome_frame.dll's size (Release, non-component) size doesn't change. Review URL: https://codereview.chromium.org/10980010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158570 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Cleanup the IPC param traits structure: -traits that are only used by chrome should be in chrome -traits that aren't used by chrome shouldn't be in content/public -use macros for serialization where possible -traits that are only used by one message file should just be listed in it -get rid of webkit_param_traits since it's not needed anymore. It was added as a hack to keep npchrome_frame.dll's size small by giving a hint to the MSVS linker, but now that there's more split between the message files because of the content split it's not necessary anymore. I've verified that npchrome_frame.dll's size (Release, non-component) size doesn't change. Review URL: https://codereview.chromium.org/10980010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158570 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Cleanup the IPC param traits structure: -traits that are only used by chrome should be in chrome -traits that aren't used by chrome shouldn't be in content/public -use macros for serialization where possible -traits that are only used by one message file should just be listed in it -get rid of webkit_param_traits since it's not needed anymore. It was added as a hack to keep npchrome_frame.dll's size small by giving a hint to the MSVS linker, but now that there's more split between the message files because of the content split it's not necessary anymore. I've verified that npchrome_frame.dll's size (Release, non-component) size doesn't change. Review URL: https://codereview.chromium.org/10980010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158570 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Swap fallback order to search LayoutTests directory Some old trybots have invalid WebKit/LayoutTests directory which is not up to date. If the query function found the invalid old directory, all layout tests fail as a result. Also Some developers have an old LayoutTests directory because they follow a wiki instruction and disable syncing it for speed-up. Essentially, fallback order is not a problem, but reversed order must be safer than current order and save developers from in stuck of useless trouble. BUG=107836, 105104 TEST=browser_tests; ui_tests Review URL: http://codereview.chromium.org/9186033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129815 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Nuke from orbit corrupt websql databases. BUG=98939 Review URL: https://chromiumcodereview.appspot.com/9371008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122651 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Update includes to new header locations TBR=darin Review URL: http://codereview.chromium.org/8788003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112825 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Update includes to new header locations TBR=darin Review URL: http://codereview.chromium.org/8788003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112825 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move the ProcessType enum out to its own file. This is in preparation for getting rid of ChildProcessInfo. BUG=98716 Review URL: http://codereview.chromium.org/8760011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112353 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move the struct used when showing a desktop notification to content/public/common, so that chrome code doesn't include desktop_notification_messages.h which is an internal detail of content. BUG=98716 Review URL: http://codereview.chromium.org/8511075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109757 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Implements part of DeviceMotion in the browser This adds the motion message filter, motion ipc messages, and related motion files. This was originally part of a larger patch (http://codereview.chromium.org/10698046/). BUG=59201 Review URL: https://chromiumcodereview.appspot.com/10823310 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151908 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Moves device_orientation to content namespace Code in content/ should be in the content namespace. TBR=jam BUG=none Review URL: https://chromiumcodereview.appspot.com/10823318 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151684 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Allow platform apps to open links in the browser. Triggered via <a href="..." target="_blank"> or window.open('...'). R=miket@chromium.org BUG=130213 Review URL: https://chromiumcodereview.appspot.com/10534147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142292 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix the DomStorage is "wicked slow" bug by adding a renderer side cache and using a predominantly async IPC message protocol. - use DomStorageCachedArea + DomStorageProxy - an ipc message throttling mechanism to defend against misbehaving usage - less chatty storage event propagation - diable sudden termination when domstorage messages are pending to allow changes to be flushed thru to the backend on page unload - deleted the obsolete sync message types and handlers BUG=94382,128482 Review URL: https://chromiumcodereview.appspot.com/10383123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139602 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Generate param traits even when shared by mutliple message files. Review URL: https://chromiumcodereview.appspot.com/10577040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144082 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Deprecate FileUtilities::getFileSize and getFileModifiedTime as they are no longer used in WebKit. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10453037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139542 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
android content shell bringup. Starting classes for content view, content view client. Includes some relevant deps needed to build or pass a sanity check. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10536066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142309 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
fix GDI usage errors: + use ReleaseDC to free DC obtained via GetDC + de-select font object prior to deleting it R=arthurhsu@chromium.org BUG=119534 TEST=Dr. Memory no longer reports errors in font_cache_dispatcher_win.cc Review URL: http://codereview.chromium.org/9834032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128576 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Made result_filefaceid output optional in FontConfigIPC::Match. There are cases when we are only interested in result_family. BUG=142421 Review URL: https://chromiumcodereview.appspot.com/10836242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152247 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move font_list_async.h to content/public. Switch to Pass() goodness to simplify code. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9500008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124224 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Move font_list_async.h to content/public. Switch to Pass() goodness to simplify code. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9500008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124224 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Move font_list_async.h to content/public. Switch to Pass() goodness to simplify code. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9500008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124224 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Move font_list_async.h to content/public. Switch to Pass() goodness to simplify code. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9500008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124224 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Move font_list_async.h to content/public. Switch to Pass() goodness to simplify code. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9500008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124224 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Implement the gamepad API in the IPC proxy This does some reworking of the gamepad system to make it possible to hook in (previously it assumed that it was only talking to renderers) and I did some cleanup. Gamepad files were renamed to match the classes, and I did a bunch of test infrastructure work. IMPORTANT BEHAVIOR CHANGE: This changes the Web gamepad API to report all gamepad data as soon as any of them are interacted with. This is what we need to do for Pepper anyway (since it gets all or none of the share memory) and I think makes more sense for most consumers anyway. I separated out the user gesture detection code into a place where it can be used in the browser process as well, and exposed functionality in the gamepad provider to be notified when a user gesture happens. The existing gamepad test was disabled and had bitrotted. This fixes it. Review URL: https://chromiumcodereview.appspot.com/10912062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155676 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Define/update structure and gamepad messages between renderer and browser. Not in use yet, part of larger patch here: http://codereview.chromium.org/8345027/ (WebKit must be rolled past r100306). BUG=79050 Review URL: http://codereview.chromium.org/8570018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110519 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Revert 146792 - Lock-free GamepadSeqLock (try 2) [Reverted due to crashing in ChromeBot with following stack: content::internal::GamepadSeqLockBase::ReadTo+0x1a content::GamepadSharedMemoryReader::SampleGamepads+0xaa RendererWebKitPlatformSupportImpl::sampleGamepads+0x57 WebCore::sampleGamepads+0x3f WebCore::NavigatorGamepad::gamepads+0x71 WebCore::NavigatorV8Internal::webkitGamepadsAttrGetter+0x45 v8::internal::JSObject::GetPropertyWithCallback+0x252] The change - provides an improved lock-free SeqLock implementation which eliminates any potential blocking of readers. - provides a higher-level and simpler API as was suggested by Darin. - ThreadSanitizer report suppressions are replaced with correct synchronization. - eliminates nasty kMaximumContentionCount and associated histogram. Oritignal review URL: http://codereview.chromium.org/8772004 TBR=darin@chromium.org Review URL: https://chromiumcodereview.appspot.com/10704041 TBR=dvyukov@chromium.org Review URL: https://chromiumcodereview.appspot.com/10785024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146896 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Revert 146792 - Lock-free GamepadSeqLock (try 2) [Reverted due to crashing in ChromeBot with following stack: content::internal::GamepadSeqLockBase::ReadTo+0x1a content::GamepadSharedMemoryReader::SampleGamepads+0xaa RendererWebKitPlatformSupportImpl::sampleGamepads+0x57 WebCore::sampleGamepads+0x3f WebCore::NavigatorGamepad::gamepads+0x71 WebCore::NavigatorV8Internal::webkitGamepadsAttrGetter+0x45 v8::internal::JSObject::GetPropertyWithCallback+0x252] The change - provides an improved lock-free SeqLock implementation which eliminates any potential blocking of readers. - provides a higher-level and simpler API as was suggested by Darin. - ThreadSanitizer report suppressions are replaced with correct synchronization. - eliminates nasty kMaximumContentionCount and associated histogram. Oritignal review URL: http://codereview.chromium.org/8772004 TBR=darin@chromium.org Review URL: https://chromiumcodereview.appspot.com/10704041 TBR=dvyukov@chromium.org Review URL: https://chromiumcodereview.appspot.com/10785024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146896 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Revert 146792 - Lock-free GamepadSeqLock (try 2) [Reverted due to crashing in ChromeBot with following stack: content::internal::GamepadSeqLockBase::ReadTo+0x1a content::GamepadSharedMemoryReader::SampleGamepads+0xaa RendererWebKitPlatformSupportImpl::sampleGamepads+0x57 WebCore::sampleGamepads+0x3f WebCore::NavigatorGamepad::gamepads+0x71 WebCore::NavigatorV8Internal::webkitGamepadsAttrGetter+0x45 v8::internal::JSObject::GetPropertyWithCallback+0x252] The change - provides an improved lock-free SeqLock implementation which eliminates any potential blocking of readers. - provides a higher-level and simpler API as was suggested by Darin. - ThreadSanitizer report suppressions are replaced with correct synchronization. - eliminates nasty kMaximumContentionCount and associated histogram. Oritignal review URL: http://codereview.chromium.org/8772004 TBR=darin@chromium.org Review URL: https://chromiumcodereview.appspot.com/10704041 TBR=dvyukov@chromium.org Review URL: https://chromiumcodereview.appspot.com/10785024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146896 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implement the gamepad API in the IPC proxy This does some reworking of the gamepad system to make it possible to hook in (previously it assumed that it was only talking to renderers) and I did some cleanup. Gamepad files were renamed to match the classes, and I did a bunch of test infrastructure work. IMPORTANT BEHAVIOR CHANGE: This changes the Web gamepad API to report all gamepad data as soon as any of them are interacted with. This is what we need to do for Pepper anyway (since it gets all or none of the share memory) and I think makes more sense for most consumers anyway. I separated out the user gesture detection code into a place where it can be used in the browser process as well, and exposed functionality in the gamepad provider to be notified when a user gesture happens. The existing gamepad test was disabled and had bitrotted. This fixes it. Review URL: https://chromiumcodereview.appspot.com/10912062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155676 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implement the gamepad API in the IPC proxy This does some reworking of the gamepad system to make it possible to hook in (previously it assumed that it was only talking to renderers) and I did some cleanup. Gamepad files were renamed to match the classes, and I did a bunch of test infrastructure work. IMPORTANT BEHAVIOR CHANGE: This changes the Web gamepad API to report all gamepad data as soon as any of them are interacted with. This is what we need to do for Pepper anyway (since it gets all or none of the share memory) and I think makes more sense for most consumers anyway. I separated out the user gesture detection code into a place where it can be used in the browser process as well, and exposed functionality in the gamepad provider to be notified when a user gesture happens. The existing gamepad test was disabled and had bitrotted. This fixes it. Review URL: https://chromiumcodereview.appspot.com/10912062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155676 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Make the Geoposition helper struct public This CL moves the Geoposition struct from content/common to public/content/common.h so that it can be shared by content and browser. The struct is placed in the |content| namespace and as required by the style guide, all methods except the constructor and Validate() are removed. This paves the way for a follow-up CL in which the content will provide geolocation information to the browser. BUG=chromium-os:22036 TEST=Chrome and tests build, run Review URL: http://codereview.chromium.org/10316007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134989 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move the Windows sandbox to sandbox/win This is a rather large refactor to move the Windows sandbox to the right place. BUG= TEST= NOTRY=true TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10689170 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147151 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move handle dumpage to the renderer process (so that it works correctly) and move handle enumerator into common. BUG=96488 TEST=N/A Review URL: http://codereview.chromium.org/7888024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102004 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
In-te-grate hy-phen-ator to con-tent. This change integrates the Hyphenator class to content so Chrome can use it. This change basically consists of two parts: * Adds a couple of IPC messages so a renderer asks a browser to open hyphenation dictionaries; * Adds a HyphenatorMessageFilter class, which opens hyphenation dictionaries in a browser process; * Changes the Hyphenator class to send IPC messages to open hyphenation dictionaries. BUG=47083 TEST=HyphenatorTest.SetDictionary,HyphenatorMessageFilterTest.OpenDictionary Review URL: https://chromiumcodereview.appspot.com/10854245 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154663 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Make isolated file system works for a device root (e.g. X:\\) * directory drag-and-drop should work for a USB drive etc * Media device intent should work on Windows BUG=134828,135010 TEST=manually tested TEST=IsolatedContext\* Review URL: https://chromiumcodereview.appspot.com/10713007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145862 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Use a monotonic clock (TimeTicks) to report network times to WebCore. Navigation Timing (window.performance.timing) is now spec'd to use monotonically increasing time, so we need to follow suit. Most of this CL is just plumbing TimeTicks through. We already use TimeTicks to implement monotonicallyIncreasingTime() in WebCore. On Windows, the clock doesn't tick uniformly between processes, so there is a layer in content that corrects for skew. BUG=None TEST=Adhoc (ran webtiming-* LayoutTests from Chrome) and content_unittests Review URL: http://codereview.chromium.org/7602023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114736 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Build fix for 114736. Add missing exports. BUG=None TEST=Build shared. TBR=kbr Review URL: http://codereview.chromium.org/8972008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114745 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Use a monotonic clock (TimeTicks) to report network times to WebCore. Navigation Timing (window.performance.timing) is now spec'd to use monotonically increasing time, so we need to follow suit. Most of this CL is just plumbing TimeTicks through. We already use TimeTicks to implement monotonicallyIncreasingTime() in WebCore. On Windows, the clock doesn't tick uniformly between processes, so there is a layer in content that corrects for skew. BUG=None TEST=Adhoc (ran webtiming-* LayoutTests from Chrome) and content_unittests Review URL: http://codereview.chromium.org/7602023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114736 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Cleanup the IPC param traits structure: -traits that are only used by chrome should be in chrome -traits that aren't used by chrome shouldn't be in content/public -use macros for serialization where possible -traits that are only used by one message file should just be listed in it -get rid of webkit_param_traits since it's not needed anymore. It was added as a hack to keep npchrome_frame.dll's size small by giving a hint to the MSVS linker, but now that there's more split between the message files because of the content split it's not necessary anymore. I've verified that npchrome_frame.dll's size (Release, non-component) size doesn't change. Review URL: https://codereview.chromium.org/10980010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158570 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Use IPC::Sender and IPC::Listener in content. This replaces uses of IPC::Message::Sender with IPC::Sender and IPC::Channel::Listener with IPC::Listener. I also fixed up header files where it was obvious. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10662005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143920 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move common_param_traits and webkit_param_traits to content/public/common. 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 | 14 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Retry channel setup for NPAPI plugins. For the referenced bugs, assume that an undiscovered Mr X is closing the channels, but that the closing is not 100% persistent. So retry the setup. For cases where everything works, this is a non-event, the first time through will get the channel. It only kicks in for cases where the plugin is either going to show a failure infobar, or would previously have crashed (the 97285 case). So this doesn't seem like it has a strong downside. BUG=97285,141055 Review URL: https://chromiumcodereview.appspot.com/10824388 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152730 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Use IPC::Sender and IPC::Listener in content. This replaces uses of IPC::Message::Sender with IPC::Sender and IPC::Channel::Listener with IPC::Listener. I also fixed up header files where it was obvious. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10662005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143920 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Use IPC::Sender and IPC::Listener in content. This replaces uses of IPC::Message::Sender with IPC::Sender and IPC::Channel::Listener with IPC::Listener. I also fixed up header files where it was obvious. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10662005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143920 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Modify NPObjectStub::OnSetProperty() to get the plugin path from the command line directly This avoids the need for NPObjectStub to use PluginThread::plugin_path() and allows us to remove the content/plugin/ include from npobject_stub.cc. We can also remove PluginThread::plugin_path(). Refactoring only, no functional change. BUG=96703 Review URL: http://codereview.chromium.org/7982026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102145 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Browser Plugin: Rename BrowserPluginMsg/BrowserPluginHostMsg to OldBrowserPluginMsg/OldBrowserPluginHostMsg The upcoming rewrite of the browser plugin has colliding names for IPC messages. Rename existing messages to Old in preparation for the new implementation. BUG=none Review URL: https://chromiumcodereview.appspot.com/10829074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149116 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Refactor the P2PSocketDispatcher to be created on the RenderThread instead of the RenderView. Removes the use of routing_id. The reason for this refactoring is that we want to be able to create a PeerConnection on the RenderThread instead of the RenderView. PeerConnection is dependent on the P2PSocketDispatcher. PeerConnections are created in renderer_webkitplatformsupport_impl and should not be affilitated with a render view. https://chromiumcodereview.appspot.com/10703095/diff/13017/content/renderer/renderer_webkitplatformsupport_impl.cc BUG= Review URL: https://chromiumcodereview.appspot.com/10917167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156274 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move P2P code to content namespace. BUG=None TEST=Compiles Review URL: http://codereview.chromium.org/7715020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98294 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Declare some zoom constants in the headers so we don't have to duplicate the values in plugins. BUG=107063 TEST=none Review URL: http://codereview.chromium.org/8926001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114586 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Page zoom improvements: 1. Change from using zoom levels to a range of preset zoom factors (percentages). Zoom levels are the values that WebKit uses for page zoom. While zoom levels are simple to implement, they result in undesirable percentages like 57%, 144%, 207%, etc. Changing to zoom factors gives us user-friendly zoom percentages. 2. Increase the range of supported zoom values. A user can now zoom between 25% to 500%. 3. Use an epsilon value when comparing zoom floating point values. The previous version was doing an equality comparison of double values which may not always work as expected. BUG=71484 TEST=Exercise zoom in/out via the wrench menu; exercise default page zoom setting in options window Review URL: http://codereview.chromium.org/8528011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111087 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Add PP_FlashLSORestrictions to the list of settings supported by the Flash_GetSetting Pepper API. BUG=132410 Review URL: https://chromiumcodereview.appspot.com/10831045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149711 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add some logging to debug PPAPI permissions. Somehow these aren't getting set properly for the bundled Flash case. The code path we take to get them is pretty long, so this patch adds some temporary logging to try to see wher they're lost. BUG=147507 Review URL: https://codereview.chromium.org/10917160 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157040 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Get the path of the plugin interposing library from the embedder, since they're the ones who bundle it. Make content still work without it. This allows plugins to work inside content_shell. BUG=90448 Review URL: https://chromiumcodereview.appspot.com/10806075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147965 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Get the path of the plugin interposing library from the embedder, since they're the ones who bundle it. Make content still work without it. This allows plugins to work inside content_shell. BUG=90448 Review URL: https://chromiumcodereview.appspot.com/10806075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147965 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Cleanup the IPC param traits structure: -traits that are only used by chrome should be in chrome -traits that aren't used by chrome shouldn't be in content/public -use macros for serialization where possible -traits that are only used by one message file should just be listed in it -get rid of webkit_param_traits since it's not needed anymore. It was added as a hack to keep npchrome_frame.dll's size small by giving a hint to the MSVS linker, but now that there's more split between the message files because of the content split it's not necessary anymore. I've verified that npchrome_frame.dll's size (Release, non-component) size doesn't change. Review URL: https://codereview.chromium.org/10980010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158570 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move GetProcessTypeNameInEnglish beside the ProcessType enum where it belongs. This also helps reduce the dependencies on child_process_info.h from chrome, in preparation for removing the class altogether. BUG=98716 Review URL: http://codereview.chromium.org/8757014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112408 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Cleanup: Make quota dispatcher code independent from WebKit types Preparing for pepper quota support. Also adding NotifyStorageModified IPC method, which is intended to be used by pepper FileIO code. BUG=for 86556 TEST=existing tests should pass Review URL: http://codereview.chromium.org/7438001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94638 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Use IPC::Sender and IPC::Listener in content. This replaces uses of IPC::Message::Sender with IPC::Sender and IPC::Channel::Listener with IPC::Listener. I also fixed up header files where it was obvious. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10662005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143920 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add support for exporting IPC messages from component DLLs. 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 | 14 年前 | |
PPAPI (Flash): Properly honor Pepper url requests with custom user agents. BUG=134615 TEST=With suitably recent Flapper: http://10tv.nana10.co.il/ streams properly (see bug for appropriate things to click). Review URL: https://chromiumcodereview.appspot.com/10780019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147060 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
PPAPI (Flash): Properly honor Pepper url requests with custom user agents. BUG=134615 TEST=With suitably recent Flapper: http://10tv.nana10.co.il/ streams properly (see bug for appropriate things to click). Review URL: https://chromiumcodereview.appspot.com/10780019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147060 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Modify AsyncResourceHandler to use a single shared memory buffer (in ring buffer fashion) for transmitting resource response data to the renderer. Review URL: https://codereview.chromium.org/10911297 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157310 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Modify AsyncResourceHandler to use a single shared memory buffer (in ring buffer fashion) for transmitting resource response data to the renderer. Review URL: https://codereview.chromium.org/10911297 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157310 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Modify AsyncResourceHandler to use a single shared memory buffer (in ring buffer fashion) for transmitting resource response data to the renderer. Review URL: https://codereview.chromium.org/10911297 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157310 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Cleanup the IPC param traits structure: -traits that are only used by chrome should be in chrome -traits that aren't used by chrome shouldn't be in content/public -use macros for serialization where possible -traits that are only used by one message file should just be listed in it -get rid of webkit_param_traits since it's not needed anymore. It was added as a hack to keep npchrome_frame.dll's size small by giving a hint to the MSVS linker, but now that there's more split between the message files because of the content split it's not necessary anymore. I've verified that npchrome_frame.dll's size (Release, non-component) size doesn't change. Review URL: https://codereview.chromium.org/10980010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158570 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Cleanup the IPC param traits structure: -traits that are only used by chrome should be in chrome -traits that aren't used by chrome shouldn't be in content/public -use macros for serialization where possible -traits that are only used by one message file should just be listed in it -get rid of webkit_param_traits since it's not needed anymore. It was added as a hack to keep npchrome_frame.dll's size small by giving a hint to the MSVS linker, but now that there's more split between the message files because of the content split it's not necessary anymore. I've verified that npchrome_frame.dll's size (Release, non-component) size doesn't change. Review URL: https://codereview.chromium.org/10980010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158570 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Linux: add a seccomp-bpf sandbox for renderers Renderers are now sandboxed under seccomp-bpf. We also make seccomp-bpf the default sandbox, even when seccomp-legacy is enabled (which is the case in Debug builds). BUG=145327 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10885021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154054 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Load mac sandbox definitions from resources instead of the bundle. Also, move all mac sandbox unittests to content BUG=90443 TEST=content_unittests Review URL: http://codereview.chromium.org/8589001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111614 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move the Windows sandbox to sandbox/win This is a rather large refactor to move the Windows sandbox to the right place. BUG= TEST= NOTRY=true TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10689170 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147151 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Linux: add a seccomp-bpf sandbox for renderers Renderers are now sandboxed under seccomp-bpf. We also make seccomp-bpf the default sandbox, even when seccomp-legacy is enabled (which is the case in Debug builds). BUG=145327 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10885021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154054 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Correct style issues in Linux sandbox code. NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10818015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152123 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
mac: Remove more 10.5-only code BUG=137676 TBR=jamiewalch,tony Review URL: https://chromiumcodereview.appspot.com/10825302 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151142 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
mac: Make the (10.6-only) sandbox hole for the components build smaller Part 2/2 of the changes requested by jeremy at https://chromiumcodereview.appspot.com/10389047 Previously, the components build added (allow file-read-metadata) to the sandbox on 10.6. With this patch, only all parent directories of the bundle executable get this exception. BUG=127465 TEST=component build still runs Review URL: https://chromiumcodereview.appspot.com/10539009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141020 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Mac: OOP font loading should run on FILE thread. FontLoader calls file_util::GetFileSize() and file_util::ReadFile(), which should be called from the file thread, but FontLoader runs on the io thread now. Make it run on the file thread. BUG=108645 TEST=none Review URL: http://codereview.chromium.org/9950141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131324 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Allow /dev/urandom from ppapi sandbox. Bits of Adobe Flash wish to read urandom directly rather than re-using our cached file descriptor. BUG=none TEST=no user-visible changes at this time. Review URL: https://chromiumcodereview.appspot.com/10695185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146879 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Load mac sandbox definitions from resources instead of the bundle. Also, move all mac sandbox unittests to content BUG=90443 TEST=content_unittests Review URL: http://codereview.chromium.org/8589001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111614 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Enable more mitigations The first patch matched our previous mitigations. This adds new ones. BUG=147752 Review URL: https://chromiumcodereview.appspot.com/10913305 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158124 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Disable the seccomp-bpf sandbox on ARM temporarily. BUG=148856 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10917249 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156904 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Create a class for seccomp-bpf sandboxing in content. This adds a SandboxSeccompBpf class to centralize Seccomp BPF sandbox policies inside of content/ LinuxSandbox is the only user of this class and Linux sandboxing is now fully unified through LinuxSandbox. BUG= NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10843042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149738 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move RegisterContentSchemes from public url_constants into non-public url_schemes. The VC++ linker can only discard whole .obj files that aren't used. setup.exe and npchrome_frame.dll pull in constants from url_constants.cc. http://crrev.com/133107 put RegisterContentSchemes into that file. This function's use of ContentClient causes all of WebKit and V8 to be pulled into setup.exe and npchrome_frame.dll. This change here moves RegisterContentSchemes into its own .cc file to get around link.exe's .obj-level code omission policy. This is a hack, and I feel shame for committing it. In the long run, we need a way to prevent changes that lead to a 6x increase in the size of the binaries spat out by the official builders. One could imagine this being done by a stage in a try run that goes red, or some build-time enforcement. Perhaps the constants should even go in their own target so that consumers of nothing but constants don't accidentally get content's transient dependencies. BUG=127564 TEST=none Review URL: https://chromiumcodereview.appspot.com/10383298 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139253 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Create a LinuxSandbox class. The LinuxSandbox class aims to become the central place for Linux sandboxing inside content/. For now, this refactors mostly code from the Zygote. (Note: this is a re-land of https://chromiumcodereview.appspot.com/10826093/ with a trivial fix for ARM architectures). BUG= TBR=piman@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10843059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149734 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Cleanup: Add a const variable for /proc/self/exe. Review URL: https://chromiumcodereview.appspot.com/10914279 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157001 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Basic scaffolding for a "content shell", i.e. test browser over the content module. Once it's working, this will allow developers working on the core chrome code/web platform/networking etc to test their changes on a much smaller and hence faster to build/run/debug browser. This doesn't do anything yet because it's blocked on having TabContentsView implementations in content. BUG=90445 Review URL: http://codereview.chromium.org/7857019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100778 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Basic scaffolding for a "content shell", i.e. test browser over the content module. Once it's working, this will allow developers working on the core chrome code/web platform/networking etc to test their changes on a much smaller and hence faster to build/run/debug browser. This doesn't do anything yet because it's blocked on having TabContentsView implementations in content. BUG=90445 Review URL: http://codereview.chromium.org/7857019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100778 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Bind RenderViewImpl routing_id to SocketStreamHost - Set RenderViewImpl's routing_id to WebSocketStresmHandleImpl via dispatchWillOpenSocketStream() - Send the id from WebSocketStreamHandleImpl to SocketStreamHost via IPC SocketStreamHostMsg_Connect This change aim that SocketStreamDispatcher uses SSLManager with routing_id to handle SSL errors. BUG=53836 TEST=none Review URL: http://codereview.chromium.org/9677031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127964 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Bind RenderViewImpl routing_id to SocketStreamHost - Set RenderViewImpl's routing_id to WebSocketStresmHandleImpl via dispatchWillOpenSocketStream() - Send the id from WebSocketStreamHandleImpl to SocketStreamHost via IPC SocketStreamHostMsg_Connect This change aim that SocketStreamDispatcher uses SSLManager with routing_id to handle SSL errors. BUG=53836 TEST=none Review URL: http://codereview.chromium.org/9677031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127964 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Bind RenderViewImpl routing_id to SocketStreamHost - Set RenderViewImpl's routing_id to WebSocketStresmHandleImpl via dispatchWillOpenSocketStream() - Send the id from WebSocketStreamHandleImpl to SocketStreamHost via IPC SocketStreamHostMsg_Connect This change aim that SocketStreamDispatcher uses SSLManager with routing_id to handle SSL errors. BUG=53836 TEST=none Review URL: http://codereview.chromium.org/9677031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127964 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Adding support for the SpeechRecognition.maxAlternatives JS API parameter (Speech CL2.5) BUG=116954 TEST=none Review URL: https://chromiumcodereview.appspot.com/10629003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144487 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Refactor Pickle Read methods to use higher performance PickleIterator. There was a lot of redundant error checking and initialization code in all Pickle Read methods because of the void** iterator type. This change replaces the void* iterator with PickleIterator, which encapsulates the read pointer so that less error checking and initialization code is needed for reading. PickleIterator has all the necessary data to do the actual reading. The advantage of having it provide Read methods (as opposed to leaving them solely in the Pickle interface) is that the callers do not need to pass around the const Pickle* once they have a PickleIterator. Followup CLs will refactor the call sites to remove const Pickle* arguments where they are now unnecessary. Then the Pickle::Read* methods can be removed entirely. The alternative approach would have been to change the Pickle::Read methods to non-const and remove the iterator parameter (making Read methods advance an internal read pointer). Unfortunately, the const Read with iterator design is entrenched throughout the chromium code, making this a much more complex change with the same performance outcome. BUG=13108 Review URL: https://chromiumcodereview.appspot.com/9447084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125447 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Adds support for calling postMessage on a frame living in a different renderer. Patch partly from Karl Koscher <supersat@chromium.org> BUG=99202 TEST=PostMessage calls work after navigating a window to a different process. Review URL: https://chromiumcodereview.appspot.com/9108001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137024 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move the render process host tests in content to chrome. These test chrome specific behavior with things like extensions/webui/singleton tabs. BUG=90448 Review URL: https://chromiumcodereview.appspot.com/10820056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148852 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move the render process host tests in content to chrome. These test chrome specific behavior with things like extensions/webui/singleton tabs. BUG=90448 Review URL: https://chromiumcodereview.appspot.com/10820056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148852 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Export IPC messages used by mac tests BUG=90078 TEST=none TBR=jam Review URL: http://codereview.chromium.org/9701091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127243 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Move RegisterContentSchemes from public url_constants into non-public url_schemes. The VC++ linker can only discard whole .obj files that aren't used. setup.exe and npchrome_frame.dll pull in constants from url_constants.cc. http://crrev.com/133107 put RegisterContentSchemes into that file. This function's use of ContentClient causes all of WebKit and V8 to be pulled into setup.exe and npchrome_frame.dll. This change here moves RegisterContentSchemes into its own .cc file to get around link.exe's .obj-level code omission policy. This is a hack, and I feel shame for committing it. In the long run, we need a way to prevent changes that lead to a 6x increase in the size of the binaries spat out by the official builders. One could imagine this being done by a stage in a try run that goes red, or some build-time enforcement. Perhaps the constants should even go in their own target so that consumers of nothing but constants don't accidentally get content's transient dependencies. BUG=127564 TEST=none Review URL: https://chromiumcodereview.appspot.com/10383298 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139253 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove all the indexeddb-related utility process code BUG=129471 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152873 Review URL: https://chromiumcodereview.appspot.com/10834350 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153336 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[RDS] Reloads a page using the original request URL When toggling between different versions of a website by changing user agents, we often need to reload using an earlier URL in a redirect chain to avoid redirects caused by user-agent detection. * Adds a new type of reload that hooks into WebFrame::reloadWithOverrideURL, added in https://bugs.webkit.org/show_bug.cgi?id=89788 * Changes the original request URL we were saving before to be the URL sent back as part of WebKit's original request. This URL often differs from the URL stored at the beginning at the redirect chain. It's sent back as a new field when the renderer navigates. Part of upstreaming Chrome for Android. Internal BUG=6272286 BUG=112923 TEST= Review URL: https://chromiumcodereview.appspot.com/10704048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150003 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Cleanup the IPC param traits structure: -traits that are only used by chrome should be in chrome -traits that aren't used by chrome shouldn't be in content/public -use macros for serialization where possible -traits that are only used by one message file should just be listed in it -get rid of webkit_param_traits since it's not needed anymore. It was added as a hack to keep npchrome_frame.dll's size small by giving a hint to the MSVS linker, but now that there's more split between the message files because of the content split it's not necessary anymore. I've verified that npchrome_frame.dll's size (Release, non-component) size doesn't change. Review URL: https://codereview.chromium.org/10980010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158570 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Use SyncMessageFilter to Send() ipc messages from background threads. TBR=jam Review URL: https://chromiumcodereview.appspot.com/9614002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125233 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
aura: use TestWebGraphicsContext3D for the shared contexts Previously, we would use a regular command buffer context for the shared offscreen contexts, which is unable to share resources with the TestWebGraphicsContext3D, raising asserts if for example filters are used in layers. This change makes us use TestWebGraphicsContext3D for all contexts when using --test-compositor BUG=139300 Review URL: https://chromiumcodereview.appspot.com/10828088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149357 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
aura: use TestWebGraphicsContext3D for the shared contexts Previously, we would use a regular command buffer context for the shared offscreen contexts, which is unable to share resources with the TestWebGraphicsContext3D, raising asserts if for example filters are used in layers. This change makes us use TestWebGraphicsContext3D for all contexts when using --test-compositor BUG=139300 Review URL: https://chromiumcodereview.appspot.com/10828088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149357 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Update includes to new header locations TBR=darin Review URL: http://codereview.chromium.org/8788003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112825 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
IndexedDB: chrome-side changes for permission check from shared worker https://bugs.webkit.org/show_bug.cgi?id=79954 is the webkit side. BUG=116344 TEST= Review URL: http://codereview.chromium.org/9557009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124618 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Don't fork Zygote as a background process On Linux, with the setuid sandbox, the Zygote would become a background process of sort because the setuid sandbox would exit. The problem is that the Chrome process tree would be broken because the Zygote would be reparented to init. In turn, this could create issues with the browser not being able to ptrace() the Zygote if certain kernel restrictions are in place (e.g. Yama). BUG=125225 TEST= NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10447135 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140104 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 |