| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
When the media layer sends a new buffer to Pepper, the Pepper object will save the buffer and notify the media system that the buffer can be re-used. But if there are no free buffer slots, we never tell the media layer the buffer can be reused. This causes a leak of buffers and the video will freeze.
TEST=see bug
BUT=135216
Review URL: https://chromiumcodereview.appspot.com/10689080
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145226 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=133438
TEST=unit tests
Review URL: https://chromiumcodereview.appspot.com/10708002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145180 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This changes prevents calling constructors webkit_glue::WebIntentServiceData::WebIntentServiceData() directly since it is prohibited by gcc 4.6 (-fpermissive).
BUG=none
TEST=build on gcc 4.6.
Review URL: https://chromiumcodereview.appspot.com/10690036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145118 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=128663
R=brettw@chromium.org,willchan@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10669038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145073 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For regular chrome centralize the read/write permission to ChildProcessSecurityPolicy and do nothing in fileapi layer.
For DRT/content_shell disable writes at SimpleFileSystem layer as well as we do in FileAPIMessageFilter for chrome.
BUG=none
TEST=existing tests
TEST=layout tests https://bugs.webkit.org/show_bug.cgi?id=89981
Review URL: https://chromiumcodereview.appspot.com/10692005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145063 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10696051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145003 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
contructor parameter.
Note: this depends on
http://codereview.chromium.org/10559036/
BUG=None
TEST=None
Review URL: https://chromiumcodereview.appspot.com/10534100
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144948 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This also changes how clipboard data is copied on windows. Previously we would copy:
"<html>\r\n<body>\r\n<!--StartFragment-->\r\n[CONTENT]\r\n<!--EndFragment-->\r\n</body>\r\n</html>"
However, when pasting this content, we paste everything that's contained between <!--StartFragment--> and <!--EndFragment-->. Thus, we get additional new lines in our pasted content that did not exist in the copied content. AFAICT there is no reason to add this additional newlines when copying clipboard data.
BUG=130827
TEST=Ran updated test case.
Review URL: https://chromiumcodereview.appspot.com/10539028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144932 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a race condition in PluginServiceImpl, where we would get an empty plug-in list if it was stale (instead of simply using the stale version).
BUG=124780
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10700032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144925 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL is the last piece for implementing the File API
getFile(..., {create: true}, ...) for GDataFileSytem.
Currently the file creation is implemented as uploading of
an empty file to the server. The Drive server assigns the
resource_id, and further read or write operation just
treats it as a non-pinned file (e.g., when it is read or
written it is downloaded to GCache/v1/tmp/<resource_id>.<md5>).
BUG=132968
TEST=Manual test.
1) Be sure prerequisites patches (10636053, 10656043, and 10556003) are applied.
2) Edit image files on Google Drive folder by photo editor, and with "overwrite original" unchecked)
3) Verify a new file is created on the Drive.
Review URL: https://chromiumcodereview.appspot.com/10568012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144898 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Protect |this| around invoking plugin callbacks
- Add unit tests to check the case
BUG=
TEST=browser_tests
Review URL: https://chromiumcodereview.appspot.com/10661026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144872 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For now it only wraps AesDecryptor. In the future it will also wrap
PpapiDecryptor.
BUG=123260
TEST=media_unittests, media layout tests.
Review URL: https://chromiumcodereview.appspot.com/10575026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144869 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add unittest for web_intent_service_data.
Reorder constructor args to group service url with title.
BUG=129199
TEST=./out/Debug/unit_tests --gtest_filter=WebIntentServiceDataTest.*
+jamesr AND brettw for webkit_glue changes.
Review URL: https://chromiumcodereview.appspot.com/10541125
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144800 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch requires WebKit patch https://bugs.webkit.org/show_bug.cgi?id=87874 (WebKit r121364)
Expose device_scale_factor and css_scale_factor to Pepper plugins via a dev
interface on View resource.
Allow Pepper plugins to create a 2D graphics context with a scale factor so the
plugins can render at device resolution rather than DIPs if they want.
BUG=114673
TEST=browser_tests --gtest_filter="PPAPITest.*"
TEST=browser_tests --gtest_filter="OutOfProcessPPAPITest.*"
TEST=Build, run existing PPAPI plugin at 2x scale
TEST=Build, run test HiDPI aware plugin to render at device rez, at 1x, 2x scale
Review URL: https://chromiumcodereview.appspot.com/10544168
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144773 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
When compositing is disabled or blacklisted we won't be able to composite core animation plugins, so disable them.
BUG=122430
TEST=flash works on nytimes.com with --disable-accelerated-compositing
TBR=kbr
Review URL: https://chromiumcodereview.appspot.com/10695027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144667 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When compositing is disabled or blacklisted we won't be able to composite core animation plugins, so disable them.
BUG=122430
TEST=flash works on nytimes.com with --disable-accelerated-compositing
Review URL: https://chromiumcodereview.appspot.com/10542112
TBR=jbauman@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10698028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144665 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
When compositing is disabled or blacklisted we won't be able to composite core animation plugins, so disable them.
BUG=122430
TEST=flash works on nytimes.com with --disable-accelerated-compositing
Review URL: https://chromiumcodereview.appspot.com/10542112
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144578 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
provides an implementation for setting crash URLs.
BUG=134176
TEST=Added test case to sanity check API call. Also hooked up to flash and produced a crash and checked that the report included the document url (http://crash/reportdetail?reportid=1719cae3a745f633)
Review URL: https://chromiumcodereview.appspot.com/10681006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144516 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Test file edition.
BUG=none
TEST=none
TBR=remaining owners
Review URL: https://chromiumcodereview.appspot.com/10680013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144464 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The script code "Jpan" ("Japanese") is more suitable for naming font prefs for rendering Japanese than "Hrkt" ("Hiragana or Katakana").
With this change, the script code used in Chrome pref names for Japanese will become different than the one used in WebKit settings. We would have used "Jpan" in both Chrome and WebKit to begin with, but it is a newer script code that the version of ICU included in WebKit for MacOS doesn't have. But since Chrome now exposes script codes in the Font Settings Extension API, it's better to use the more appropriate, modern one. This patch just changes the script used internally by Chrome and translates it to the one used by WebKit when talking to WebCore.
BUG=2685
TEST=browser_tests --gtest_filter=ExtensionApiTest.FontSetting*
TBR=pkasting,mpcomplete
Review URL: https://chromiumcodereview.appspot.com/10532105
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144418 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to use printf(), <stdio.h> should be explicitly included.
BUG=chromium:134180
TEST=build cpp_binding_example successfully
Change-Id: I372d726672b0f252649afa94862a829e29245126
Signed-off-by: Mandeep Singh Baines <msb@chromium.org>
Signed-off-by: Simon Que <sque@chromium.org>
Review URL: https://chromiumcodereview.appspot.com/10634037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144381 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- crack the filesystem URL as soon as we get it in FileAPIMessageFilter
- introduce a new class FileSystemURL for cracked URL information and use it everywhere
- deprecate FileSystemPath (this used to serve the similar role for *FileUtil classes)
Mechanical changes only except for fileapi_message_filter.cc and file_system_operation.cc.
This change reduces the # of CrackFileSystemURL roughly from 3~4 to 1 for each FileSystem operation.
BUG=none
TEST=existing tests
Review URL: https://chromiumcodereview.appspot.com/10566002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144368 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SplitStringIntoKeyValues() and SplitStringIntoKeyValuePairs() already did this.) This is more in line with what other APIs that take outparams do.
I audited all callers, and the only ones affected by this are the buggy ones in bug 134695 that already wanted this behavior, as well as the couple of places in this CL that were manually calling clear() and now don't have to.
BUG=134695
TEST=none
TBR=brettw,phajdan.jr
Review URL: https://chromiumcodereview.appspot.com/10684003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144323 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=110400
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10578024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144322 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Extensions were being cached per context group. Recently we started creating an offscreen context before any onscreen contexts, which meant that our onscreen specific extensions were never being reported. This CL keeps the cacheing for the context specific extensions and adds in the surface specific extensions.
TEST=use chrome://tracing to verify that HandlePostSubBuffer is being called in the GPU process on a CrOS device
BUG=none
Review URL: https://chromiumcodereview.appspot.com/10673002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144271 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PPB_Scrollbar_Impl is the only consumer of this class. Currently
WebPluginScrollbar and WebPluginScrollbarClient are just typedef'd to the
non-Plugin version in WebKit. This is in preparation for refactoring some
of its functionality into two different classes.
BUG=none
TEST=compiler
Review URL: https://chromiumcodereview.appspot.com/10668049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144267 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Removed DCHECK for IsAbsolute() check since it doesn't seem practical to enforce it for all the testing.
BUG=none
TEST=existing tests should pass
Review URL: https://chromiumcodereview.appspot.com/10656042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144172 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to make it possible to be shared by multiple children.
This patch itself should have no side effect.
BUG=none
TEST=existing tests should pass
Review URL: https://chromiumcodereview.appspot.com/10536200
TBR=kinuko@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10658029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144133 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
reference counts)
BUG=none
TEST=none
TBR=tzik
Review URL: https://chromiumcodereview.appspot.com/10656039
TBR=kinuko@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10656041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144132 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
TBR=tzik
Review URL: https://chromiumcodereview.appspot.com/10656039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144126 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We introduced this flag as a workaround for web sites which are not compatible
with HTML5 form validation. However we have received just one bug report [1]
caused by this feature since January 2011.
It's safe to remove the flag because the feature didn't make many
incompatibility issues.
[1] http://webkit.org/b/44436
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10640016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144125 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to make it possible to be shared by multiple children.
This patch itself should have no side effect.
BUG=none
TEST=existing tests should pass
Review URL: https://chromiumcodereview.appspot.com/10536200
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144115 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The only caller to this was removed in http://trac.webkit.org/changeset/120650
BUG=none
TEST=compiles
Review URL: https://chromiumcodereview.appspot.com/10662027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144049 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Fix half of broken webkit build.
TBR=hclam@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10667022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144020 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=123295
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10386206
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143987 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's off by default because it's nowhere close to ready for developer use,
but this will make it easier to develop.
We could do something similar for content_shell if needed.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/10666002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143984 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=128236
TEST=manually
Review URL: https://chromiumcodereview.appspot.com/10628020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143871 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=134039,134078
TEST=IsolatedFileUtilTest.*
Review URL: https://chromiumcodereview.appspot.com/10447139
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143868 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This also makes scoped_refptr<TrackedCallback> the "new" way to pass completion callbacks in an API. This allows the Enter object to handle checking for blocking callbacks on the main thread to report error, and blocking if on the background thread. This way, interfaces don't have to write any special cases for blocking callbacks.
When built with enable_pepper_threading=1 locally, URLLoader tests all pass for blocking completion callbacks. I haven't updated all tests yet.
BUG=92909
TEST=
Review URL: https://chromiumcodereview.appspot.com/10081020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143806 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
We (will) use this method in DumpRenderTree to avoid hangs caused by
DumpRenderTree allocating too many media resources on Android.
See https://bugs.webkit.org/show_bug.cgi?id=89720 for the WebKit use of this
function.
Review URL: https://chromiumcodereview.appspot.com/10664003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143776 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
termination". Instead of forcibly crashing the renderer allow it to proceed with more limited session storage functionality (no mutation events, values generally wont survive a page reload).
BUG=134003
Review URL: https://chromiumcodereview.appspot.com/10629008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143761 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This model has been deprecated for a very long time, has very few plugins still relying on it, and is increasingly unsupported by other Mac browsers.
In addition to simplifying code, this ensures that plugin vendors with QD and CG implementations (which at least one has done as a short-term solution to get 64-bit Safari and Firefox support) don't leave Chromium on the QD path under the very mistaken belief that it's the faster path.
BUG=125913
TEST=Most Mac plugins should continue to work.
Review URL: https://chromiumcodereview.appspot.com/10628004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143721 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Saving the sessionStorage data on disk will be done in a future CL.
BUG=104292
TEST=TBD
Review URL: https://chromiumcodereview.appspot.com/10572015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143709 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=116317
TEST=ppapi, nacl tests, manual testing for experimental IPC proxy.
TBR=brettw@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10661002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143708 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=133650
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10575041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143700 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=133648
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10559088
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143674 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
renderer.
BUG=116317
TEST=ppapi, nacl tests, manual testing for experimental IPC proxy.
Review URL: https://chromiumcodereview.appspot.com/10641016
TBR=bbudge@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10625007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143665 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
webkit/glue/iframe_redirect_unittest.cc was moved to webkit_unit_tests
in WebKit r120391, so we can delete it. Nothing else depends on
layoutTestController, so we can remove it.
There's still a bunch of layout testing code in test_shell. I'll remove
those in follow up changes.
BUG=132672
TEST=Covered by test_shell_tests.
Review URL: https://chromiumcodereview.appspot.com/10536207
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143661 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=116317
TEST=ppapi, nacl tests, manual testing for experimental IPC proxy.
Review URL: https://chromiumcodereview.appspot.com/10641016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143656 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=128236
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10634017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143642 0039d316-1c4b-4281-b951-d872f2087c98
|