summaryrefslogtreecommitdiffstats
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* Fix onKeyAdded check causing flakiness in the tests, and enabling relevant ↵shadi@chromium.org2013-01-042-4/+5
| | | | | | | | | | | disabled test. BUG=168252 Review URL: https://chromiumcodereview.appspot.com/11753017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175113 0039d316-1c4b-4281-b951-d872f2087c98
* IndexedDB: Re-enable intversion-close-between-events testjsbell@chromium.org2013-01-041-2/+1
| | | | | | | | | | | | | | Test was flaky due to event timing differences between single and multi-process WebKit ports. The test was made more resilient in http://wkrev.com/138402 which has now rolled, so re-enabling. R=dgrogan@chromium.org,alecflett@chromium.org BUG=163694 Review URL: https://chromiumcodereview.appspot.com/11746026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175111 0039d316-1c4b-4281-b951-d872f2087c98
* Validate texture sizes given to VDAsheu@chromium.org2013-01-041-0/+7
| | | | | | | | | | | | | Make sure that the texture sizes as passed from the untrusted renderer to the to the VDA on the GPU process match with the texture's size as the GPU process has tracked it. BUG=chromium:168293 TEST=local build, run on x86, snow Review URL: https://chromiumcodereview.appspot.com/11722023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175101 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some usage of the ENABLE_GPU macro.apatrick@chromium.org2013-01-0411-50/+0
| | | | | | | | At this point it is always defined. Review URL: https://chromiumcodereview.appspot.com/11722024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175094 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a problem that background can sometimes be seen when playing fullscreen ↵qinmin@chromium.org2013-01-041-1/+1
| | | | | | | | | | | | | | video If there is no video frame available, we can see the background page when playing fullscreen video. Using setZOrderOnTop() so that the video surfaceView will be on top of the window, rather than punching a hole in the window. BUG=167396 Review URL: https://chromiumcodereview.appspot.com/11741028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175092 0039d316-1c4b-4281-b951-d872f2087c98
* Delete code / cleanup in GpuProcessHost.apatrick@chromium.org2013-01-043-155/+96
| | | | | | Review URL: https://chromiumcodereview.appspot.com/11744008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175076 0039d316-1c4b-4281-b951-d872f2087c98
* Proxy new objectstore/index methods through IPCalecflett@chromium.org2013-01-049-7/+715
| | | | | | | | | | | 8 new messages corresponding to 8 new methods in IDBDatabaseBackendInterface. BUG=161958 Review URL: https://chromiumcodereview.appspot.com/11567029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175066 0039d316-1c4b-4281-b951-d872f2087c98
* RenderViewImplTest.LastCommittedUpdateState is flakymichaeln@google.com2013-01-031-1/+2
| | | | | | | BUG=157357 Review URL: https://codereview.chromium.org/11720004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175057 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce callback interface for running Javascript asynchronously in the ↵avi@chromium.org2013-01-036-23/+78
| | | | | | | | | | | | renderer. BUG=168169 TEST=none Review URL: https://chromiumcodereview.appspot.com/11746019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175051 0039d316-1c4b-4281-b951-d872f2087c98
* Allow Plugin placeholders to be shown when plugins are disabled.nileshagrawal@chromium.org2013-01-031-1/+1
| | | | | | | | | BUG=167971,162667 Review URL: https://chromiumcodereview.appspot.com/11742017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175042 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Reuse the URL pasteboard code, gain more types."avi@chromium.org2013-01-032-27/+36
| | | | | | | | | | | Setting the URL title to be the last part of the URL leads to surprising results when dragging apps. Plus this didn't help with actually fixing the bug it was intended to fix. This reverts commit r174518. BUG=55879, 167558 Review URL: https://chromiumcodereview.appspot.com/11722015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175035 0039d316-1c4b-4281-b951-d872f2087c98
* Disable accelerated_video_decode on windows that's earlier than win7.zmo@chromium.org2013-01-031-2/+18
| | | | | | | | | | | | This should not change anything becuase it's never supported on older windows. Blacklisting the feature only let chrome know earlier, to avoid a renderer hang. BUG=159458 TEST=content_unittests Review URL: https://codereview.chromium.org/11753013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175034 0039d316-1c4b-4281-b951-d872f2087c98
* Pull delegate check back into IsDownloadReadyForCompletion so that ifrdsmith@chromium.org2013-01-037-34/+28
| | | | | | | | | | | | | | the delegate check results in a transition -> DANGEROUS, we notice that rather than complete the download. BUG=164777 R=asanka@chromium.org Review URL: https://chromiumcodereview.appspot.com/11740026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175032 0039d316-1c4b-4281-b951-d872f2087c98
* Switch GetScaledContentTexture to scale from Sizedtrainor@chromium.org2013-01-035-7/+25
| | | | | | | | | | | | | Using Size caused issues because we occasionally had the wrong Size, and we'd stretch the content texture to fit. Now it scales it and returns the Size of the texture in an out parameter. BUG=166998 Review URL: https://chromiumcodereview.appspot.com/11636057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175009 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarilty turn off a DCHECK that's getting hit on ungraceful test harness ↵michaeln@google.com2013-01-031-1/+3
| | | | | | | | | shutdown. BUG=166470,164403 Review URL: https://codereview.chromium.org/11744022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175002 0039d316-1c4b-4281-b951-d872f2087c98
* Replace all uses of base/mac/crash_logging.h with base/debug/crash_logging.h.rsesek@chromium.org2013-01-033-15/+15
| | | | | | | | | | This also centralizes most crash keys into a constants file. BUG=77656 Review URL: https://codereview.chromium.org/11734011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174985 0039d316-1c4b-4281-b951-d872f2087c98
* Remove checks for transitional WebKit #defines that are always setjamesr@chromium.org2013-01-031-6/+0
| | | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/11753007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174944 0039d316-1c4b-4281-b951-d872f2087c98
* Number of small improvements to CleanupReferencejoth@chromium.org2013-01-031-12/+42
| | | | | | | | | | | | | | | | | - sRef is now only accessed on main thread, so CleanupReference should now be threadsafe - synchronously flushes sQueue when references added or removed on main thread, to avoid falling behind when heap is churning rapidly (i.e. finalizers never getting to run scenario). - ensure the referene gets removed from sRefs after a GC as otherwise it might have remained on there indefinitely. BUG= Review URL: https://chromiumcodereview.appspot.com/11648040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174931 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded browser_thread.h includes in contents.thestig@chromium.org2013-01-0333-30/+19
| | | | | | Review URL: https://chromiumcodereview.appspot.com/11618049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174922 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 174257 with fix for win_auraapatrick@chromium.org2013-01-031-27/+24
| | | | | | | | | | | | win: AcceleratedPresenter replies to the GPU process as soon as shared texture is copied. This means the GPU does not deschedule for as long waiting until it can render to the back buffer safely. TBR=apatrick@chromium.org Review URL: https://chromiumcodereview.appspot.com/11642051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174920 0039d316-1c4b-4281-b951-d872f2087c98
* Increase GPU watchdog timeout after resume.jbauman@chromium.org2013-01-032-9/+19
| | | | | | | | | | | If the time since the last check is really long, probably due to the computer being suspended, increase the timeout to 3 times what it would normally be, to allow for some slowness upon resuming from being suspended. BUG=154572 Review URL: https://chromiumcodereview.appspot.com/11744013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174919 0039d316-1c4b-4281-b951-d872f2087c98
* Remove OVERRIDE keyword from functions that don't really need itpilgrim@chromium.org2013-01-031-34/+34
| | | | | | Review URL: https://chromiumcodereview.appspot.com/11744005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174899 0039d316-1c4b-4281-b951-d872f2087c98
* Undo change to render_view_impl.cc for crbug.com/153907 (Request Table Site ↵sschmitz@chromium.org2013-01-031-2/+0
| | | | | | | | | | | | | | | | | | | | not working) Pre request from dfalcantara@: When you get a chance, can you try reverting the change you landed to render_view_impl.cc for http://crbug.com/153907 ? We ended up getting bitten by a similar bug as you guys and a fix for WebKit just landed that should address it. Solution: removed "#if defined(OS_ANDROID)" around one line of code. See also: https://chromiumcodereview.appspot.com/11227065/ BUG=166652 TEST=manual:enable "Request RTS flag" (chrome://flags "Enables the request tablet site option in the settings menu"). Navigate to something like: www.whatsmyua.com www.whatsmyuseragent.com www.espn.com www.facebook.com Under Settings toggle "Request Tablet Site". Observe the page reloading with "tablet site look". Exit and reenter chrome with one or more tabs that have RTS enabled and observe "look". Review URL: https://chromiumcodereview.appspot.com/11678004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174894 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Update focus ring color in WebKit.derat@chromium.org2013-01-021-6/+7
| | | | | | | | | | | | | | | | | | This sets WebKit's focus ring color to #4d90fe; USE_DEFAULT_RENDER_THEME-defining builds like Chrome OS appear to have been previously using the default of #e59700 from RenderThemeChromiumSkia. It also makes RenderViewImpl honor the caret blink interval for USE_DEFAULT_RENDER_THEME instead of just for GTK. BUG=153080 TEST=manual: focus rings are blue instead of orange Review URL: https://chromiumcodereview.appspot.com/11673011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174881 0039d316-1c4b-4281-b951-d872f2087c98
* Change ExecuteJavaScript* helper functions in browser_test_utils.{h,cc}darin@chromium.org2013-01-0215-218/+272
| | | | | | | | | | | | | to take std::string (UTF-8) instead of std::wstring. This seems to help simplify callsites considerably. TBR=jam@chromium.org BUG=none Review URL: https://chromiumcodereview.appspot.com/11728003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174880 0039d316-1c4b-4281-b951-d872f2087c98
* Rename IPC handlers that are in the form of OnMsgFoo to OnFoo. This is how ↵jam@chromium.org2013-01-0242-477/+459
| | | | | | | | almost all the handlers are called. Review URL: https://codereview.chromium.org/11695005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174868 0039d316-1c4b-4281-b951-d872f2087c98
* Account for unmanaged (e.g, WebGL) use in memory managerccameron@chromium.org2013-01-023-5/+134
| | | | | | | | | | Set an interval of memory for unmanaged memory, and when memory usage leaves this interval, re-assign GPU memory budgets. Use this interval approach to avoid thrashing minute changes in policy. BUG=167693 Review URL: https://chromiumcodereview.appspot.com/11677008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174864 0039d316-1c4b-4281-b951-d872f2087c98
* This refactor aims to avoid use of CR_DEFINE_STATIC_LOCAL and functions ↵pauljensen@chromium.org2013-01-026-171/+82
| | | | | | | | | | returning references. The offending pieces of code were using URLRequestFilter. As of r174174 we can avoid CR_DEFINE_STATIC_LOCAL by wrapping the data in a ProtocolHandler class. While making this change I also changed URLRequestFilter::AddHostnameProtocolHandler() to take ownership of the ProtocolHandler and I added URLRequestFilter::AddUrlProtocolHandler(). BUG=163410 Review URL: https://chromiumcodereview.appspot.com/11711006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174859 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the unused SurfaceTextureUpdatedListener interface.mkosiba@chromium.org2013-01-021-38/+0
| | | | | | | | | | BUG=None TEST=compile Review URL: https://chromiumcodereview.appspot.com/11746002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174831 0039d316-1c4b-4281-b951-d872f2087c98
* Allow NPAPI & Trusted Broker plugins access to OS-level HighDPI APIs.wez@chromium.org2013-01-021-0/+2
| | | | | | | | | | | | | | | | | | | | As per crrev.com/10069029, OS 10.7.3 and above report low-DPI to processes that lack an NSPrincipalClass key in their manifest. Because Chromium Helper processes lacked this key, NPAPI or Trusted Broker plugins they hosted could not use the OS HighDPI APIs. This CL adds the key to Chromium's Helper process plist, so that APIs such as -[NSScreen backingScaleFactor] will now return 2 under HighDPI. Note that NPAPI plugins still can't paint HighDPI surfaces yet because chrome doesn't implement the NPAPI ContentsScaleFactor specification (see crbug.com/31960). BUG=167209 Review URL: https://chromiumcodereview.appspot.com/11642052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174811 0039d316-1c4b-4281-b951-d872f2087c98
* Vanquish the remnants of media::MessageLoopFactory.scherkus@chromium.org2013-01-025-46/+24
| | | | | | | | | | | | Now that media code runs on a single thread we no longer need to worry about creating additional threads at runtime. To make changes like this easier in the future, webkit_media::WebMediaPlayerParams is introduced to avoid plumbing parameters through Chrome's various abstraction layers. BUG=116873 Review URL: https://codereview.chromium.org/11468033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174808 0039d316-1c4b-4281-b951-d872f2087c98
* Removing unnecessary content:: namespace qualifier.darin@chromium.org2013-01-0215-62/+49
| | | | | | | | | TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/11737002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174797 0039d316-1c4b-4281-b951-d872f2087c98
* Minor cleanup in color_chooser.h.darin@chromium.org2013-01-021-2/+1
| | | | | | | | | TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/11732003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174796 0039d316-1c4b-4281-b951-d872f2087c98
* content: Remove forbidden "using namespace content" directive.tfarina@chromium.org2012-12-311-11/+16
| | | | | | | | | BUG=82078 TBR=joth@chromium.org Review URL: https://codereview.chromium.org/11725002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174787 0039d316-1c4b-4281-b951-d872f2087c98
* Change PepperFlashBrowserHost to use CookieSettings to get the LSO settingsraymes@google.com2012-12-302-28/+0
| | | | | | | | | | | | | This changes the PepperFlashBrowserHost to use CookieSettings to get the LSO settings as opposed to using the resource context and going through the ChromeContentBrowserClient. The CookieSettings are thread-safe refcounted (as opposed to the ResourceContext) so they are safe to access even after the profile is destroyed which should fix the associated bug. This also removes the now unused functions in ChromeContentBrowserClient. TBR=brettw for content/public/browser/* BUG=167353 Review URL: https://codereview.chromium.org/11705003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174781 0039d316-1c4b-4281-b951-d872f2087c98
* Make the result of GetLastError() available in crash dumps.darin@chromium.org2012-12-301-1/+13
| | | | | | | | | BUG=160401 TBR=eroman@chromium.org Review URL: https://chromiumcodereview.appspot.com/11707003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174779 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Add wrapper class to media for support of VP9 video, and add a ↵fsamuel@chromium.org2012-12-281-1/+0
| | | | | | | | | | | | | | | | | | command line flag to enable the support." This reverts commit e17c547493001b9195e1209b9444d2aee676c826. This is preventing updating the Chromium DEPS file in the WebKit repo. See here for details on the WebKit issue: https://bugs.webkit.org/show_bug.cgi?id=105813 The original patch: https://codereview.chromium.org/11644078 TBR=tomfinegan@chromium.org Review URL: https://chromiumcodereview.appspot.com/11700002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174739 0039d316-1c4b-4281-b951-d872f2087c98
* Removes attempt to load audioses.dll from a render process.henrika@chromium.org2012-12-281-1/+5
| | | | | | | | | | | | It will always fail and that will lead to usage of invalid parameters for WebRTC. TBR=tommi BUG=none TEST=WebRTC clients with debug logging enabled Review URL: https://codereview.chromium.org/11695003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174732 0039d316-1c4b-4281-b951-d872f2087c98
* PpapiThread should handle child process messages.yzshen@chromium.org2012-12-282-48/+66
| | | | | | | | | | | | | | | The current code overrides ChildThread::OnMessageReceived(), but doesn't handle child process messages. One consequence is that we ignore the browser message to shut down ppapi processes. With this CL, a ppapi process should be shut down when the plugin is not used by any tab for 30 seconds. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/11633051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174718 0039d316-1c4b-4281-b951-d872f2087c98
* Move tracing component to src/componentskaiwang@chromium.org2012-12-2813-345/+6
| | | | | | | | | 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
* Creating a 1x1 size surface for fullscreen video when we just enter fullscreenqinmin@chromium.org2012-12-271-1/+1
| | | | | | | | | | | | On nexus 7, using 0x0 size surface will not create anything. Using a 1x1 surface should fix this. The surface will get resized later when we know the video size. BUG=167338 Review URL: https://chromiumcodereview.appspot.com/11677006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174704 0039d316-1c4b-4281-b951-d872f2087c98
* Implement SequenceChecker, which is a generalization of ThreadCheckerakalin@chromium.org2012-12-271-31/+4
| | | | | | | | | | | | | | SequenceChecker will be used in WeakPtr instead of ThreadChecker, since WeakPtr needs only the guarantees of a SequencedTaskRunner. Add NullTaskRunner implementation and make test_browser_context.cc use it. BUG=165590 Review URL: https://codereview.chromium.org/11550031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174693 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: move cookie permissions management from DevtoolsManager to ↵pfeldman@chromium.org2012-12-272-26/+29
| | | | | | | | | | RenderViewDevToolsAgentHost. BUG=166824 Review URL: https://codereview.chromium.org/11688004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174684 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: migrate remote debugging to the DevToolsAgentHost ids.pfeldman@chromium.org2012-12-277-49/+63
| | | | | | | | | BUG=166824 TBR=yurys Review URL: https://codereview.chromium.org/11662024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174679 0039d316-1c4b-4281-b951-d872f2087c98
* Disable AudioLayoutTest.AudioPlayEventsteveblock@chromium.org2012-12-271-1/+2
| | | | | | | | | TBR=shadi BUG=167640 Review URL: https://codereview.chromium.org/11679009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174668 0039d316-1c4b-4281-b951-d872f2087c98
* Disable IndexedDBBrowserTest.DoesntHangTest on all platformssteveblock@chromium.org2012-12-271-6/+1
| | | | | | | | BUG=167483 Review URL: https://codereview.chromium.org/11685003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174667 0039d316-1c4b-4281-b951-d872f2087c98
* Don't put HTML onto the clipboard if there is file content data.avi@chromium.org2012-12-271-5/+14
| | | | | | | | | | BUG=55879 TEST=drag an image into mail, it should work Review URL: https://chromiumcodereview.appspot.com/11666018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174655 0039d316-1c4b-4281-b951-d872f2087c98
* Fix context menu actions for interrupted and in-progress downloadsasanka@chromium.org2012-12-272-38/+145
| | | | | | | | | BUG=167596 Review URL: https://chromiumcodereview.appspot.com/11575039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174652 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for downstream webview buildjoth@chromium.org2012-12-271-1/+6
| | | | | | | | | | | | Follow up to https://codereview.chromium.org/11638036/ - webrtc is not used so need to include these files conditionally. BUG= NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11679006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174649 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the old PPB_Flash proxy.raymes@chromium.org2012-12-261-1/+0
| | | | | | | | | | | 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