summaryrefslogtreecommitdiffstats
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* plugins: use new WebPluginContainer::setWebLayer API for compositing.piman@chromium.org2012-12-172-0/+5
| | | | | | | | | BUG=164095 Review URL: https://chromiumcodereview.appspot.com/11567054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173545 0039d316-1c4b-4281-b951-d872f2087c98
* Add a base::ParseJson() function to help tests construct Values.jyasskin@chromium.org2012-12-171-52/+47
| | | | | | | | | | | | | | This is very similar to base::JSONReader::Read() except that it allows trailing commas and EXPECT-fails with a good message when the json is malformed. I migrated two tests to use this as a demonstration that it's widely useful and makes things more readable. Review URL: https://chromiumcodereview.appspot.com/11567027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173540 0039d316-1c4b-4281-b951-d872f2087c98
* Add DEPS rules to help enforce the general rule that the embedder should ↵joi@chromium.org2012-12-173-2/+17
| | | | | | | | | | | provide URLs and access tokens to server-side services. BUG=none Review URL: https://chromiumcodereview.appspot.com/11573034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173538 0039d316-1c4b-4281-b951-d872f2087c98
* Disable BrowserPluginHostTest.GuestUnresponsive on win and linux due to ↵tim@chromium.org2012-12-171-1/+9
| | | | | | | | | | | flakiness TBR=fsamuel@chromium.org BUG=164812 Review URL: https://codereview.chromium.org/11615005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173534 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt to reland r173248,173259zmo@chromium.org2012-12-1714-344/+286
| | | | | | | | | | | | | | | | | | | | | | | They were reverted for two reasons. 1) GpuSideBlacklist test is broken in winbots. It turns out the test is buggy, so I fixed the test in 173505 2) It broke official win build. So I reverted part of the original CL that could cause the failure: move the AMDVideoCardType enum def back to gpu_info_collector.h, although for chromium build, it doesn't need to be in the .h file. Hope this will make all bots (including official build) happe. Original CL text: Only collect GL/D3D context specific GPUInfo in GPU process Instead of collecting full GPUInfo. Basic GPUInfo are already collected at Browser process startup time. This avoids sandbox issue with libpci on linux. Also, it makes GPU startup faster. BUG=162928, 165374 TEST=manual about:gpu TBR=kbr Review URL: https://codereview.chromium.org/11576056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173533 0039d316-1c4b-4281-b951-d872f2087c98
* Remove IPC::MessageIterator.viettrungluu@chromium.org2012-12-172-4/+12
| | | | | | | | | | It's a rarely-used and completely unnecessary (and thin) wrapper around PickleIterator. Review URL: https://chromiumcodereview.appspot.com/11570038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173525 0039d316-1c4b-4281-b951-d872f2087c98
* Consolidate dialog style flags and strings; etc.msw@chromium.org2012-12-171-0/+1
| | | | | | | | | | | | | | | | | | Nix kEnableChromeStyleDialogs and kAuraGoogleDialogFrames. Replace with new ui/base switch kEnableNewDialogStyle. Consolidate strings, nix helper function, cleanup switches. Copy flag to renderer processes in RenderProcessHostImpl. Remove duplicate kEnableTouchDragDrop flag copy code. Replace ModalBackgroundView with a View and SolidBackground. BUG=166075 TEST=--enable-new-dialog-style replaces --enable-chrome-style-dialogs and --aura-google-dialog-frames R=sky@chromium.org,wittman@chromium.org Review URL: https://chromiumcodereview.appspot.com/11565019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173521 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 173246zmo@chromium.org2012-12-171-0/+4
| | | | | | | | | | | | | | | | > Re-enable texture_size on GPU bots > > After r173116, this should pass. > > BUG=166016 > TEST=gpu bots > TBR=skaslev,kbr,gman > Review URL: https://codereview.chromium.org/11572057 TBR=zmo@google.com Review URL: https://codereview.chromium.org/11570052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173519 0039d316-1c4b-4281-b951-d872f2087c98
* Fiddle with includes so we don't break the build once we land ↵pilgrim@chromium.org2012-12-172-1/+1
| | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=104704 Review URL: https://chromiumcodereview.appspot.com/11576028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173514 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "[RDS] Temporary workaround for black tabs"dfalcantara@chromium.org2012-12-171-2/+1
| | | | | | | | | | | | | | | | This reverts commit ceb4a0908420fc4ce217e96795d682128f22c3c8. https://chromiumcodereview.appspot.com/11316342/ The fix should land when WebKit rolls, so this workaround won't be necessary anymore. BUG=165436 TBR=jamesr Review URL: https://chromiumcodereview.appspot.com/11575048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173509 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the test for Windows.zmo@chromium.org2012-12-171-0/+1
| | | | | | | | | | | | | | | With this fix, the reverted CL 173259 can land. On windows we won't update GPUInfo's GL strings when ANGLE is used. So in order to trigger the update, the GL_VENDOR string should not be empty. BUG= TEST= TBR=kbr Review URL: https://codereview.chromium.org/11570049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173505 0039d316-1c4b-4281-b951-d872f2087c98
* Fix NULL pointer usage, it is P1 crash bug.felipeg@chromium.org2012-12-171-3/+16
| | | | | | | | | | | | | | | Just after DownloadControllerAndroidImpl::CreateGETDownload() being called and just before DownloadControllerAndroidImpl::PrepareDownloadInfo() being run, the Loader object that holds the request pointer could have been removed from the pending_loaders_ map (in resource_dispatcher_host_impl.cc) because of a request cancel. If that happens, the request pointer will be correctly NULL, but we don't check that. This scenario is not a race condition since all the three methods are called in the IO thread, but the order of the calling each of the 3 methods can lead to this problem. BUG=165784 Review URL: https://chromiumcodereview.appspot.com/11592012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173504 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: allow query parameters and fragments in remote debugging command urls.pfeldman@chromium.org2012-12-172-1/+10
| | | | | | Review URL: https://chromiumcodereview.appspot.com/11591016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173503 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Add API for specifying a charset for data Urls.benm@chromium.org2012-12-171-2/+42
| | | | | | | | | | | | | Currently it's not possible to change the charset of a data URL via the content.browser.LoadUrlParams API. Add an overload of the methods that build data URLs to support that. Android only change and android bots green. NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11571008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173487 0039d316-1c4b-4281-b951-d872f2087c98
* Browser Plugin: Reduce code repetition in BrowserPluginManager.fsamuel@chromium.org2012-12-176-450/+397
| | | | | | | | | | | | | | | Move the bulk of message handling in BrowserPluginmanager to BrowserPlugin. This is not just code simplification. This change will enable a more extensible BrowserPlugin by allowing observers to intercept messages on specific instances of BrowserPlugin and perform custom behavior or simply add more behavior to specific instances of BrowserPlugin. BUG=166165 Review URL: https://codereview.chromium.org/11565024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173476 0039d316-1c4b-4281-b951-d872f2087c98
* Browser Plugin: Remove events cruftfsamuel@chromium.org2012-12-171-10/+0
| | | | | | | | BUG=none Review URL: https://codereview.chromium.org/11565050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173475 0039d316-1c4b-4281-b951-d872f2087c98
* Telemtry: hooks "chrome.gpuBenchmarking.smoothScrollBy" with java on android.bulach@chromium.org2012-12-1715-15/+309
| | | | | | | | | | | | | In order to provide more realistic benchmarks, instead of shortcutting in native via mousewheels, let Telemetry cross all the boundaries and synthesize MotionEvents all the way up in java. BUG= TEST=./tools/perf/run_multipage_benchmarks --browser=system smoothness_benchmark tools/perf/page_sets/key_mobile_sites.json Review URL: https://chromiumcodereview.appspot.com/11415227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173457 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] if the document is plain text, dump it as textjochen@chromium.org2012-12-171-0/+5
| | | | | | | | | | BUG=111316 TEST=less tests that fail with [ Missing ] R=marja@chromium.org Review URL: https://codereview.chromium.org/11586008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173440 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] if a layout test runs notifyDone() before it has finished ↵jochen@chromium.org2012-12-172-0/+8
| | | | | | | | | | | loading, wait for the page to finish loading BUG=111316 R=marja@chromium.org Review URL: https://codereview.chromium.org/11594006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173436 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] implement additional URL handling methods of the WebTestDelegatejochen@chromium.org2012-12-176-30/+65
| | | | | | | | | | | Those callbacks are not yet used, but are required for the TestRunner BUG=111316 R=marja@chromium.org Review URL: https://codereview.chromium.org/11572041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173435 0039d316-1c4b-4281-b951-d872f2087c98
* Sandbox the worker process on Macjeremy@chromium.org2012-12-172-4/+7
| | | | | | | | | | | | | When we transitioned to content it looks like we lost the Mac sandbox for workers, this CL re-enables it. Also, update the comment in sandbox_init_mac.h BUG=163208 TEST=Chrome should continue to work correctly. Review URL: https://chromiumcodereview.appspot.com/11590006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173432 0039d316-1c4b-4281-b951-d872f2087c98
* Add UMA for measuring Content-Dispostion header use and abuse.asanka@chromium.org2012-12-173-0/+100
| | | | | | | | BUG=162815 Review URL: https://chromiumcodereview.appspot.com/11478034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173403 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] use WebTestRunner::WebPreferences for layout testsjochen@chromium.org2012-12-178-41/+44
| | | | | | | | | | | | | Also, implement two further TestDelegate methods BUG=111316 TEST=xssAuditor tests still work R=marja@chromium.org Review URL: https://chromiumcodereview.appspot.com/11565036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173402 0039d316-1c4b-4281-b951-d872f2087c98
* Generate PageTransitionTypes.java for Androidboliu@chromium.org2012-12-168-130/+180
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/11577016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173372 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Android ContentShell's incorrect behavior when opening link with ↵shouqun.liu@intel.com2012-12-161-1/+5
| | | | | | | | | | | | | | | | | | window.open. Fixed the two following issues: - When open a link with 'window.open', new shell content is not rendered correctly, the content is always DEFAULT_SHELL_URL(http://www.google.com). - When ContentShell activity is stopped and restarted, the rendered content is clear and reload to DEFAULT_SHELL_URL. BUG=165745 TEST=manual: verified link in news.google.com is opened and rendered correctly Review URL: https://chromiumcodereview.appspot.com/11574003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173370 0039d316-1c4b-4281-b951-d872f2087c98
* - crash when calling abort() in all ppapi processes;yzshen@chromium.org2012-12-162-17/+16
| | | | | | | | | | | | - crash when calling exit(), _exit() and ExitProcess() in Pepper Flash process. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/11565026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173362 0039d316-1c4b-4281-b951-d872f2087c98
* Javascript TouchEvents now get key state mods.girard@chromium.org2012-12-161-0/+2
| | | | | | | | | BUG=162623 Review URL: https://chromiumcodereview.appspot.com/11416176 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173352 0039d316-1c4b-4281-b951-d872f2087c98
* This patch will use the device listener in media to monitor audio capture ↵xians@chromium.org2012-12-161-2/+9
| | | | | | | | | | | | | | | device changed. The reasons for doing this include: # when using the device notification from content/browser, the notification comes before the device is fully initialized, so the change won't show up in the following device enumeration. # I saw a serious crash by plugging in or unplugging an audio device, I believe it is because some racing between two notifications, if this is the case, this patch should fix it. BUG=160872,165147 TEST=manual test by plugging and unplugging device, look at the device selection menu in content setting media. Review URL: https://chromiumcodereview.appspot.com/11529012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173350 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented GetWindowSnapshot on RenderViewImplbajones@chromium.org2012-12-157-0/+71
| | | | | | | | | | | | | | | This necessitated the relocation of the previous chrome::GrabWindowSnapshot code to ui/snapshot, which has been turned into it's own component to avoid circular dependencies with aura. A new variant of GrabWindowSnapshot, GrabViewSnapshot, has been added as well to facilitate easier usage by views. chrome::GrabWindowSnapshotForUser was left in place to accomodate existing calls to the API, but now calls up to the ui/snapshot code. This is a subset of the prior CL 11362023, which has been broken apart to facilitate easier reviews BUG=157479 Review URL: https://chromiumcodereview.appspot.com/11399002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173329 0039d316-1c4b-4281-b951-d872f2087c98
* [Android WebView] Tie together Chrome's browser compositor with the Android ↵leandrogracia@chromium.org2012-12-153-0/+18
| | | | | | | | | | | | | | | | | | View system. This patch introduces a new feature to the compositor: - A setting to enable cleaning the framebuffer, disabled by default. This prevents destroying data below us when rendering non-rectangular views (e.g. during a rotation). A second required feature will be added by a later patch: - A device scissor rect that intersects any scissor calculation. Used to ensure we never render outside where the Android View System tells us. There are also some issues with the Android View side regarding the restoration of the GL state. This patch introduces a temporary workaround by reading and manually restoring the state changed by the compositor. This will go out as soon as the problem is fixed in the Android side. BUG=161409,154180 Review URL: https://chromiumcodereview.appspot.com/11316310 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173324 0039d316-1c4b-4281-b951-d872f2087c98
* net: Change argument of URLRequest::set_upload from UploadData to ↵hashimoto@chromium.org2012-12-153-16/+20
| | | | | | | | | | | | | | | UploadDataStream Users of URLRequest are now responsible to create UploadDataStream. UploadOwnedBytesElementReader is moved from upload_data_stream.cc to upload_bytes_element_reader.h. BUG=156574 TEST=net_unittests and git try TBR=abodenha@chromium.org for cloud_print/service/service_state.cc Review URL: https://chromiumcodereview.appspot.com/11439008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173318 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure keymessage response to generateKeyRequest() has keySystem set for ↵ddorwin@chromium.org2012-12-151-2/+1
| | | | | | | | | | | | | | | external CDMs. Always post a task for all EME app-facing events, which was the intention when calling CallOnMain(). Also added DCHECKs to avoid sending empty keySystem and refactored the code a bit to minimize the number of paths. BUG=166204 TEST=Enabled check in encrypted_media_utils.js Review URL: https://chromiumcodereview.appspot.com/11583013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173303 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 173248, broke building on the official chrome/win bot:thakis@chromium.org2012-12-1514-283/+347
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Win/builds/15269/steps/compile/logs/stdio#error1 155> amd_videocard_info_win.cc 155>..\third_party\amd\amd_videocard_info_win.cc(20):error C2146: syntax error : missing ';' before identifier 'GetAMDVideocardType' 155>..\third_party\amd\amd_videocard_info_win.cc(20):error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 155>..\third_party\amd\amd_videocard_info_win.cc(20):error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 155>..\third_party\amd\amd_videocard_info_win.cc(30):error C2065: 'UNKNOWN' : undeclared identifier 155>..\third_party\amd\amd_videocard_info_win.cc(38):error C2065: 'UNKNOWN' : undeclared identifier 155>..\third_party\amd\amd_videocard_info_win.cc(49):error C2065: 'STANDALONE' : undeclared identifier 155>..\third_party\amd\amd_videocard_info_win.cc(50):error C2065: 'SWITCHABLE' : undeclared identifier 155>..\third_party\amd\amd_videocard_info_win.cc(50):error C2065: 'UNKNOWN' : undeclared identifier 155>..\third_party\amd\amd_videocard_info_win.cc(50): warning C4508: 'gpu_info_collector::GetAMDVideocardType' : function should return a value; 'void' return type assumed > Only collect GL/D3D context specific GPUInfo in GPU process > > Instead of collecting full GPUInfo. Basic GPUInfo are already collected at Browser process startup time. > > This avoids sandbox issue with libpci on linux. Also, it makes GPU startup faster. > > BUG=162928,165374 > TEST=manual about:gpu > TBR=joi > Review URL: https://codereview.chromium.org/11574049 TBR=zmo@chromium.org Review URL: https://codereview.chromium.org/11576052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173267 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 173259, broke win7 tests:thakis@chromium.org2012-12-151-15/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%281%29/builds/13892/steps/content_unittests/logs/GpuSideBlacklisting GpuDataManagerImplTest.GpuSideBlacklisting: browser\gpu\gpu_data_manager_impl_unittest.cc(147): error: Value of: manager->GpuAccessAllowed() Actual: true Expected: false browser\gpu\gpu_data_manager_impl_unittest.cc(150): error: Value of: manager->GetBlacklistedFeatures() Actual: 4 Expected: GPU_FEATURE_TYPE_WEBGL | GPU_FEATURE_TYPE_ACCELERATED_2D_CANVAS Which is: 5 > Fix a bug in r173248 > > Otherwise it will fail GPU blacklisting. > > BUG=162928,165374 > TEST=manual about:gpu on machines with blacklisted features > TBR=kbr > Review URL: https://codereview.chromium.org/11577033 TBR=zmo@google.com Review URL: https://codereview.chromium.org/11576051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173266 0039d316-1c4b-4281-b951-d872f2087c98
* overscroll: Send all gesture-events to the gesture-event filter.sadrul@chromium.org2012-12-152-33/+53
| | | | | | | | | | | | | The gesture-event filter should receive all gesture events (irrespective of their source device). The overscroll-controller was erroneously sending it gesture-events only from the touch-screen, thus causing the gesture-event filter to receive ACKs for gesture events it wasn't expecting, resulting in crashes. BUG=165207, 165205 Review URL: https://codereview.chromium.org/11574047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173263 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bug in r173248zmo@google.com2012-12-151-9/+15
| | | | | | | | | | | Otherwise it will fail GPU blacklisting. BUG=162928,165374 TEST=manual about:gpu on machines with blacklisted features TBR=kbr Review URL: https://codereview.chromium.org/11577033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173259 0039d316-1c4b-4281-b951-d872f2087c98
* Fix typo'd usage of OS_MAC vs OS_MACOSX!dalecurtis@google.com2012-12-152-2/+2
| | | | | | | | | | | | __Now__ renderer side mixing is enabled on Mac :-/ BUG=162768 TEST=audio works, tests pass. TBR=sky Review URL: https://codereview.chromium.org/11411189 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173253 0039d316-1c4b-4281-b951-d872f2087c98
* EME v0.1: Report defaultURL in KeyMessage.ddorwin@chromium.org2012-12-152-10/+58
| | | | | | | | | | | Only valid URLs will be reported. BUG=164656 TEST=The keymessage event for external Clear Key includes a fixed URL. Review URL: https://codereview.chromium.org/11469040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173251 0039d316-1c4b-4281-b951-d872f2087c98
* Only collect GL/D3D context specific GPUInfo in GPU processzmo@chromium.org2012-12-1514-347/+283
| | | | | | | | | | | | | Instead of collecting full GPUInfo. Basic GPUInfo are already collected at Browser process startup time. This avoids sandbox issue with libpci on linux. Also, it makes GPU startup faster. BUG=162928,165374 TEST=manual about:gpu TBR=joi Review URL: https://codereview.chromium.org/11574049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173248 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable texture_size on GPU botszmo@google.com2012-12-151-4/+0
| | | | | | | | | | | After r173116, this should pass. BUG=166016 TEST=gpu bots TBR=skaslev,kbr,gman Review URL: https://codereview.chromium.org/11572057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173246 0039d316-1c4b-4281-b951-d872f2087c98
* Enable virtual context on IMG devices in a different waysievers@chromium.org2012-12-152-5/+21
| | | | | | | | | | | | | | | | | | Revert "Enable virtual context on IMG devices only." > Review URL: https://chromiumcodereview.appspot.com/11555010 The flags are only initialized *after* we create the context and init the decoder (needs a current context for glGetString()). Instead, append the commandline from gpu_info_collector_android.cc. BUG=160710,165531 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11564027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173245 0039d316-1c4b-4281-b951-d872f2087c98
* SECCOMP-BPF: Added supported for inspection system call arguments from BPF ↵markus@chromium.org2012-12-151-5/+5
| | | | | | | | | | | | | filters. BUG=130662 TEST=sandbox_linux_unittests NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11411254 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173243 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of ipc_sender.h include in ipc_message.h.viettrungluu@chromium.org2012-12-146-3/+14
| | | | | | Review URL: https://codereview.chromium.org/11574040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173238 0039d316-1c4b-4281-b951-d872f2087c98
* Encrypted Media: Support Audio Decrypt-Only.xhwang@chromium.org2012-12-141-8/+6
| | | | | | | | | | | | | | - Add AudioDecoderSelector to facilitate AudioDecoder selection. - Add AudioDecoderSelectorTest. - Update key_system.cc to support audio in clearkey key system. - Update content_browsertests to test audio decrypt-only. BUG=123421 TEST=both decrypt-only and decrypt-and-decode works for audio! Review URL: https://codereview.chromium.org/11492003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173235 0039d316-1c4b-4281-b951-d872f2087c98
* Linux Sandbox: Basic support for GPU broker.jln@chromium.org2012-12-141-86/+84
| | | | | | | | | | | | | | | We add a GPU broker process to make sure we can open certain files once the sandbox is started. We do not need to allow open() in the GPU policy in certain configuration anymore, which creates an effective GPU sandbox. BUG=166111 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11569028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173233 0039d316-1c4b-4281-b951-d872f2087c98
* gesture event filter: Add a check to help debug a crash.sadrul@chromium.org2012-12-141-0/+1
| | | | | | | | | | | | | It looks like we may be popping an empty deque, which seems to mess up some internal state in the deque, causing a crash somewhere down the line. So add a CHECK before dequeing to verify that that is in fact the case. BUG=165207, 165205 Review URL: https://codereview.chromium.org/11571028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173229 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] implement testRunner.execCommandjochen@chromium.org2012-12-144-0/+36
| | | | | | | | | | | BUG=111316 TEST=editing/execCommand tests pass R=marja@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11573035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173210 0039d316-1c4b-4281-b951-d872f2087c98
* Remove webview gyp time dependency on third_party/eyesfreeboliu@chromium.org2012-12-141-1/+7
| | | | | | | | | | | | | Android only gyp fix for webview. All trybots already passed compile step. TBR=jam@chromium.org NOTRY=true BUG= Review URL: https://chromiumcodereview.appspot.com/11576034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173188 0039d316-1c4b-4281-b951-d872f2087c98
* Only unbind a Graphics2D on destruction when we're actually bound.brettw@chromium.org2012-12-141-5/+5
| | | | | | | | | | Previously if you made a new Graphics2D, bound it, and deleted the previous one, the first one would blindly unbind the current graphics 2D context in its destructor, which leaves you with a blank page. BUG=164302 Review URL: https://codereview.chromium.org/11571016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173181 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 172287jamesr@chromium.org2012-12-142-41/+0
| | | | | | | | | | | | | | | | | | | | | > Sync Ime and Keyboard events. > > Adding code to sync ime and keyboard events to make sure they arrive to > renderer in correct order. Ime events will be queued in the input_event_filter > if the message_ queue is not empty (Compositor is handling those events). If > the queue is empty, then the message will not be accepted and just forwared > directly to renderer. > > BUG=164470 > > > Review URL: https://chromiumcodereview.appspot.com/11490017 TBR=aurimas@chromium.org BUG=166175 Review URL: https://codereview.chromium.org/11577024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173179 0039d316-1c4b-4281-b951-d872f2087c98