| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
BUG=167317
COLLABORATOR=joi@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11624021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174716 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=166496
BUG=167187
TBR=yzshen
Review URL: https://codereview.chromium.org/11688011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174713 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This removes the old, unused PPB_Flash proxy and related code.
BUG=
TBR=brettw
Review URL: https://chromiumcodereview.appspot.com/11633034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174646 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=
Review URL: https://chromiumcodereview.appspot.com/11662008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174624 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code is a no-op currently. We set a timeout for user gesture at the renderer side, instead of relying on well-behaved plugins sending back messages to close user gesture.
TEST=None
BUG=None
Review URL: https://chromiumcodereview.appspot.com/11664014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174501 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This refactors PPB_Flash_Print to the new pepper resource model. This is the last function from the ppb_flash_proxy to be refactored. The old proxy is still full of stale #includes and can now be removed entirely but this will be done in a separate CL.
This was tested by printing from http://mycoloringbook.keasoftware.com/
Review URL: https://chromiumcodereview.appspot.com/11640033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174477 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=
Review URL: https://chromiumcodereview.appspot.com/11662007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174452 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=132201
TEST=browser_tests --gtest_filter=\*OpenDirectory\*
Review URL: https://chromiumcodereview.appspot.com/11587008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174360 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=
Review URL: https://chromiumcodereview.appspot.com/11636052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174321 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This force-deletes the resources before the various PpapiHosts are torn down. This ensures that all pointers are still valid at the time of resource destruction, allowing resources to do nontrivial things in their destructors. This part of the patch is forward-lookind and doesn't fix any current known bugs.
Also force-unbind all the graphics from the instance destructor as well, which ensures that the Graphics2D host doesn't have a pointer to a bound instance that outlasts that instance (which fixes the below-mentioned bug).
BUG=166353
Review URL: https://chromiumcodereview.appspot.com/11640030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174309 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added a thread safe way to duplicate a shared memory handle for the GPU process.
Removed synchronous IPC to set the command buffer shared state buffer.
Removed CreateTransferBuffer IPC. Removed request_id arg from transfer buffer IPCs. It wasn't being used.
BUG=166229
Review URL: https://chromiumcodereview.appspot.com/11640008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174303 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This converts the GetFontFamilies call to the new resource system using a singleton resource.
BUG=
Review URL: https://codereview.chromium.org/11578038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174241 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The functions being refactored are:
-SetInstanceAlwaysOnTop
-DrawGlyphs
-GetProxyForURL
-Navigate
Each of these functions was manually tested with a Flash movie that uses it.
Navigate() was tested on:
-http://www.tjgames.com.br/jogos-online/169-Yan_Loong.htm
-http://www.flonga.com/play/zombotron2.htm
which were consistently causing instance deletion during a Navigate() call (causing https://code.google.com/p/chromium/issues/detail?id=165978).
BUG=165978
Review URL: https://codereview.chromium.org/11510008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173980 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
It is not limited to tab fullscreen mode anymore.
TEST=None
BUG=None
Review URL: https://codereview.chromium.org/11608004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173942 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Generating C headers on windows changes the direction of the slash,
rewriting every C header when generator.py is run. This appears to be a
regression in commit 6faeb209.
BUG=
Review URL: https://chromiumcodereview.appspot.com/11637004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173941 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes the reference counting such that we always pass a reference to the plugin (in-process and out-of-process).
This also reverts https://src.chromium.org/viewvc/chrome?view=rev&revision=173626, since this is a more correct/complete fix. Now, if we end up trying to send the same HostResource more than once to the plugin, we should fail a DCHECK with this upcoming CL:
https://codereview.chromium.org/11576024/
BUG=165717,166498,166341
Review URL: https://codereview.chromium.org/11593032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173855 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This also removes unnecessary code from the PluginDelegate and PepperMessageFilter.
BUG=
Review URL: https://chromiumcodereview.appspot.com/11413200
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173850 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This makes bugs like 165717 much easier to detect. Without it, we only find out that something went wrong when we try to remove the non-unique HostResource from the host_resource_map_ the second time.
BUG=165717
Review URL: https://chromiumcodereview.appspot.com/11576024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173836 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bundle."
This reverts commit 420a648cde610bd200204dcc23fcc12bcdbfb5dc.
BUG= red daisy
TBR=mnissler
Review URL: https://codereview.chromium.org/11614030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173739 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Debugging nexes from pexes, could be done offline anyway.
Depends on: https://codereview.chromium.org/11576019/
to actually have an effect. Otherwise the flag is ignored.
BUG=none
Review URL: https://codereview.chromium.org/11566017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173737 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This bug seems to be really common, so log a message about it to the console.
BUG=
Review URL: https://chromiumcodereview.appspot.com/11620002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173676 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Useful to check interaction between Graphics3D and Fullscreen.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/11612004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173671 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
NACL_PPAPI_IPC_PROXY isn't defined when compiling the .cc files for the IPC proxy, so instead make a NACL_PPAPI_SRPC_PROXY variable that's used only when compiling the SRPC proxy and use that to determine which trace macros to use.
BUG=93839
Review URL: https://chromiumcodereview.appspot.com/11575050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173648 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=165717,166498
Review URL: https://chromiumcodereview.appspot.com/11568024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173626 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This introduces a MessageFilterHost which is a generic Pepper ResourceHost which can be used when all the ResourceHost does is forward messages to a message filter.
It seems good to keep the logic for handling resource messages on a background thread separate in the ResourceMessageFilter class. However, currently when writing a ResourceHost that uses a ResourceMessageFilter, the host ends up being empty. Also, we've been putting the code for the host and the message filter in the same file which is bad for code readability. MessageFilterHost can be used as a generic host in this case such that only the ResourceMessageFilter needs to be written. This reduces the amount of boilerplate needed in cases like this.
BUG=
Review URL: https://codereview.chromium.org/11601004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173619 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
model. The in process implementation is removed. Associated plugin delegate code is also removed.
BUG=
Review URL: https://chromiumcodereview.appspot.com/11516020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173578 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
TBR=brettw@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11572025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173559 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
gfx::Size value if a message omits width and height attributes.
BUG=165747
Review URL: https://codereview.chromium.org/11548038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173531 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes the time conversion code to be able to correctly handle epoch times
(e.g. when passing a PP_Time of 0). This eliminates the need to special-case
for epoch time in other code. In practice the problem this fixes only
manifests itself in test code.
BUG=
Review URL: https://codereview.chromium.org/11567013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173516 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This lets us have identifiers that match reserved words.
BUG=166268
Review URL: https://chromiumcodereview.appspot.com/11565053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173332 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
It's quite flaky on 32 bit windows
TBR=ncbray@chromium.org,mseaborn@chromium.org
BUG= http://code.google.com/p/chromium/issues/detail?id=162037
Review URL: https://codereview.chromium.org/11572048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173175 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The goal is to display an infobar for the user when when the NaCl
manifest does not have an entry for nexe usable on the user's
architecture (e.g. if the user is on arm but only x86 nexes have
been built).
This CL is the plumbing from the NaCl plugin (which actually
checks the manifest) into the browser process UI thread, which
can actually do the UI.
R=
sehr@chromium.org/jvoung@chromium.org (plugin, nacl_host)
brettw@chromium.org (ppapi/, chrome/renderer/pepper, chrome/browser/renderer_host)
jschuh@chromium.org (chrome/common)
BUG=154121
Review URL: https://chromiumcodereview.appspot.com/11446081
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173139 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=116317
TEST=nacl_integration
Review URL: https://chromiumcodereview.appspot.com/11415142
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173025 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Made the registration and deletion of transfer buffers async.
>
> Added an IPC to request multiple transfer buffer IDs up front.
>
> Every renderer command buffer proxy gets some IPCs immediately after initialization.
>
> Removed request_id arg from CreateTransferBuffer. It wasn't being used.
>
> Review URL: https://chromiumcodereview.appspot.com/11308296
TBR=apatrick@chromium.org
Review URL: https://codereview.chromium.org/11578020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173018 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Network state is a PPP interface available to native plugins only, but we'll check whether you have dev permissions before querying the plugin for it, just in case.
Most of the flash permissions are already handled in ppapi/proxy/ppb_flash_proxy.cc
Also removes some Flash DeviceID messages which were unused.
Review URL: https://codereview.chromium.org/11517012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172987 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL changes the json manifest validation such that if the manifest lacks the user's architecture in the program or file keys, we use a different error code enum, so that we can tell the difference between the developer creating a bad manifiest and the developer failing to support the user's architecture.
R=jvoung@chromium.org,ncbray@chromium.org
BUG=154121
Review URL: https://chromiumcodereview.appspot.com/11474034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172938 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See CR=11013017
Convert .h to .idl
R=yzshen@chromium.org
BUG=None
Review URL: https://chromiumcodereview.appspot.com/11446066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172932 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Refactor 4 PPB_Flash functions to the new PPAPI resource model.
>
> The functions being refactored are:
> -SetInstanceAlwaysOnTop
> -DrawGlyphs
> -GetProxyForURL
> -Navigate
>
> Each of these functions was manually tested with a Flash movie that uses it.
>
> Review URL: https://chromiumcodereview.appspot.com/11510008
TBR=raymes@chromium.org
Review URL: https://codereview.chromium.org/11576016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172927 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The functions being refactored are:
-SetInstanceAlwaysOnTop
-DrawGlyphs
-GetProxyForURL
-Navigate
Each of these functions was manually tested with a Flash movie that uses it.
Review URL: https://chromiumcodereview.appspot.com/11510008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172806 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added an IPC to request multiple transfer buffer IDs up front.
Every renderer command buffer proxy gets some IPCs immediately after initialization.
Removed request_id arg from CreateTransferBuffer. It wasn't being used.
Review URL: https://chromiumcodereview.appspot.com/11308296
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172805 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
PPB_Console was not added to the SRPC proxy because this proxy is deprecated.
BUG= none
Review URL: https://chromiumcodereview.appspot.com/11416214
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172762 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=159690
Review URL: https://codereview.chromium.org/11504003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172672 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This restriction doesn't make a lot of sense for .cc files, and there are in
fact already TODOs in the .cc files and this can choke the CQ.
BUG= none
Review URL: https://codereview.chromium.org/11555028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172671 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
PP_Var instead of a PP_Resource.
BUG=164498
TEST=EME decrypt and decode continues to work.
Review URL: https://chromiumcodereview.appspot.com/11442029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172534 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
BUG=164958
Review URL: https://codereview.chromium.org/11474040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172474 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This suite runs a number of important tests, including for dynamic
code loading and untrusted fault/exception handling.
inbrowser_test_runner was accidentally disabled in NaCl revision
r9589.
BUG=162037
TEST=nacl_integration
Review URL: https://codereview.chromium.org/11414250
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172416 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> PPAPI: Convert FileIO tests to new style & test background threads
>
> BUG=92909
>
>
> Review URL: https://chromiumcodereview.appspot.com/11421137
This fails consistently on the Linux debug test bot (see bug 92909 for details).
TBR=dmichael@chromium.org
BUG=92909
Review URL: https://codereview.chromium.org/11458005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172286 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=92909
Review URL: https://chromiumcodereview.appspot.com/11421137
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172261 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes Gamepad for NaCl.
BUG=163021,159689
TBR=brettw
Review URL: https://chromiumcodereview.appspot.com/11411365
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172248 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=
Review URL: https://chromiumcodereview.appspot.com/11511010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172240 0039d316-1c4b-4281-b951-d872f2087c98
|