| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a specialization on the host and plugin side of the proxy. This
replaces the ad-hoc singleton tracking done by the resource and var trackers
with just being getters on this global object.
Most code can use the single PpapiGlobals class. I also allow code to get the
host and plugin specializations since some code needs access to some specific
features of each side.
In a later pass I'll move the other stuff out of TrackerBase and delete it.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/8316008
TBR=brettw@chromium.org
Review URL: http://codereview.chromium.org/8342016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106148 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a specialization on the host and plugin side of the proxy. This
replaces the ad-hoc singleton tracking done by the resource and var trackers
with just being getters on this global object.
Most code can use the single PpapiGlobals class. I also allow code to get the
host and plugin specializations since some code needs access to some specific
features of each side.
In a later pass I'll move the other stuff out of TrackerBase and delete it.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/8316008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106142 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
NaCl.BUG=100228TEST=manual
Review URL: http://codereview.chromium.org/8301006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105985 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is broken pending issue 2359.
NOTE: Setting is_broken on the test suite is not enough, since the nexe is published.
BUG= http://code.google.com/p/nativeclient/issues/detail?id=2359
BUG= http://code.google.com/p/nativeclient/issues/detail?id=2311
Review URL: http://codereview.chromium.org/8311006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105975 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TEST=manually run ppapi_unittests
BUG=none
Review URL: http://codereview.chromium.org/8317011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105921 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=100419
TEST=manual
Review URL: http://codereview.chromium.org/8298017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105891 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
http://codereview.chromium.org/8275031/ landed around the same time as the patch
adding the non-dev header.
Review URL: http://codereview.chromium.org/8313016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105856 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=41781
TEST=None
Review URL: http://codereview.chromium.org/8295023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105707 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TBR=avi@chromium.org
BUG=41781
TEST=Manual test in ppapi/examples/mouse_lock.
Review URL: http://codereview.chromium.org/8301024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105693 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=41780
TEST=in CL
Review URL: http://codereview.chromium.org/8291002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105590 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
RenderWidget::is_fullscreen (used in DidChangeView to detect fullscreen mode)
was implemented.
Review URL: http://codereview.chromium.org/8301010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105579 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FlashFullscreen.
Tested with ppapi/native_client/tests/ppapi_browser/ppb_fullscreen
upgraded with 2D graphics. Will commit in a separate patch.
BUG=41780
TEST=ppapi/tests/test_fullscreen + see above
Review URL: http://codereview.chromium.org/8275031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105530 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
TBR=sehr@google.com
Review URL: http://codereview.chromium.org/8276025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105510 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to fill in the screen in SetFullscreen. Reset plugin size in ViewChanged when we exit. Update tests.
We are forced to resize the plugin in the Pepper layer because WebKit does yet do it.
It only moves the plugin to the middle of the screen with the expectations the
web page will contain the following css:
:-webkit-full-screen {
width: 100%; height: 100%;
}
That's not acceptable for Pepper/NaCl users.
BUG=41780,98474
TEST=in CL
Review URL: http://codereview.chromium.org/8228023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105476 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes it easy (for trusted Pepper plugins) to opt for showing a file
chooser while avoiding the user-gesture check.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8275013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105392 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8273016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105391 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=100215
TEST=N/A
Review URL: http://codereview.chromium.org/8283006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105360 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Contributed by qtc746@motorola.com
BUG:None
TEST:None
Review URL: http://codereview.chromium.org/8216006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105273 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
dialog when thesuggested file name is a root directory, such as "C:\".
BUG=73070
TEST=manual
Review URL: http://codereview.chromium.org/8142018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105247 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
PPB_FileChooser_Trusted.We want to follow the Web platform, not diverge, and <input type=saveas> was neverstandardized. Move 'SaveAs' to the trusted interface for Flash.
Review URL: http://codereview.chromium.org/8224012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105113 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TBR=brettw@chromium.org
BUG=
TEST=
Review URL: http://codereview.chromium.org/8244005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105065 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=59425
TEST=Build chrome and ppapi_example_ime,
Confirm "out/Release/chrome --register-pepper-plugins='out/Release/lib/libppapi_example_ime.so;application/x-ppapi-example' ppapi/examples/ime/ime.html" works.
This CL is the last part for adding the basic IME support for PPAPI,
preceded by the previous two changes
codereview.chromium.org/7882004 (API declarations) and
codereview.chromium.org/7978019 (thunk and proxy implementation).
This CL comes with the actual Chrome-side implementation of the API
with an example to show how to use IME in PPAPI.
Keep in mind the current implementation still not reached the point of "the complete" set of IME APIs yet.
- Advanced features in design doc (like surrounding text retrieval) is not available.
- DOM and PPAPI composition events are not converted each other.
Rather, it aims to provide basic set of functions just needed to implement inline composition in plugins.
Review URL: http://codereview.chromium.org/8073021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105056 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/8233021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104946 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixing shared builds for crrev.com/104931 with errors like:
11>resource_creation_proxy.obj :error LNK2001: unresolved external symbol "public: static void __cdecl ppapi::ProxyLock::Acquire(void)" (?Acquire@ProxyLock@ppapi@@SAXXZ)
BUG=none
TEST=linux_shared and win_shared builds.
Review URL: http://codereview.chromium.org/8239001
TBR=msw@chromium.org
Review URL: http://codereview.chromium.org/8230028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104944 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixing shared builds for crrev.com/104931 with errors like:
11>resource_creation_proxy.obj :error LNK2001: unresolved external symbol "public: static void __cdecl ppapi::ProxyLock::Acquire(void)" (?Acquire@ProxyLock@ppapi@@SAXXZ)
BUG=none
TEST=linux_shared and win_shared builds.
Review URL: http://codereview.chromium.org/8239001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104941 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
proxies. Add multi-threading test for PPB_Var.
BUG=92909
TEST=None yet
Review URL: http://codereview.chromium.org/8016008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104931 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=manually running generator.py
Review URL: http://codereview.chromium.org/8202022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104886 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This removes a bunch of plumbing for the proxy and impl sides, and uses the
new macro system for registering the interface. This saves a lot of code and
a bunch of boilerplate files could be deleted.
Review URL: http://codereview.chromium.org/8159003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104850 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes us not hold a ref to the PluginModule during sending async messages.
Previously we would cancel callbacks in the PluginModule destructor and this
would change the ref count from 0 to 1, and then back to 0, calling reentrantly
into the destructor again.
Not holding a ref during async messages prevent this problem. I also added
some checking to detect sync messages during shutdown, and also reentrant
destructors should this happen again.
BUG = http://crosbug.com/21258, http://crbug.com/99398
Review URL: http://codereview.chromium.org/8222021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104847 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
This removes some duplicate code between the proxy and the impl.
Review URL: http://codereview.chromium.org/8159012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104741 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the next input event.
BUG=94981
TEST= 1) run manual test in ppapi/example;
2) click on the plugin;
3) the cursor should change to a rectangle and keep changing its dimensions, even if you don't move/click the mouse.
Review URL: http://codereview.chromium.org/8196003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104686 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Needs DEPS update (rev 6762) for testing.
BUG= http://code.google.com/p/nativeclient/issues/detail?id=2191
TEST= ./scons -j16 --mode=dbg-host,nacl platform=x86-64 run_ppapi_bad_native_test
Review URL: http://codereview.chromium.org/8017004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104616 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=./generator.py test_parser/enum.idl
Review URL: http://codereview.chromium.org/8161006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104588 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this CL contains changes to the plugin to propagate the PPAPI event
handler nexe's exit status to JavaScript via an integer exitStatus
property, just like the lastError string property.
this CL depends on NaCl side CL
http://codereview.chromium.org/8139016/ which was committed as NaCl
r6851 and requires DEPS's nacl_revision value to be at least 6851.
BUG= http://code.google.com/p/chromium/issues/detail?id=97833
TEST= exit_status_tests (NaCl-side)
Review URL: http://codereview.chromium.org/8136022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104578 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
I revved the PPP_VideoDecoder interface since IDL wants to pass PP_Picture_Dev
by pointer instead of by value. This also renames the VIDEO_CAPTURE interface
string/define to VIDEOCAPTURE for consistency (what IDL wants to do).
Review URL: http://codereview.chromium.org/8144008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104569 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Disables ASan instrumentation in nacl_helper_bootstrap.
Allows undefined symbols in the plugin shared library.
Disables an llvm optimization that replaces the loop in my_bzero with a call to
memset.
The last one in not specific to ASan, and is required for building Release with
Clang on Linux.
Landing a patch for Evgeniy Stepanov, originally reviewed at
http://codereview.chromium.org/8135029/
TEST=follow http://dev.chromium.org/developers/testing/addresssanitizer without disable_nacl=1
TBR=noelallen@google.com,bradn,eugenis
Review URL: http://codereview.chromium.org/8194008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104455 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Full screen button also moved up for ease of use.
BUG=41781
TEST=Manual test in ppapi/examples/mouse_lock.
Review URL: http://codereview.chromium.org/8169006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104398 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There's no need for it.
BUG= http://code.google.com/p/nativeclient/issues/detail?id=2335
TEST= none
R=brettw@chromium.org
Review URL: http://codereview.chromium.org/8161007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104206 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This header has never been needed by this code.
We'd like to be able to remove it in the future.
BUG= http://code.google.com/p/nativeclient/issues/detail?id=2335
TEST= none
R=brettw@chromium.org
Review URL: http://codereview.chromium.org/8162006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104197 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
TLS again when PPAPI off the main thread is implemented, and TLS
performance in NaCl improves.
BUG= http://code.google.com/p/chromium/issues/detail?id=99217
TEST= NaCl's graphics3d tests
Review URL: http://codereview.chromium.org/8148003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104196 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
getting messages to FlashSetFullscreen( , false). This was
introduced by http://codereview.chromium.org/7826017
So make sure we send notification on closing.
BUG=chromium-os:21112
Review URL: http://codereview.chromium.org/8139005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104135 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
ability to run
the filedialog in "Save As" mode.
BUG=73070
TEST=none yet
Review URL: http://codereview.chromium.org/8116018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104131 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This renames the scrollbar interface to not use the version number to make
it consistent with other APIs.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/8142001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104102 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=35223
TEST=ppapi_unittests, ppapi ui_tests
Review URL: http://codereview.chromium.org/8141004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104018 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/8136017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104011 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
of mixing POSIX and Windows style path separators.
BUG=none
TEST=manual
Review URL: http://codereview.chromium.org/8136013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104008 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/8124015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103905 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Crash reports indicate that some plugins may be using this interface after
the instance has been destroyed, which causes a crash. This patch detects that
case and returns early.
BUG=http://crosbug.com/20977
Review URL: http://codereview.chromium.org/8114009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103903 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
behavior has changed, and what it tests is basically useless.
TEST=none
BUG=87647
Review URL: http://codereview.chromium.org/8116016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103902 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
one is already pending.
It is not clear what one should expect. Should the 2nd request override the 1st one?
Should it be queued up and processed as if it was placed after the 1st one finished?
Should it be ignored? In reality, the 2nd transitions does not occur while still
messing up the state of 1st one (e.g. the window goes into fullscreen, but fullscreen
DidChangeView never fires). Even with the JS interface, the behavior appears to be
broken: http://www/~polina/fullscreen.html. Since the feature is not particularly useful,
it is cleanest to just deny it in Pepper.
BUG=41780
TEST=in CL
Review URL: http://codereview.chromium.org/8093013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103767 0039d316-1c4b-4281-b951-d872f2087c98
|