summaryrefslogtreecommitdiffstats
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* Fix showing the shelf for downloads started by extensions.benjhayden@chromium.org2013-04-235-22/+9
| | | | | | | | | | | | | | This bug only affected downloads started by extensions in renderers without a WebContents, i.e. background pages and browser_action popup bubbles. The DefaultUIControllerDelegate was unable to find the last active browser because profile_ was NULL because DownloadUIController received a NULL BrowserContext from DownloadManager::GetBrowserContext() because DownloadUIController was initialized *before* DownloadManager::Init() was called. DownloadManager::Init() seems to have become obsolete at some point, so this CL rolls it into the DownloadManager() constructor to eliminate the window where DownloadManager::GetBrowserContext() returns NULL. PS1@r195218 BUG=223197 Review URL: https://codereview.chromium.org/14403017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195844 0039d316-1c4b-4281-b951-d872f2087c98
* Java-side sensor polling getHandler() method simplification as per joth's ↵timvolodine@chromium.org2013-04-231-29/+8
| | | | | | | | | | comment. BUG=135804 Review URL: https://chromiumcodereview.appspot.com/14352008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195840 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r195688 which was reverted due to build break.varunjain@chromium.org2013-04-2319-2/+878
| | | | | | | | | | | | | | | There are two changes from the original CL: 1. In RenderWidgetHostViewAura::OnWindowFocused, update touch_editing_client_ before host->Shutdown. 2. Patched in r195696 to fix win_aura build BUG=115237 TBR=jam@chromium.org,tsepez@chromium.org Review URL: https://chromiumcodereview.appspot.com/13999010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195823 0039d316-1c4b-4281-b951-d872f2087c98
* Removed GL adapter output device.skaslev@chromium.org2013-04-233-191/+0
| | | | | | | | | R=jamesr NOTRY=true Review URL: https://chromiumcodereview.appspot.com/13973020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195819 0039d316-1c4b-4281-b951-d872f2087c98
* Never bind two NSOpenGLContexts to an NSViewccameron@chromium.org2013-04-232-3/+11
| | | | | | | | | | | | | | | Binding two NSOpenGLContexts to an NSView will cause corruption and crashes when one of the contexts is destroyed. Call clearDrawable before changing the underlying context of a CompositingIOSurface. Note that the NSView owns the CompositingIOSurface, so there is no risk of "some other" NSOpenGLContext being bound to the NSView. BUG=230883 Review URL: https://chromiumcodereview.appspot.com/14092005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195772 0039d316-1c4b-4281-b951-d872f2087c98
* Enable RTCPeerConnectionHandlerTest.RemoveAndAddVideoTrackFromRemoteStream ↵perkj@chromium.org2013-04-231-8/+2
| | | | | | | | | | and RTCPeerConnectionHandlerTest.RemoveAndAddAudioTrackFromRemoteStream unit tests since the dependend Blink patch has landed. BUG=233514 Review URL: https://chromiumcodereview.appspot.com/14192041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195770 0039d316-1c4b-4281-b951-d872f2087c98
* Web MIDI: Add a run-time flagtoyoshim@chromium.org2013-04-234-0/+8
| | | | | | | | | | | | | The flag is disabled by default for now. --enable-web-midi command line flag enables a run-time flag for Web MIDI . But it doesn't work for now. BUG=163795 TEST=none Review URL: https://codereview.chromium.org/14241011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195766 0039d316-1c4b-4281-b951-d872f2087c98
* Disable the new tests I added on Mac since they're flaky on mac release bots ↵jam@chromium.org2013-04-233-1/+16
| | | | | | until I track this down. BUG=126514 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195755 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Refactor NativeView to be able to use it for AutofillDialog.aurimas@chromium.org2013-04-239-57/+45
| | | | | | | | | | | | Create a new class WindowAndroid that serves the purpose of representing a native (platform specific) view where Chromium code expects to have a cross platform handle to the system view type. As Views are Java objects on Android, ViewAndroid.java and view_android.* will provide the expected abstractions on the C++ side and allow it to be flexibly glued to an actual Android Java View at runtime. It should only be used where access to Android Views is needed from the C++ code as there are easier/better ways to access Views from Java. This new abstraction will allow to reuse AutofillPopup for regular use in a webpage (using ContentView) as well as for AutofillDialog. BUG=229199 Review URL: https://chromiumcodereview.appspot.com/14018004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195750 0039d316-1c4b-4281-b951-d872f2087c98
* Renable the tests I disabled in r195725 on Win Aura. They were failing a ↵jam@chromium.org2013-04-234-1/+16
| | | | | | | | | | debug assert. Fix it by disabling accelerated compositing for win aura when running these tests so that the GPU process doesn't attempt to get started. BUG=126514 Review URL: https://codereview.chromium.org/14063020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195738 0039d316-1c4b-4281-b951-d872f2087c98
* Disable the browser tests which depend on --single-process on Win Aura as ↵jam@chromium.org2013-04-231-6/+3
| | | | | | well. BUG=126514 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195725 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Add PageInfo interface.newt@chromium.org2013-04-235-44/+123
| | | | | | | | | | | | | PageInfo contains the minimal required functionality for a View to be shown as the main View in a tab. Initially, just ContentView implements this. BUG=178915 R=tedchoc Review URL: https://chromiumcodereview.appspot.com/14248004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195723 0039d316-1c4b-4281-b951-d872f2087c98
* Add frame parameter to GetNavigationErrorStrings.ttuttle@chromium.org2013-04-232-1/+4
| | | | | | | | | | | | The last bit of the renderer-side changes to enable the new DNS error pages will use this to ensure it only provides altered error page strings to main frame errors. BUG=156415 Review URL: https://chromiumcodereview.appspot.com/14081013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195716 0039d316-1c4b-4281-b951-d872f2087c98
* Fix DomSerializerTests.SerializeHTMLDOMWithAddingMOTW failure on debug Mac ↵jam@chromium.org2013-04-231-9/+11
| | | | | | | | | | | bots. There's an assertion inside WebKit because WebURL is being called during the WebURL construction in the call to WebPageSerializer::generateMarkOfTheWebDeclaration. Move that call to the renderer thread. BUG=126514 TBR=brettw Review URL: https://codereview.chromium.org/13945025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195704 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 195688 "Enable touch based selection and editing for webp..."jam@chromium.org2013-04-2319-877/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This crashes on http://build.chromium.org/p/chromium.chromiumos/buildstatus?builder=Linux%20ChromiumOS%20Tests%20%28dbg%29%281%29&number=18415 and http://build.chromium.org/p/chromium.chromiumos/buildstatus?builder=Linux%20ChromiumOS%20Tests%20%28dbg%29%281%29%28Precise%29&number=2887 with: [ RUN ] RenderWidgetHostViewAuraTest.DestroyFullscreenOnBlur Xlib: extension "RANDR" missing on display ":9.0". Received signal 11 <unknown> 000000000000 [0x7fd160de519c] base::debug::StackTrace::StackTrace() [0x7fd160de4a46] base::debug::(anonymous namespace)::StackDumpSignalHandler() [0x7fd15c58a8f0] <unknown> [0x7fd162e9c56a] content::RenderWidgetHostViewAura::OnWindowFocused() [0x7fd16b555f92] aura::FocusManager::FocusWindow() [0x7fd16b56c3f1] aura::Window::Focus() [0x0000008830e8] content::RenderWidgetHostViewAuraTest_DestroyFullscreenOnBlur_Test::TestBody() [0x000000e9ec43] testing::internal::HandleSehExceptionsInMethodIfSupported<>() [0x000000e9c16e] testing::internal::HandleExceptionsInMethodIfSupported<>() [0x000000e910a6] testing::Test::Run() [0x000000e918ca] testing::TestInfo::Run() [0x000000e91ff8] testing::TestCase::Run() [0x000000e96fa3] testing::internal::UnitTestImpl::RunAllTests() [0x000000e9fa94] testing::internal::HandleSehExceptionsInMethodIfSupported<>() [0x000000e9c9b7] testing::internal::HandleExceptionsInMethodIfSupported<>() [0x000000e95a72] testing::UnitTest::Run() [0x000000e589f8] base::TestSuite::Run() [0x000000df11cc] content::UnitTestTestSuite::Run() [0x0000009f4e6a] main [0x7fd15a8b3c4d] __libc_start_main [0x0000005a4039] <unknown> r8: 000000000000005c r9: 0101010101010101 r10: 0000000000000000 r11: 00007fd15a91c03e r12: 0000000000000000 r13: 00007fffd00893b0 r14: 0000000000000000 r15: 0000000000000000 di: 00007fd157b720c8 si: 0000000000000000 bp: 00007fffd00889a0 bx: 0000000000000000 dx: 00000000000015b6 ax: cdcdcdcdcdcdcdcd cx: 0000000000000076 sp: 00007fffd0088760 ip: 00007fd162e9c56a efl: 0000000000010282 cgf: 0000000000000033 erf: 0000000000000000 trp: 000000000000000d msk: 0000000000000000 cr2: 0000000000000000 when relanding, please also patch in r195696 to fix the win aura components build failure > Enable touch based selection and editing for webpages behind a flag. > > BUG=115237 > > Review URL: https://chromiumcodereview.appspot.com/12321005 TBR=varunjain@chromium.org Review URL: https://codereview.chromium.org/13890008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195702 0039d316-1c4b-4281-b951-d872f2087c98
* Convert the remaining test_shell_tests to content_browsertests.jam@chromium.org2013-04-2310-9/+1749
| | | | | | | | | | | | | | | | | | | | | | | | | | DomOperationsTests.*, DomSerializerTests.* and ResourceFetcherTests.* depended on TestShell loading URLs correctly. That couldn't be done with RenderViewTest harness since ResourceDispatcher code isn't hooked up. I added a mechanism for the browser test harness to run code on the renderer thread when running in --single-process mode. That way a "browser test" can poke at the renderer code. single-process mode doesn't work on Linux Aura, so disabled those tests there for now (bug 234172). DomSerializerTests.* fail on Android. They never ran there before since test_shell_tests never worked there, so just disabled them there with a note to investigate. Note CppBoundClassTest is trivial and doesn't depend on loading, so I just made it a RenderViewTest. I removed plugin_tests.cc: -PluginTest.Refresh won't work with sharding. It's for a use case we don't care much about anyways, so a regression, if it happens, isn't critical. -PluginTest.DeleteFrameDuringEvent is a duplicate of PluginTest.SelfDeletePluginInvokeInSynchronousMouseUp -PluginTest.ForceReload is for in process plugins (i.e. test shell), doesn't apply to our multi-process plugins -PluginTest.PluginVisibilty is currently disabled and failing. I thought about porting it and fixing it, but it seemed low priority since it'd be flaky to test this with our multi-process plugins. This code also doesn't change anymore, and if we had a regression we would catch this pretty quickly. If we regress we can write a test then. mock_spellcheck_unittest.cc: was testing a mock object used in TestShell. Since TestShell is going away, there's no need for this test. if the object breaks and no existing tests break, then it's a non-issue. memory_file_util.cc wasn't used other than in its unittest. I removed the code and its test. CppBoundClassTest.* could be converted to a RenderViewTest. The remaining tests (HostVarTrackerTest.*, papiPluginInstanceTest.*, PpapiCustomInterfaceFactoryTest.*, QuotaFileIOTest.*, WebkitGlueUserAgentTest.* were converted to content_unittests. I will delete the unused webkit/data in a follow up patch (try servers are failing on applying the delete). BUG=126514,234172,111601,51622 Review URL: https://codereview.chromium.org/14304004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195701 0039d316-1c4b-4281-b951-d872f2087c98
* fix win aura component buildjam@chromium.org2013-04-231-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195696 0039d316-1c4b-4281-b951-d872f2087c98
* CC: Avoid use-after free when accessing sync_message_filterepenner@chromium.org2013-04-232-2/+5
| | | | | | | | | | | | | The SyncMessageFilter is accessed from ChildThread. This keeps a reference instead so we don't risk use-after-free while accessing it. BUG=232981 NOTRY=true No try since win-aura and mac-asan failures are unrelated. Review URL: https://chromiumcodereview.appspot.com/14057023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195689 0039d316-1c4b-4281-b951-d872f2087c98
* Enable touch based selection and editing for webpages behind a flag.varunjain@chromium.org2013-04-2319-2/+877
| | | | | | | | BUG=115237 Review URL: https://chromiumcodereview.appspot.com/12321005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195688 0039d316-1c4b-4281-b951-d872f2087c98
* Instant Extended: Prevent overlay from becoming transparentsail@chromium.org2013-04-232-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the active tab contents became composited then the overlay would either become transparent or flicker. The problem was that both the overlay and active tab contents were calling SetAllowOverlappingViews(true). This meant that which ever view drew last would be visible. Fix was to not call SetAllowOverlappingViews(true) for the overlay. This means that the find bar will not be visible for the overlay but that's something we can live with. This CL also add a new compositingIOSurfaceCreated notificaiton. This works around a bug where the active tab contents would draw over the overlay if it was created last. Fix was to re-add the overlay to the view hiearchy when this happened. BUG=222122 TEST= Make sure "GPU compositing on all pages" is set to "Default". Make sure flash is working. Navigate to cnn.com. Type "http://" in the omnibox. Verify that the overlay is visible. Review URL: https://chromiumcodereview.appspot.com/14367008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195684 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use the GpuChannelHostFactory from the IO thread.piman@chromium.org2013-04-232-16/+8
| | | | | | | | | | | | In renderers, the IO thread can outlive the RenderThreadImpl which implements GpuChannelHostFactory, so don't call the GpuChannelHostFactory from there - we don't actually need to. BUG=232532 Review URL: https://chromiumcodereview.appspot.com/14247013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195680 0039d316-1c4b-4281-b951-d872f2087c98
* Record WebRTC NEON detection result in histograms on ARM Android.wjia@chromium.org2013-04-232-0/+10
| | | | | | | | | | Coupled with device info (e.g., model/manufacturer/etc), this enables us to tell if NEON detection is correct or not in the field. BUG=http://code.google.com/p/webrtc/issues/detail?id=1552 Review URL: https://codereview.chromium.org/13937013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195665 0039d316-1c4b-4281-b951-d872f2087c98
* Enable collecting histogram data on PPAPI plugin and broker processes.xhwang@chromium.org2013-04-231-1/+6
| | | | | | | | | | | r194494 added UMA reports from the PPAPI plugin/broker process. This CL enables histogram data from these processes in general. BUG=226107 TEST=Histogram from PPAPI plugin process shows up in about://histograms. Review URL: https://codereview.chromium.org/14197013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195661 0039d316-1c4b-4281-b951-d872f2087c98
* Removing old style frame tree updates.nasko@chromium.org2013-04-2314-571/+3
| | | | | | | | | | | | Going forward, we will be using a different structure in the browser process to store the frame tree, so the current implementation doesn't make sense. Also, it had problems with race conditions, so it was disabled for a while. BUG=128767, 153701 Review URL: https://chromiumcodereview.appspot.com/14273010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195657 0039d316-1c4b-4281-b951-d872f2087c98
* Remove WebDOMStringList from chromiumalecflett@chromium.org2013-04-226-19/+11
| | | | | | | | | | | Part 2 of a blink/chromium/blink patch: replace API calls using WebDOMStringList with WebVector<WebString> BUG=233361 Review URL: https://codereview.chromium.org/14367031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195629 0039d316-1c4b-4281-b951-d872f2087c98
* Add Shutdown() helper to ChildThread and move all destructor logic.dcheng@chromium.org2013-04-2214-1/+35
| | | | | | | | | | | | | | | r185551 changed the ordering of events in scoped_ptr<T>::reset(); specifically, callers can no longer rely on get() to return the old value of the stored pointer during a reset(). This causes issues such as http://crbug.com/232981. In order to break the dependency on the value of main_thread_.get() during main_thread_.reset(), destruction of ChildThread has been split into two parts. BUG=233761 Review URL: https://codereview.chromium.org/13878020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195628 0039d316-1c4b-4281-b951-d872f2087c98
* Use base::MessageLoop in media code.xhwang@chromium.org2013-04-2231-189/+190
| | | | | | | | | | | | | | | | | | | | | | MessageLoop is moved to base namespace in r191566. This CL is the followup cleanup in media code. The following folders are replaced: chrome/browser/media content/browser/renderer_host/media content/common/gpu/media content/common/media content/renderer/media media webkit/media The following command is used to make sure all instances in these folders are updated: grep -rin '[^a-zA-Z]MessageLoop[^a-zA-Z]' media chrome/browser/media content/browser/renderer_host/media content/common/gpu/media content/common/media content/renderer/media webkit/media | grep -v 'base::MessageLoop' | grep -v 'class MessageLoop' Review URL: https://chromiumcodereview.appspot.com/14385002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195626 0039d316-1c4b-4281-b951-d872f2087c98
* Enable gesture tap highlighting by default on ChromeOSwjmaclean@chromium.org2013-04-221-0/+5
| | | | | | | | BUG=181591 Review URL: https://chromiumcodereview.appspot.com/14364005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195618 0039d316-1c4b-4281-b951-d872f2087c98
* Remove legacy open method from IDB renderer proxyalecflett@chromium.org2013-04-222-25/+0
| | | | | | | | | | | This is leftover from an earlier refactoring, just an open() call that nobody calls anymore. BUG= Review URL: https://chromiumcodereview.appspot.com/13855010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195607 0039d316-1c4b-4281-b951-d872f2087c98
* Use a bitmap encoder when serializing to SkPicturescroggo@google.com2013-04-221-1/+11
| | | | | | | | BUG=168220 Review URL: https://chromiumcodereview.appspot.com/14270002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195602 0039d316-1c4b-4281-b951-d872f2087c98
* Move Inspector.detached and Worker.disconnectedFromWorker event generation ↵kaznacheev@chromium.org2013-04-224-6/+27
| | | | | | | | | | to content module. BUG=None Review URL: https://chromiumcodereview.appspot.com/13911006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195567 0039d316-1c4b-4281-b951-d872f2087c98
* Use Unix time for frame timestampsjustinlin@chromium.org2013-04-223-20/+11
| | | | | | | | BUG=225209 Review URL: https://chromiumcodereview.appspot.com/14341005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195558 0039d316-1c4b-4281-b951-d872f2087c98
* Allow showing pending URL for new tab navigations, but only if safe. creis@chromium.org2013-04-2214-43/+391
| | | | | | | | | | | | | | | | | | | We revert to showing the opener's URL if it modifies the content of the initial blank page before the pending URL commits, to prevent URL spoofs. Implications: - All renderer-initiated navigations now have pending NavigationEntries. - GetURL and GetTitle use the visible entry, not active entry. - The renderer notifies the browser if DOM mutations occur before first load. [Second attempt, after http://crrev.com/191277 was reverted.] BUG=9682 TEST=Open a slow link in a new tab. Destination URL should be visible and reloadable. Review URL: https://chromiumcodereview.appspot.com/13846007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195553 0039d316-1c4b-4281-b951-d872f2087c98
* Rename RenderViewHostDelegate::RenderViewGone -> RenderViewTerminatedphajdan.jr@chromium.org2013-04-227-23/+25
| | | | | | | | | | | | This helps avoid a collision with WebContentsObserver::RenderViewGone, preventing a class from inheriting both RenderViewHostDelegate and WebContentsObserver. BUG=170921 Review URL: https://codereview.chromium.org/14221009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195542 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] don't bail out because a renderer got unresponsive.jochen@chromium.org2013-04-221-4/+1
| | | | | | | | | | | The test runner counts this as crash, and if the renderer comes back before the timeout, it might still produce good results. BUG=111316 Review URL: https://codereview.chromium.org/13923006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195538 0039d316-1c4b-4281-b951-d872f2087c98
* Error response for malformed commands should be provided by DevTools backendyurys@chromium.org2013-04-221-9/+8
| | | | | | | | | | | | With current implementation RenderViewDevToolsAgentHost tries to parse each command and if it fails it will send its own error message. The CL changes that by forwarding malformed message further to backend as it would any non-handled command. R=pfeldman TEST=LayoutTests/inspector/report-protocol-errors.html BUG=231934 Review URL: https://codereview.chromium.org/14079008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195527 0039d316-1c4b-4281-b951-d872f2087c98
* Remove WebExceptionCode from IDB proxy codealecflett@chromium.org2013-04-229-66/+29
| | | | | | | | | | | | This is the chromium side of this work - switch over to calling the new Blink API BUG=233361 TBR=tsepez@chromium.org Review URL: https://chromiumcodereview.appspot.com/14366005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195512 0039d316-1c4b-4281-b951-d872f2087c98
* remove unnecessary dependencies on WebSecurityOriginalecflett@chromium.org2013-04-224-6/+0
| | | | | | | | | | | These are all cases where this class is included or referenced without any actual code using it. BUG= Review URL: https://chromiumcodereview.appspot.com/14267034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195511 0039d316-1c4b-4281-b951-d872f2087c98
* Add brackets around newly multi-lined conditional block.pam@chromium.org2013-04-221-1/+2
| | | | | | | | | | | | Improves readability. TBR=erikwright@chromium.org BUG=234093 Review URL: https://chromiumcodereview.appspot.com/14405003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195502 0039d316-1c4b-4281-b951-d872f2087c98
* Android: Throttle the renderer harder.sievers@chromium.org2013-04-222-8/+2
| | | | | | | | | | | Remove the early ACK path and always wait until the browser has actually consumed the frame. BUG=224602,220907 Review URL: https://chromiumcodereview.appspot.com/14254004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195498 0039d316-1c4b-4281-b951-d872f2087c98
* Implement vsync notification on Androidskyostil@chromium.org2013-04-226-39/+151
| | | | | | | | | | | | | This patch implements a vsync notification from the browser to the renderer on Android. The vsync signal provider keeps track of all subscriptions to the signal and makes sure it is not enabled when not needed. BUG=149227 Review URL: https://chromiumcodereview.appspot.com/11959036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195491 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mac x64 build error in pepper_truetype_font_list_mac.mm.tapted@chromium.org2013-04-221-1/+1
| | | | | | | | | | | Introduced http://crrev.com/195082 BUG=230130 TBR=bbudge@chromium.org, raymes@chromium.org Review URL: https://chromiumcodereview.appspot.com/14392002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195465 0039d316-1c4b-4281-b951-d872f2087c98
* Modify AccessibilityTreeFormatter to build up an internal representation of ↵aboxhall@chromium.org2013-04-2271-435/+669
| | | | | | | | | | | | | | the tree in the form of DictionaryValue et al. This may be used at a later stage to create a JSON representation of the tree. Also modify the Mac platform implementation to use the NSAccessibility attribute names rather than method names. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194775 Review URL: https://chromiumcodereview.appspot.com/13479003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195443 0039d316-1c4b-4281-b951-d872f2087c98
* Mac Plugins: Remove PluginProcessHost dtor check that it is on the UI thread.thestig@chromium.org2013-04-221-18/+8
| | | | | | Review URL: https://chromiumcodereview.appspot.com/14339002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195435 0039d316-1c4b-4281-b951-d872f2087c98
* Copy test data since it won't apply in try bots. BUG=126514jam@chromium.org2013-04-218-0/+83
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195423 0039d316-1c4b-4281-b951-d872f2087c98
* Implement offline mode behind a flag.rdsmith@chromium.org2013-04-2012-28/+350
| | | | | | | | BUG=2204 Review URL: https://chromiumcodereview.appspot.com/12886022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195374 0039d316-1c4b-4281-b951-d872f2087c98
* Reland "gpu: Fix Vivante's "hisilicon" GPUs"epenner@chromium.org2013-04-201-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes "Hisilicon" GPUs, which is an instance of a Vivante's GPU design. This involves enabling virtual contexts, since they don't support share-groups, and further adds a work-around for switching surfaces. Without the work- around the view surface "inherits" the size of the last bound surface (which for Chrome tends to be a 1x1 pbuffer) resulting in a black screen. The following steps "repair" the view surface every time it is made current: - Make it current. - Bind the default frame-buffer. - Make it not current. - Destroy/recreate it from the native handle. - Make it current again. NOTE: The "Recreate" function is added to surface because the Destroy/Initialize may be intercepted or modified by wrapper surface classes. Recreate is similar to resize, which after being forwarded by a wrapper can call Destroy/Initialize on the 'real' surface. BUG=179250 NOTRY=true No-try, as all the relevant bots are already green. Review URL: https://chromiumcodereview.appspot.com/13852023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195349 0039d316-1c4b-4281-b951-d872f2087c98
* [Autofill] Handle the Tab Key in the new UIcsharp@chromium.org2013-04-202-9/+10
| | | | | | | | | | | The tab key accepts the selected element and always moves the cursor to the next field. BUG=230328 Review URL: https://chromiumcodereview.appspot.com/13912016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195343 0039d316-1c4b-4281-b951-d872f2087c98
* Android: Throttle render compositor if browser (compositor) is behind.sievers@chromium.org2013-04-192-6/+59
| | | | | | | | | | | | | This delays the Swap ACK to the renderer if the browser has not consumed the current frontbuffer yet. Note: This might break embedders that don't use the browser compositor. The texture needs to be taken from RenderWidgetHostVIew through the TextureLayerClient::PrepareTexture() method. BUG=224602,220907 Review URL: https://codereview.chromium.org/14348029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195340 0039d316-1c4b-4281-b951-d872f2087c98
* media: Add support for playback of VP8 Alpha video streamsvigneshv@chromium.org2013-04-192-0/+22
| | | | | | | | | | BUG=147355 TEST=VP8 Alpha video streams play TBR=sky Review URL: https://chromiumcodereview.appspot.com/13886011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195339 0039d316-1c4b-4281-b951-d872f2087c98