| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
was including files from chrome and only used in
chrome/browser/renderer_host, so it should live in src/chrome/.
TEST=compiles
Review URL: http://codereview.chromium.org/852001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41357 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
the browser's print workflow. For now, added an interface for raster print output.
Also modified vector_platform_device_win.cc to allow the caller to set a bitmap compression mode for use in the internalDrawBitmap method. Supported compression modes are JPEG and PNG.
BUG=none
TEST=Test printing with new plugins that support this interface.
Review URL: http://codereview.chromium.org/669280
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41321 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/830002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41292 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
This gets rid of third_party references in webkit_resources.grd which will allow us to build this file upstream.
Review URL: http://codereview.chromium.org/792005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41238 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/828002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41207 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
rendering code with the GPU Plug-in. The drawing model negotiation is currently disabled so this should have no visible impact to plug-ins.
BUG=32012
TEST=make sure the pepper GPU plug-ins still work.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41194 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
sharing IPC and some rendering code with the GPU Plugin. The drawing model negotiation is currently disabled so this should have no visible impact to plugins.
BUG=32012
TEST=make sure the pepper GPU plugins still work.
Review URL: http://codereview.chromium.org/673001
TBR=pinkerton@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41159 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
rendering code with the GPU Plug-in. The drawing model negotiation is currently disabled so this should have no visible impact to plug-ins.
BUG=32012
TEST=make sure the pepper GPU plug-ins still work.
Review URL: http://codereview.chromium.org/673001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41158 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
The GPU code will still cause problems, but this is a step in the right direction.
Review URL: http://codereview.chromium.org/707002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41115 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/745003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41100 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note that the test is run as a unit-test as RenderViewTest is buggy when run in-process. (submitting a form fails the second time you run it). By running it as a browser test, each unit-test is run into its own process.
BUG=36277
TEST=See steps in bug.
Also try the following steps:
Create a page with a form withe the autocomplete="off" attribute.
Enter some values submit.
Reload the page, click the textfield in the form.
Autocomplete should not be triggered.
Modify the page and remove the autocomplete="off" attribute.
Reload the page and click the textfield in the form, the autocomplete
should still not be triggered (as the data you entered previously
should not have been stored).
Review URL: http://codereview.chromium.org/668208
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41074 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Removed eol-style, executable and mergeinfo from BMP/GIF/ICO/JPEG files, and set correct mime-type.
* Removed executable and mergeinfo from .c/.cc/.cpp/.h/.m/.mm and .gyp files, and set eol-style to LF.
TBR=evanm
BUG=none
TEST=none
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40991 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/660158
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40969 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
TBR=darin
Review URL: http://codereview.chromium.org/671018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40948 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enabled with the --enable-user-stylesheet flag which
causes chrome to read
<user-data-dir>/<profile>/User StyleSheet/Custom.css
at startup and set it as the user style sheet.
This version never reloads the user style sheet, I'll
have to bring back FileWatcher for that. I also put the user
stylesheet in a subdir because the implementation of
FileWatcher will watch the parent dir (this is what the OS
apis give me) and watching the profile dir will cause
lots of activity.
BUG=2393
Review URL: http://codereview.chromium.org/660349
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40882 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
webkit/glue: string_util.h -> utf_string_conversions.h fix.
TBR=bradnelson
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/668242
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40872 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/668229
TBR=jhawkins@chromium.org
Review URL: http://codereview.chromium.org/669251
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40856 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/668229
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40855 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Makes SetWindowlessBuffer take a rect argument so it doesn't depend on the delegate being updated, then makes UpdateGeometry call that first so that changes can't accidentally be handled in reverse order if calling into the plugin's SetWindow results in nesting.
Also combines updating the plugin geometry and context on the Mac into one call, since we don't want the plugin to have mismatched context and size information. Unblacklists Move Networks player on the Mac since these changes fix its crash.
BUG=28298
TEST=Open the Move Networks sample on the Mac, and resize it. It should play without crashing.
Review URL: http://codereview.chromium.org/668186
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40841 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
get called asynchronously when the bits are actually copied to the screen,
rather than synchronously from inside the paint function. This makes it useful
for plugins to use the callback for rate limiting. This also adds a lot of
infrastructure for running tests on pepper devices, and includes a unit test
for the new flush behavior. I made the existing RenderProcess object an
abstract interface and made the existing MockProcess (renamed to be more clear)
implement that. This avoids a static cast that would actually crash during a
unit test because some code was hardcoded to expect a RenderProcess object.
This fixes base's IDMap iterator which has apparently never been used for an
IDMap with ownership semantics.
TEST=Unit test included
BUG=none
Original review URL: http://codereview.chromium.org/661124
Review URL: http://codereview.chromium.org/664001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40813 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
in the Chromium SUID sandbox because it does not require access to /proc. Also cache the renderer memory usage value - in some workloads we ask for the memory usage too frequently.
BUG=32519
TEST=none
Review URL: http://codereview.chromium.org/669105
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40795 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://codereview.chromium.org/667011.
Add function to Pepper API to copy text from plugin to clipboard.
This functionality is necessary for good user experience, since plugin may
have a custom copy button, menu, shortcut for copy functionality.
This is a simple text copy interface first, and later we might need more
complex format (HTML maybe) as well as cut/paste functionality.
BUG=none
TEST=Call CopyClipboard from plugin. Try to paste in the text editor. Verify that paste inserts the same characters.
Review URL: http://codereview.chromium.org/669187
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40791 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
webplugin_delegate_impl so that it doesn't happen for Pepper plugins.
BUG=25183
Review URL: http://codereview.chromium.org/669145
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40761 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes a number of things about how the shared buffer context is handled for plugins on the Mac:
- Explicitly send paint events to QuickDraw plugins. This was being done before only because of a missing break in a switch statement, but we do actually want to send them since that's the only way those plugins know when we have invalidated part of their content (e.g., on first paint, or because the window focus changed). Also moves the window-scraping to after the paint event, instead of before, so we get the latest bits (and moves that code to a new method for clarity).
- Remove context save/restore from HandleInputEvent, since CoreGraphics plugins are not allowed to paint outside of handling a paint event.
- Add safety checks to context save/restore in WindowlessPaint and WebPluginProxy's paint, to correctly handle resizes that happen during paint handling (using a new member variable that is independent of event model).
Also renames cg_context_ for clarity.
BUG=none
TEST=QuickDraw plugins (e.g., QuickTime) should no longer have a flicker of painting artifacts when they are first drawn.
Review URL: http://codereview.chromium.org/668113
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40739 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This was originally added to make events in plugin-opened windows work, but it no longer appears to be necessary (presumably because we are now doing full Cocoa initialization vi CrApplication).
BUG=none
TEST=Plugin-opened windows (Flash 10.0 full screen, Gmail attachment selection, etc.) should still work correctly.
Review URL: http://codereview.chromium.org/661317
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40688 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
row in the history database. We do this by setting a flag
on the WebURLResponse created for multipart responses and not
updating the history db when this flag is set.
Take 2, the last landing failed because we weren't always
initializing m_isMultipartPayload in ResourceResponse.
BUG=34350
Review URL: http://codereview.chromium.org/668050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40613 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This library provides:
- An implementation of WebKitClient,
- An implementation of WebPlugin,
- An implementation of WebMediaPalyer,
- Initialization and termination functions,
- Two function for database, and
- Some functions required by webkit_glue.
webkit_support.gyp is not referred by build/all.gyp. A gyp for DRT/chromium in
WebKit tree will refer to it.
BUG=none
TEST=none. This is a part of test code.
Review URL: http://codereview.chromium.org/652226
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40610 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit r40599.
TBR=darin
Review URL: http://codereview.chromium.org/668041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40601 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
new row in the history database. We do this by setting a flag
on the WebURLResponse created for multipart responses and not
updating the history db when this flag is set.
BUG=34350
Review URL: http://codereview.chromium.org/661445
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40599 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a call to WebRuntimeFeatures::enableDatabase.
This is to prepare the way for WebKit changes in
https://bugs.webkit.org/show_bug.cgi?id=35310.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/661233
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40594 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=Carbon plugin behavior should be unchanged.
Review URL: http://codereview.chromium.org/666013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40568 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=35534
TEST=Use sample in http://crbug.com/35534
Fixing bug 35534 of image quality if CSS scaling is applied
to a <video> tag.
On mac we currently create an image the same size of the width
and height attribute of the <video> tag regardless of the
transformation matrix of the canvas. If we use the scaling factor
in the transformation matrix and use it directly in the YUV
to RGB conversion, not only we solve the problem of low quality
image scaling but performance is also improved.
Review URL: http://codereview.chromium.org/660435
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40546 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
advertised. It will now
get called asynchronously when the bits are actually copied to the screen,
rather than synchronously from inside the paint function. This makes it useful
for plugins to use the callback for rate limiting.
This also adds a lot of infrastructure for running tests on pepper devices, and
includes a unit test for the new flush behavior.
I made the existing RenderProcess object an abstract interface and made the
existing MockProcess (renamed to be more clear) implement that. This avoids
a static cast that would actually crash during a unit test because some code
was hardcoded to expect a RenderProcess object.
This fixes base's IDMap iterator which has apparently never been used for an
IDMap with ownership semantics.
TEST=Unit test included
BUG=none
Review URL: http://codereview.chromium.org/661124
TBR=brettw@chromium.org
Review URL: http://codereview.chromium.org/660439
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40494 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
get called asynchronously when the bits are actually copied to the screen,
rather than synchronously from inside the paint function. This makes it useful
for plugins to use the callback for rate limiting.
This also adds a lot of infrastructure for running tests on pepper devices, and
includes a unit test for the new flush behavior.
I made the existing RenderProcess object an abstract interface and made the
existing MockProcess (renamed to be more clear) implement that. This avoids
a static cast that would actually crash during a unit test because some code
was hardcoded to expect a RenderProcess object.
This fixes base's IDMap iterator which has apparently never been used for an
IDMap with ownership semantics.
TEST=Unit test included
BUG=none
Review URL: http://codereview.chromium.org/661124
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40490 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40466 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/661413
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40463 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Removes confusion with the new "fake window" code related to the GPU process, and makes the name better reflect the reality of how the Carbon plugin windows are actually used since we no longer expect to replace them entirely with interposing.
BUG=none
TEST=none (no behavioral changes)
Review URL: http://codereview.chromium.org/660407
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40459 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Revert 40158 - Estimate the renderer working set on Linux. This is less expensive and works in the Chromium SUID sandbox because it does not require access to /proc.
BUG=32519
TEST=none
Review URL: http://codereview.chromium.org/593060
TBR=thestig@chromium.org
Review URL: http://codereview.chromium.org/660400
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40432 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
(apparently) other recent changes.
BUG=none
TEST=ran Pepper test plugin with both 10.6 and 10.5 code paths
Review URL: http://codereview.chromium.org/661391
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40417 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=FormManagerTest.Labels
Review URL: http://codereview.chromium.org/660154
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40416 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
issued by plugins.
Fix formatting nits.
R=abarth,darin,eroman
BUG=36957
TEST=none
Review URL: http://codereview.chromium.org/601038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40331 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Also removes unnecessary event model checks (this method is only called for Carbon-event plugins)
BUG=36928
TEST=none
Review URL: http://codereview.chromium.org/661284
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40298 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
R=eroman
BUG=none
TEST=No compilation errors.
Review URL: http://codereview.chromium.org/660223
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40201 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
in the Chromium SUID sandbox because it does not require access to /proc.
BUG=32519
TEST=none
Review URL: http://codereview.chromium.org/593060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40158 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Introduces VideoLayer, which is similar to BackingStore except handles YUV surfaces and conversion to RGB.
BUG=33329
TEST=N/A
Review URL: http://codereview.chromium.org/597066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40137 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
R=jorlow
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/660166
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40103 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=35081
TEST=Fail a login at codeweavers.com/login; QuickTime should not crash.
Review URL: http://codereview.chromium.org/661107
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40078 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
|submit|, so this is essentially dead code.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/660059
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40033 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=36803
TEST=none
Review URL: http://codereview.chromium.org/661086
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40031 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Moves the implementation of cookie methods in RendererWebKitClientImpl
into RendererWebCookieJarImpl.
Moves the implementation of cookie methods in TestShellWebKitInit into
SimpleWebCookieJarImpl.
This leaves us with no longer implementing the cookie methods on
WebKitClient. That'll allow us to delete those.
WebPluginImpl needs to access the WebCookieJar used by either the
renderer or test_shell. To enable that, I added a GetCookieJar method
on WebPluginPageDelegate. This interface is used whenever the
WebPluginImpl needs to talk to the RenderView or TestWebViewDelegate.
R=jorlow
BUG=35589
Review URL: http://codereview.chromium.org/661070
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40023 0039d316-1c4b-4281-b951-d872f2087c98
|