| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
static variable in tests.
BUG=137145
TEST=run unit_tests with --gtest_filter=ComponentInstallerTest.PepperFlashCheck --gtest_repeat=2 successfully.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146670
Reverted as http://src.chromium.org/viewvc/chrome?view=rev&revision=146672
Review URL: https://chromiumcodereview.appspot.com/10702188
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146690 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a function static variable in tests.
BUG=137145
TEST=run unit_tests with --gtest_filter=ComponentInstallerTest.PepperFlashCheck --gtest_repeat=2 successfully.
Review URL: https://chromiumcodereview.appspot.com/10702188
TBR=scottbyer@chromium.org
Revert reason: checkdeps fail (passed trybots?)
Review URL: https://chromiumcodereview.appspot.com/10788005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146672 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
static variable in tests.
BUG=137145
TEST=run unit_tests with --gtest_filter=ComponentInstallerTest.PepperFlashCheck --gtest_repeat=2 successfully.
Review URL: https://chromiumcodereview.appspot.com/10702188
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146670 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
1) Disable fPIC
2) Disable manpage
3) Disable conditions with linux_use_tcmalloc
Review URL: https://chromiumcodereview.appspot.com/10704208
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146666 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously the code was broken for ppapi plugins. In particular, the URL and
plugin path entries were never added to the crash data for ppapi (both of these
fields wouldn't exist in any prior crashes).
The code for setting up this data structure is pretty error prone and
this problem only manifested itself inside GoogleUpdate (omaha). I think the code
here should be rewritten but this should be done as part of a subsequent CL.
This also re-enables URLs in ppapi crash reports on windows.
BUG=135480
TEST=Made sure ppapi crashes get uploaded when the url is included.
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/10704179
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146643 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Removing this was part of the previous CL 146611 but I had problems with git
I kept it as a placeholder.
TEST=it compiles.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146620 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This also makes the default be threadsafe. The old factory wasn't threadsafe even to the extent claimed in the header which was causing hangs in plugins
BUG=136284
Review URL: https://chromiumcodereview.appspot.com/10696157
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146611 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
This patch doesn't actually hook anything up, but it plumbs them in for the laces we'll need it.
Review URL: https://chromiumcodereview.appspot.com/10735011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146519 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We didn't want to add them to pp::Instance (since they're not available to NaCl
plugins?), so add them to InstancePrivate. (We can move them to Instance later,
if desired.)
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10703146
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146456 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
Oops, we can't just keep the PP_DirEntry_Dev.
Review URL: https://chromiumcodereview.appspot.com/10696206
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146441 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
test framework. First part of two part CL.
BUG=none
TEST=these are the tests
Review URL: https://chromiumcodereview.appspot.com/10692049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146413 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Modify ppapi/generators/idl_parser.py to
0: not require a file-level comment (but generate the same parse tree structure),
1: actually support ext_attrs (modifiers) for dictionaries, and
2: support [ext_attr=(symbols|values)].
Modify json_schema_compiler to
0: use "base::Value" and any_helper.ANY_CLASS instead of Value and Any in order to support ArrayBuffers named |value| or |any|,
1: actually test that namespaces and dictionaries are sorted correctly,
2: fix HGenerator._FieldDependencyOrder(),
3: support [inline_doc] on dictionaries and enums,
4: support descriptions on enums,
5: support documentation_permissions_required,
6: support [legalValues=(values...)].
Review URL: https://chromiumcodereview.appspot.com/10639020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146201 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When this is enabled for windows, we stop getting crash reports.
See https://code.google.com/p/chromium/issues/detail?id=135480
BUG=135480
TEST=
Review URL: https://chromiumcodereview.appspot.com/10736039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146199 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
For context see this thread:
https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II
TBR=thakis,pkasting,jam
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=NONE
TEST=NONE
Review URL: https://chromiumcodereview.appspot.com/10413036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146051 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=123295
TEST=existing unittests
Review URL: https://chromiumcodereview.appspot.com/10694111
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146001 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=116317
TEST=compiles
Review URL: https://chromiumcodereview.appspot.com/10694115
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145971 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=136548
TBR=yzshen@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10695127
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145930 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=136548
TBR=yzshen@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10736012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145915 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG= none
TEST= none
Review URL: https://chromiumcodereview.appspot.com/10762009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145907 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(from @google).
NOTRY=true
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10756019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145889 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This doesn't hook it up yet.
Pepper Flash needs this for RTMPT.
BUG=134615
TEST=not really (except for trivial URL request test)
Review URL: https://chromiumcodereview.appspot.com/10762017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145885 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Because mouse lock tests require focus, the new tests are put in interactive_ui_tests.
In this CL, ppapi_uitest is split into three parts:
1) ppapi_test: contains PPAPITestBase and its subclasses.
2) ppapi_browsertest: used by browser_tests.
3) ppapi_interactive_browsertest: used by interactive_ui_tests.
Besides, they are moved into a new folder, chrome/test/ppapi.
(1) and (2) are less interesting since they are mostly copied from ppapi_uitest.
BUG=135206
TEST=
Review URL: https://chromiumcodereview.appspot.com/10699045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145708 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=116317
TEST=compiles
Review URL: https://chromiumcodereview.appspot.com/10704088
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145397 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=116317
TEST=compiles
Review URL: https://chromiumcodereview.appspot.com/10699066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145230 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is no longer necessary, is no longer in the gyp build, and
fails on Ubuntu Precise.
R=mseaborn@chromium.org
BUG= http://code.google.com/p/nativeclient/issues/detail?id=2871
TEST=nacl_integration
Review URL: https://chromiumcodereview.appspot.com/10698072
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145202 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
See the related bug.
BUG=135480
TEST=
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/10695065
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145183 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This infrastructure will be used in the renderer and in the browser as the backing for new resources.
The PpapiHost object doues the routing for the resource messages, and also has hooks for the embedder (the renderer or the browser) to create resources. This adds a content_renderer factory which currently does nothing (we'll add most of the resources here).
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10572040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145059 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously this was only getting sent when the page had focus, which is pretty
useless. This patch also clarifies some API documentation.
BUG=135078
TEST=
Review URL: https://chromiumcodereview.appspot.com/10694026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145042 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Lots of the code was wrong and messy, and we now have a separate directory of examples.
BUG=54004
TEST=
Review URL: https://chromiumcodereview.appspot.com/10697022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144972 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Linking the plugin from the nacl build fails on Ubuntu Precise for lack of
shm_open
BUG= http://code.google.com/p/nativeclient/issues/detail?id=2871
TEST=it compiles
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/10699031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144843 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=128236
TEST=browser_tests
Review URL: https://chromiumcodereview.appspot.com/10665007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144796 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=134611
TEST=
Review URL: https://chromiumcodereview.appspot.com/10713004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144774 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
|
|
|
|
|
|
|
|
|
| |
TEST=included
BUG=http://crbug.com/134394
Review URL: https://chromiumcodereview.appspot.com/10658037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144623 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Deallocate on the plugin's GetInstanceObject ScriptableObject gets invoked
twice during plugin destruction, typically resulting in a crash, for proxied
plugins that expose a scriptable object. Once by PPP_ClassProxy::OnMsgDeallocate
and once by PluginVarTracker::DidDeleteInstance. This patch removes the object
from the var tracker when it is destroyed in PPP_Class_Proxy.
It also tweaks a unittest to verify Deallocate is invoked only once during the
test.
BUG=133950
TEST=Run gmail, reload page (ctrl-r) and observe for plugin crashes
TEST=Run ppapi_example out-of-process, reload page, observe for plugn crashes
TEST=ppapi_unittests --gtest_filter="PluginVar*"
Review URL: https://chromiumcodereview.appspot.com/10678007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144531 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OSMesa as needed for bots. Add AudioConfig tests to ppapi_uitest
untrusted (NaCl) suite. Tweak gyp for untrusted NaCl build so apps using
TLS links without errors.
Addendum: don't add -mno-tls-use-call to arm build (otherwise pnacl compiler
will fail because it doesn't recognize this option.)
BUG=none
TEST=this is the test
Review URL: https://chromiumcodereview.appspot.com/10682005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144512 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
|
|
|
|
|
|
|
|
| |
files were orphaned.
Review URL: https://chromiumcodereview.appspot.com/10661044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144279 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This should help avoid stuttering on older XP machines, or vista machines
where hardware sample rate != application sample rate. The downside is
audio latency will be higher.
Old value was for 30ms buffers.
New value is for 50ms buffers.
TEST=verify w/ nhu...@adobe.com once in canary
BUG=http://code.google.com/p/chromium/issues/detail?id=133393
Review URL: https://chromiumcodereview.appspot.com/10656027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144258 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This is needed to get some of the new extension functions to link properly.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10597006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144235 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This updates the flash_topmost example to demonstrate the case when the plugin is within a frame.
BUG=127185
TEST=Manually checked the plugin turns red when covered.
Review URL: https://chromiumcodereview.appspot.com/10572055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144206 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10650008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144204 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For Delegate/Observer-type classes that specify an
interface but do not have any particular lifetime
requirements, make their destructors protected. This is to
allow their interfaces to be implemented safely by
RefCounted types. With public destructors, it's possible to
do "scoped_ptr<Delegate> foo", and then assign a
RefCountedDelegateImpl, which would lead to a double free.
As none of these Delegates actually need public destructors
(ownership of the Delegate* is not transferred during a
function call / class constructor), mark the destructors
protected so that it becomes a compile warning to try to
delete them via the Delegate*.
BUG=123295
TEST=it compiles
Review URL: https://chromiumcodereview.appspot.com/10383262
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144086 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
every process launch
This fixes nacl subprocess creation off the main thread for LoadHelperNaClModule (used by pnacl coordinator).
GetNaclInterface calls GetBrowserInterface, which is required to be called from the main thread. So we call it
once and cache the result for calling off the main thread
(only for starting nacl helper processes).
R=dmichael@chromium.org,jvoung@chromium.org
BUG=(broken nacl/chrome integration bots)
TEST=nacl_integration
Review URL: https://chromiumcodereview.appspot.com/10665036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144083 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
suite, using
OSMesa as needed for bots. Add AudioConfig tests to ppapi_uitest
untrusted (NaCl) suite. Tweak gyp for untrusted NaCl build so apps using
TLS links without errors.
BUG=none
TEST=this is the test
Review URL: https://chromiumcodereview.appspot.com/10591004
TBR=nfullagar@google.com
Review URL: https://chromiumcodereview.appspot.com/10659023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144076 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NotAllowMixedReadWrite starts a Write, then checks that various other calls aren't allowed at the same time. But each of these uses TestCompletionCallback::WaitForResult, which runs a nested message loop. So the Write can complete any time that happens, meaning the later calls won't always fail with PP_ERROR_INPROGRESS.
Also re-enable PPAPINaCl[GLibc|NewLib]Test.FileIO_NotAllowMixedReadWrite
BUG=134442
TEST=
Review URL: https://chromiumcodereview.appspot.com/10660010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144060 0039d316-1c4b-4281-b951-d872f2087c98
|