| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
objects differs.
Since the ctor/dtor make pepper calls this results
in observable differences in program behavior.
The workaround is to use different lifetimes for the
objects involved. I will leave the bug open until this is better understood.
BUG= http://code.google.com/p/nativeclient/issues/detail?id=2293
Review URL: http://codereview.chromium.org/8102006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103737 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=98720,98721
TEST=N/A
Review URL: http://codereview.chromium.org/8101007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103712 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=41781
TEST=Manual test in ppapi/examples/mouse_lock.
Review URL: http://codereview.chromium.org/8072011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103612 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8095021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103598 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to the underlying plugin
object getting destroyed in the context of an incoming ExecuteScript call while the renderer is waiting
for an javascript function call on the plugin object to return.
We need to grab a reference on the plugin module in the dispatcher code and in the plugin object as
there are two crashes which occur here
1. When the dispatcher send is about to return from the Send call and it tries to unmarshal the return
values.
2. The other crash is in the wrapper class Invoke function where we crash similarly.
Fixes bug http://code.google.com/p/flapper/issues/detail?id=77
Review URL: http://codereview.chromium.org/8098001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103570 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/8091004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103529 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make BrokerDispatcher::OnMsgConnectToPlugin report result via IPC.
BUG=87490
TEST=None
Review URL: http://codereview.chromium.org/8091001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103501 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mistake in the
RemoveResource function.
Fix a pepper plugin process crash which occurs if we receive input events for a deleted plugin.
This could happen in the multi process plugin scenario where the renderer could send events for
deleted plugins in the context of outgoing sync calls.
Fixes bug http://code.google.com/p/flapper/issues/detail?id=87
Review URL: http://codereview.chromium.org/8073017
TBR=cpu@chromium.org
Please review this at http://codereview.chromium.org/8081009/
SVN Base: svn://svn.chromium.org/chrome/trunk/src/
Affected files:
M ppapi/shared_impl/resource_tracker.cc
Review URL: http://codereview.chromium.org/8085018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103423 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
input events for a deleted plugin. This could happen
in the multi process plugin scenario where the renderer could send events for deleted plugins in the context of outgoing
sync calls.
Fixes bug http://code.google.com/p/flapper/issues/detail?id=87
Review URL: http://codereview.chromium.org/8073017
TBR=ananta@chromium.org
Review URL: http://codereview.chromium.org/8081009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103389 0039d316-1c4b-4281-b951-d872f2087c98
|