| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This also removes some of the old InvokePrinting plumbing for the PPB_Flash
interface. I kept the old version of the function since removing it will make
the interface fallback more complicated.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10383013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135738 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
With this CL, using ScopedModuleReference is just a no-op there. This fixes a crash when using MouseLock out of process.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/10383052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135737 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=simple usage test in nacl
Review URL: https://chromiumcodereview.appspot.com/10354004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135735 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
net::AddressList extends std::vector<std::IPEndPoint> by canonical name. (Canonical name is planned to be removed as well.)
Removes dependency on sys_addrinfo.h throughout the codebase.
Introduces net::SockaddrStorage for convenience.
BUG=125696
TEST=green waterfall
Review URL: http://codereview.chromium.org/10309002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135731 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
know those windows where they need a renderer at shutdown to finish saving state.
Updated flash api version to 12.4.
BUG=https://code.google.com/p/flapper/issues/detail?id=120
Review URL: https://chromiumcodereview.appspot.com/10302021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135727 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to make TestFailures() pass fully, we have to add a NULL
callback check to Create().
BUG=none
TEST=browser_tests
Review URL: http://codereview.chromium.org/10221026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135620 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
note: the bug ref is for a different issue, but a CL in that
issue is the one that originally bumped the number of stress
test iterations.
BUG=http://code.google.com/p/chromium/issues/detail?id=120728
TEST=ppapi_ppb_image_data.cc
Review URL: http://codereview.chromium.org/10317025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135482 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This path is to the parent of the top-level src/ directory and was required to
support nacl. It was added to ppapi/ppapi.gyp in
http://src.chromium.org/viewvc/chrome?view=rev&revision=65614 and later moved
to ppapi/ppapi_proxy.gypi.
Use of a path outside the top-level src/ directory seems wrong. Furthermore, it
is no longer required to build either Chromium or nacl, so should be removed.
TEST=Chromium and nacl build OK
Review URL: http://codereview.chromium.org/10365020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135462 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=121561
R=brettw
Review URL: https://chromiumcodereview.appspot.com/10332018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135429 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=109775
TEST=
Review URL: http://codereview.chromium.org/10284005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135394 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change wires up GetDeviceID and passes in the BrowserContext into
PepperMessageFilter rather than the extracted ResourceContext.
The pepper drm identifier is a value provided for use by flash. It may
be reset or disabled by the user and cannot function in OffTheRecord
embodiments.
In Guest mode, the identifier is never generated. When in incognito,
the ppapi plugin will be informed of the the profile state and not make
the call. Later, this will be enforced in the message filter as well.
Note, the preference is currently defaulted to true and does not have a
UI connection. The UI is being wired up as part of crbug.com/125899.
At which point, we can make the setting syncable and chose the preferred
default.
This change bounces the GetDeviceID call through the renderer back to
the browser so that we have the path context to read the file from.
This same approach can be used to allow OTR checking and preference
reading if that is preferable to a file. If we need to do anything on
the UI thread, we should do everything there (OTR+Pref).
Since the ID is regenerated at every pref init/toggle, we can move the
value around without impacting users in the future.
Please let me know if I've totally botched the wiring for this. I'm not
sure the best way to fully test it.
TEST=built and tested on x86-alex target:
- ID is generated for normal sign-in in /home/chronos/user and is not generated for Guest.
- Very lightweight ppapi test was run too.
(Still need pointers on better flash api wiring testing to make sure it is seeing right string)
- Pepper flash still worked normally
Also built full x86-alex system image:
- booted it
- checked the file existence in both modes
- checked pepflash and talk video for normal functionality
TRYBOT=http://build.chromium.org/p/tryserver.chromium/builders/cros_x86/builds/353
BUG=chromium-os:30378
Change-Id: Ibfbc484918d94147ad4fdc522a6415c71731068b
R=brettw,sky,piman,viettrungluu
Review URL: http://codereview.chromium.org/10342013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135255 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=104040
R=ben@chromium.org
TBR=brettw@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10351002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135232 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Builders have been failing since r134959.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10344026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135208 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
These headers make using gl extensions easier.
BUG=none
TEST=ppb_graphics3d,building of gles book examples
Review URL: https://chromiumcodereview.appspot.com/10290006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135074 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10278007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135010 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TEST=none
BUG=none
Review URL: https://chromiumcodereview.appspot.com/10253017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134990 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This cleanup has been made possible by moving
sel_ldr_launcher_chrome.cc into the Chromium repo.
BUG=http://code.google.com/p/nativeclient/issues/detail?id=2750
TEST=build
Review URL: https://chromiumcodereview.appspot.com/10267027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134967 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10213005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134959 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I moved sel_ldr_launcher_chrome.cc into the Chromium repo in r134552
but I forgot to update build.scons. This update is necessary for
removing sel_ldr_launcher_chrome.cc from the NaCl repo because it
ensures that the 'launch_nacl_process' variable (which module_ppapi.cc
assigns to) will be defined. (The alternative would be to
conditionalise the assignment of 'launch_nacl_process' in
module_ppapi.cc.)
BUG=http://code.google.com/p/nativeclient/issues/detail?id=2750
TEST=NaCl's Scons build
Review URL: http://codereview.chromium.org/10261016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134619 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will allow the launch_nacl_process() callback to be simplified by
removing unused arguments. But for now, I have left
sel_ldr_launcher_chrome.cc unchanged except to change its use of
namespaces.
BUG=http://code.google.com/p/nativeclient/issues/detail?id=2750
TEST=nacl_integration etc.
Review URL: https://chromiumcodereview.appspot.com/10266003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134552 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=119511
TEST=none
TBR=brettw
Review URL: https://chromiumcodereview.appspot.com/10260015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134548 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This removes the manual Flash interface registration and adds them via the
interfaces_ppb_private_flash.h header. I moved File_ModulalLocal and
File_FileRef to the Flash API virtual interface which allowed me to delete
the separate proxies and stuff associated with those interfaces.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10169040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134540 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
List files in 'test_common_source_files' instead of listing them in
both 'test_nacl_source_files' and 'test_trusted_source_files'.
This makes it more obvious which tests are not yet enabled for NaCl.
Note that test_memory.cc was listed twice in the NaCl section, and
tests/test_mouse_cursor.h was missing from the trusted section.
BUG=none
TEST=trybots
Review URL: https://chromiumcodereview.appspot.com/10257017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134510 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The FunctionGroupBase stuff was intended to used for our manual RTTI for
interfaces not associated with resources. However, we've been putting most
of those interfaces on the PPB_Instance_API which allows us to skip a
whole lot of routing, setup, and boilerplate code.
This patch moves the two remaining classes deriving from FunctionGroupBase
and moves them to special getters on the globals class. We'll keep these
classes around and since there are only two, it seems to warrant the special
case.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10168026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134509 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
The instrumentation in this CL served its purpose, and is now being removed.
BUG= http://code.google.com/p/chromium/issues/detail?id=122057
TEST= none
Review URL: http://codereview.chromium.org/10236013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134381 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10255009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134361 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
deps. Most of these are already listed in DEPS files, and it seems that we want to prevent includes on them just like normal directories that are in our tree (otherwise content can depend on native_client, for ex)
Review URL: https://chromiumcodereview.appspot.com/10248005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134296 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This shares the implementation with the PDF interface. I put the implementation
in the Flash file since that file was already so much smaller, and this one
function didn't seem worth creating a new shared file for.
This also does some cleanup of the Chrome PPB interfaces. I separated out the
implementation of the NaCl interface into its own file, and moved everything
into a new renderer/pepper subdirectory.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10173029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134285 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to delete a bunch of separate files that just do routing.
TEST=none
BUG=none
Review URL: https://chromiumcodereview.appspot.com/10170014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134284 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=http://code.google.com/p/chromium/issues/detail?id=124863
TEST=various CWS titles
Review URL: http://codereview.chromium.org/10213015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134204 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This declaration prevents us from defining SelLdrLauncher via a
typedef. Plus it should really be a class, not a struct.
BUG=none
TEST=build
Review URL: http://codereview.chromium.org/10192003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134196 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
change, just trying to fix the auto-generated documentation.
BUG=none
TEST=none
R=dmichael@chromium.org
Review URL: http://codereview.chromium.org/10236012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134191 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
sentence in audio_config.h.
Review URL: http://codereview.chromium.org/10069017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134159 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
it will call the audio callback with an invalid buffer.
This also shifts all the state checks into the start of StartThread for safety/clarity. Note that this changes the behavior very slightly in that shared memory will be mapped even if a callback is not provided. However, AFAICT this will not be the common case and IMO simplifies the logic here. If you disagree, I'm happy to add the additional check.
BUG=118346
TEST=Audio tests
Review URL: http://codereview.chromium.org/10107021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134150 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=this is the test
Review URL: http://codereview.chromium.org/10226012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134135 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=119511
TEST=none
TBR=brettw
Review URL: https://chromiumcodereview.appspot.com/10232014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134122 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=chromium:120470
TEST=browser_tests:*.UDPSocketPrivate
Review URL: http://codereview.chromium.org/10196012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134084 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Because PPB_Var_Deprecated_Proxy::OnMsgReleaseObject() can
defer a ReleaseVar() call past the time an instance is destroyed, and because
as part of instance destruction HostVarTracker::ForceReleaseNPObject() forcibly
zeroes a variable's ref_count and deletes it, the deferred ReleaseVar() call
will hit this path frequently and blow up the debugger.
Review URL: https://chromiumcodereview.appspot.com/10227009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133968 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to delete the separate proxy files for this.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10163012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133955 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The WebSocket API defines that call to Close() on CLOSED state must do nothing
and cause no error. Currently Pepper API returns PP_ERROR_INPROGRESS. This
error code is confusing. We should return PP_OK here.
BUG=124866
TEST=browser_tests --gtest_filter='*WebSocket*'
Review URL: http://codereview.chromium.org/10169036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133894 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This function is not defined or used anywhere any more.
BUG=none
TEST=build
Review URL: http://codereview.chromium.org/10198008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133794 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
The functions ByteStringAsUTF8() and ByteStringFromUTF8() are no longer used.
BUG=none
TEST=build
Review URL: https://chromiumcodereview.appspot.com/10206009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133765 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
IDL defines close behavior as it ignores the reason argument if the type of
reason is PP_VARTYPE_UNDEFINED.
BUG=124609
TEST=browser_tests --gtest_filter='*WebSocket*'
Review URL: http://codereview.chromium.org/10167028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133646 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was a bit tricky since some of the functions had no instance context, so I added global functions on the PpapiGlobals interface for them. It would be nice to add a PP_Instance argument and fix this in the future.
I did a new style of doing the thunking. The "function APIs" haven't really worked out since it's almost always easier to add the functions directly on the instance one. Since this is a larger and more separable chunk, I just added a getter on the instance API for the flash API and thunk through that. I'd like to convert the remaining ~3 function APIs to either call directly on the instance or use this method, but that's not addressed by this patch.
I moved the flash command line switch to plugin_switches so this could be hooked up properly. It allowed me to delete the delegate API for this.
I combined the flash fullscreen functions into the new Flash API which removed a bit of code.
Review URL: https://chromiumcodereview.appspot.com/10091003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133636 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
ppapi_proxy_untrusted.gyp should now build with a single link error for main.
BUG=116317
TEST=builds with a single link error for main().
Review URL: https://chromiumcodereview.appspot.com/10167024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133519 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=http://code.google.com/p/chromium/issues/detail?id=120837
TEST=variuos nacl audio samples
Review URL: http://codereview.chromium.org/10165016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133502 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
like a complete example (rather then autogenerate them).
This reverts part of r133327.
Bail out for PNaCl for now, until we turn on these tests.
BUG= none
TEST= trybots
Review URL: https://chromiumcodereview.appspot.com/10191008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133487 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
DeepCopy creates a ListValue*, which swap (correctly) doesn't free.
CID=103840
R=brettw,raymes
BUG=
TEST=
Review URL: http://codereview.chromium.org/10168015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133478 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
R=viettrungluu@chromium.org
TEST=
BUG=
Review URL: http://codereview.chromium.org/10162022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133474 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
compatible, even though they are currently marked broken for PNaCl.
Bail out for partly_invalid, since:
- that depends on a nexe built from a nacl.scons file in NaCl repo and
- the nexe name doesn't follow the autogenerator's pattern
- and the nacl repo's pyauto expects the .nmf
Can untie those dependencies later...
This will allow use to run ./scons bitcode=1 platform=${arch}
again, without complaints about missing .nexe dependencies
required by the checked-in NMF files, even though we are
generating .pexes.
BUG= http://code.google.com/p/nativeclient/issues/detail?id=2609
TEST= trybots
Review URL: http://codereview.chromium.org/10166018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133327 0039d316-1c4b-4281-b951-d872f2087c98
|