summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_widget.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fix resize with --enable-threaded-compositingpiman@chromium.org2011-12-131-1/+1
| | | | | | | | | | BUG=https://bugs.webkit.org/show_bug.cgi?id=74290 TEST=chrome --enable-threaded-compositing Review URL: http://codereview.chromium.org/8912002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114260 0039d316-1c4b-4281-b951-d872f2087c98
* Send the pending input event ack before the UpdateRect messagejamesr@chromium.org2011-12-131-2/+12
| | | | | | | | | | | | | | | | | This can potentially cut the mouse move, mouse wheel, and touch move latency for platforms that send the UpdateRect_ACK message within the UpdateRect IPC handler. Today, it seems that windows and mac will sometimes send the UpdateRect_ACK synchronously, while linux never will. Patch also includes some extra instrumentation to make this easier to track that we may or may not want to land. BUG=none Review URL: http://codereview.chromium.org/8820001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114141 0039d316-1c4b-4281-b951-d872f2087c98
* EarlyOut_AnimatedTooRecently should only be done in software modenduca@chromium.org2011-12-121-1/+1
| | | | | | | | | | BUG=106786 R=jamesr@chromium.org,jbates@chromium.org Review URL: http://codereview.chromium.org/8898010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114041 0039d316-1c4b-4281-b951-d872f2087c98
* Delay UpdateRect until the SwapBuffers callback when accelerated compositing ↵piman@chromium.org2011-12-091-39/+83
| | | | | | | | | | | | | | | | | | is on. This is also removing the UpdateRect ack in the accelerated compositing case, because it is not needed (and adds scheduling constraints that reduce throughput). This also sends a "dummy" message to the browser to unblock the UI thread if it's waiting on an UpdateRect when the transition from non-accelerated to accelerated happens: the GPU process may need to round trip to the browser UI thread before sending the SwapBuffers callback. BUG=58782 TEST=reduced jankiness on aura builds when resizing. Review URL: http://codereview.chromium.org/8498036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113861 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some now unused fullscreen plumbing.darin@chromium.org2011-12-091-4/+0
| | | | | | Review URL: http://codereview.chromium.org/8872046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113837 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r112160 ("Send one WebKeyboardEvent to the RenderWidget at a time.")apavlov@chromium.org2011-12-081-2/+17
| | | | | | | | | | | | | | This change has resulted in severe regressions in keyboard event dispatching - the keydown and keypress events are no longer dispatched synchronously. Reverting as suggested by Darin Fisher. BUG=106224 TEST=manual TBR=darin Review URL: http://codereview.chromium.org/8885009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113603 0039d316-1c4b-4281-b951-d872f2087c98
* Update includes to new header locationsabarth@chromium.org2011-12-031-4/+4
| | | | | | | TBR=darin Review URL: http://codereview.chromium.org/8788003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112825 0039d316-1c4b-4281-b951-d872f2087c98
* Add autoresize capability to chromium.levin@chromium.org2011-12-021-0/+4
| | | | | | Review URL: http://codereview.chromium.org/8704005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112719 0039d316-1c4b-4281-b951-d872f2087c98
* Send one WebKeyboardEvent to the RenderWidget at a time. Move keyboarddarin@chromium.org2011-11-301-17/+2
| | | | | | | | | | shortcut handling to the RenderWidgetHost. R=jam@chromium.org Review URL: http://codereview.chromium.org/8727010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112160 0039d316-1c4b-4281-b951-d872f2087c98
* Trigger pepper ViewDidFlushPaint on draw of compositor framejbauman@chromium.org2011-11-291-5/+5
| | | | | | | | | | | | | We now have reliable info about when the compositor finished drawing the last frame, so use that instead of OnSwapBuffersComplete to trigger ViewDidFlushPaint. This is reliable enough that we don't have to trigger on OnUpdateRectAck when compositing is enabled anymore. BUG=98354 TEST= Review URL: http://codereview.chromium.org/8725012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111894 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed Task Manager FPS so that it shows 0 instead of 60 for background pages. kgr@chromium.org2011-11-221-1/+1
| | | | | | | | | | BUG=73206 TEST=manually Review URL: http://codereview.chromium.org/8616004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111234 0039d316-1c4b-4281-b951-d872f2087c98
* Fix resize issues when using threaded compositingenne@chromium.org2011-11-171-0/+22
| | | | | | | | | | | | | | | | Threaded compositing doesn't ever call DoDeferredUpdate, so never has a chance to send the resize ack via an update message back to the browser. Fix by piping through didBeginFrame (called at the beginning of a main thread frame) and didFinishFrame (called during the client side OnSwapBuffers when a main thread frame has been committed). This patch queues up update messages during didBeginFrame and then sends them out during the corresponding didFinishFrame. BUG=103776 TEST=run with threaded compositing, resize page multiple times Review URL: http://codereview.chromium.org/8528006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110599 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert content/renderer.jhawkins@chromium.org2011-11-151-14/+16
| | | | | | | | | | | BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8554001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110189 0039d316-1c4b-4281-b951-d872f2087c98
* Support IMM32 reconversion on Windows.penghuang@chromium.org2011-10-311-0/+2
| | | | | | | | | | BUG=45605 TEST=Tested it with Google Japanese Input method on Win7 Review URL: http://codereview.chromium.org/8294026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107934 0039d316-1c4b-4281-b951-d872f2087c98
* Fix fullscreen API event delivery to be delayed until the state change hasdarin@chromium.org2011-10-271-21/+54
| | | | | | | | | | | | occured. This is done by observing ViewMsg_Resize. Adapt to new API from https://bugs.webkit.org/show_bug.cgi?id=70477 BUG=100264 R=jam@chromium.org Review URL: http://codereview.chromium.org/8366032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107646 0039d316-1c4b-4281-b951-d872f2087c98
* [Aura] Support transparent webkit.xiyuan@chromium.org2011-10-241-1/+12
| | | | | | | | | | | | | | | Support turning on webkit transparency by setting a background image. - Update RenderWidget::PaintRect to handle background transparency; - Update BackingStoreSkia::PaintToBackingStore to handle webkit transparency; - Turn on compositing of RenderWidgetHostViewAura's layer when we set a background with transparency; BUG=98311 TEST=Verify when applist change (chromium:98308) is in. Review URL: http://codereview.chromium.org/8369006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106943 0039d316-1c4b-4281-b951-d872f2087c98
* Use WebCompositor only when --enable-threaded-compositing.nduca@chromium.org2011-10-221-2/+4
| | | | | | Review URL: http://codereview.chromium.org/8344021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106841 0039d316-1c4b-4281-b951-d872f2087c98
* Handle the change from CaretBounds to SelectionBounds for PPAPI Plugins.kinaba@chromium.org2011-10-211-10/+9
| | | | | | | | | | | | | | | | | BUG=101173 TEST=Manual: run ppapi_example_ime and verify the candidate window to pop up in a correct place, or open a Flash website with text field on Chrome OS, and verify that the candidate window is displayed in the bottom-left corner of the Flash rect. This CL is to reflect the refactoring http://crrev.com/105699 on IPCs also for Pepper plugins, and make IME candidate windows to be displayed on intended positions. Review URL: http://codereview.chromium.org/8363015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106796 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor SelectionChanged and ImeUpdateTextInputType IPCs for surrounding ↵penghuang@chromium.org2011-10-161-10/+29
| | | | | | | | | | | | text features BUG=None TEST=Manually Review URL: http://codereview.chromium.org/7981036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105699 0039d316-1c4b-4281-b951-d872f2087c98
* Add an is_fullscreen to ViewMsg_Resize, and make it available as a property ofdarin@chromium.org2011-10-141-1/+4
| | | | | | | | | | | | RenderWidget. This enables the RenderWidget to know when it has been placed into fullscreen mode (which will be hooked up to Pepper in a subsequent change). BUG=100264 Review URL: http://codereview.chromium.org/8283029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105544 0039d316-1c4b-4281-b951-d872f2087c98
* Move content_switches to content\public\common.jam@chromium.org2011-10-131-1/+1
| | | | | | | BUG=98716 Review URL: http://codereview.chromium.org/8277018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105389 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Fix Lion accented character bubble input in web contents, part 2.thakis@chromium.org2011-10-131-6/+0
| | | | | | | | | | | | | Add the code that depended on https://bugs.webkit.org/show_bug.cgi?id=69846 BUG=91003 TEST=press and hold a, then hit 1. An accented a should appear, the unaccented a should disappear. Review URL: http://codereview.chromium.org/8252008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105341 0039d316-1c4b-4281-b951-d872f2087c98
* Implement Pepper IME API.kinaba@chromium.org2011-10-121-4/+8
| | | | | | | | | | | | | | | | | | | | | | BUG=59425 TEST=Build chrome and ppapi_example_ime, Confirm "out/Release/chrome --register-pepper-plugins='out/Release/lib/libppapi_example_ime.so;application/x-ppapi-example' ppapi/examples/ime/ime.html" works. This CL is the last part for adding the basic IME support for PPAPI, preceded by the previous two changes codereview.chromium.org/7882004 (API declarations) and codereview.chromium.org/7978019 (thunk and proxy implementation). This CL comes with the actual Chrome-side implementation of the API with an example to show how to use IME in PPAPI. Keep in mind the current implementation still not reached the point of "the complete" set of IME APIs yet. - Advanced features in design doc (like surrounding text retrieval) is not available. - DOM and PPAPI composition events are not converted each other. Rather, it aims to provide basic set of functions just needed to implement inline composition in plugins. Review URL: http://codereview.chromium.org/8073021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105056 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Almost fix Lion accented character bubble input in web contents.thakis@chromium.org2011-10-121-2/+10
| | | | | | | | | | | | | | Once webkit change https://bugs.webkit.org/show_bug.cgi?id=69846 is in, it'll be fixed completely. BUG=91003 TEST=press and hold a, then hit 1. An accented a should appear, the unaccented a should disappear. Review URL: http://codereview.chromium.org/8227018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105040 0039d316-1c4b-4281-b951-d872f2087c98
* Register route with compositor thread whenever compositor is activated if ↵jamesr@chromium.org2011-10-081-1/+5
| | | | | | | | | | | threaded compositing is on BUG=none TEST=none Review URL: http://codereview.chromium.org/8188001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104635 0039d316-1c4b-4281-b951-d872f2087c98
* Turning the threaded compositor into a runtime option. This CLvangelis@chromium.org2011-10-071-25/+17
| | | | | | | | | | must land after https://bugs.webkit.org/show_bug.cgi?id=69391 BUG=none TEST=Covered by existing compositor tests Review URL: http://codereview.chromium.org/8139020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104542 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup usage of RenderThread for code that runs under tests. Before ↵jam@chromium.org2011-10-071-13/+10
| | | | | | | | | RenderThread::current() couldn't be used since it didn't exist in tests. The new API version, content::RenderThread::Get() works in tests, so this code isn't necessary anymore. BUG=98375 Review URL: http://codereview.chromium.org/8194001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104505 0039d316-1c4b-4281-b951-d872f2087c98
* Rename RenderThread to RenderThreadImpljam@chromium.org2011-10-061-1/+1
| | | | | | | | BUG=98716 TBR=ananta Review URL: http://codereview.chromium.org/8171015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104386 0039d316-1c4b-4281-b951-d872f2087c98
* Create content::RenderThread interface and make code in chrome use that.jam@chromium.org2011-10-061-2/+2
| | | | | | | BUG=98716,98375,10837 Review URL: http://codereview.chromium.org/8165013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104358 0039d316-1c4b-4281-b951-d872f2087c98
* Input event filtering and compositor thread setup.darin@chromium.org2011-10-061-3/+3
| | | | | | | | | | | | | | | | | | | | There are two new classes: InputEventFilter and CompositorThread. The first sets up a MessageFilter designed to route input events to the compositor thread. CompositorThread sets up the compositor thread and it has a InputEventFilter. When we pass an event to the CompositorThread, we are actually passing it to a WebCompositor, which can respond asynchronously via WebCompositorClient to tell us whether it handled the event or wants us to punt it up to the WebWidget. It can also tell us that it did not handle the event and that we should not bother sending it to the WebWidget. InputEventFilter contains all of the interesting thread marshalling code. CompositorThread has the WebCompositor hookup. Review URL: http://codereview.chromium.org/8089002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104258 0039d316-1c4b-4281-b951-d872f2087c98
* Convert to new WebWidgetClient interface for compositor activation and ↵jamesr@chromium.org2011-10-041-7/+17
| | | | | | | | | | | | | | deactivation I'll remove the old interface and callers from WebWidgetClient / WebViewImpl a few days after this lands, just in case we need to roll something back. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/8114026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104017 0039d316-1c4b-4281-b951-d872f2087c98
* Show keyboard when the focused editable field is touched inside the web ↵mazda@chromium.org2011-10-031-0/+3
| | | | | | | | | | | | | | | | | | | | content area. When an editable fieled is touched and the focus is moved to the element, NOTIFICATION_FOCUS_CHANGED_IN_PAGE is sent. However, if the field is already focused, no notification is sent. But keyboard should be shown in such a case. This CL - Adds NOTIFICATION_FOCUSED_EDITABLE_NODE_TOUCHED notification, which is sent when the focused editable field is touched, - Adds ChromeViewHostMsg_FocusedEditableNodeTouched IPC message, which is sent from renderer to browser when a touch released on the focused editable field, - Changes RenderWidget to handle touch events in OnHandleInputEvent, and - Handles NOTIFICATION_FOCUSED_EDITABLE_NODE_TOUCHED in KeyboardWidget to show keyboard. BUG=none TEST=Manual Review URL: http://codereview.chromium.org/7923005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103694 0039d316-1c4b-4281-b951-d872f2087c98
* content: Move the final headers and residual traces of contrained windowserg@chromium.org2011-09-301-1/+1
| | | | | | | | | | | | to chrome/ BUG=95257 TEST=none Review URL: http://codereview.chromium.org/8103004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103579 0039d316-1c4b-4281-b951-d872f2087c98
* Remove old WEBWIDGET_HAS_ANIMATE_CHANGES ifdefs.adamk@chromium.org2011-09-221-4/+0
| | | | | | | | R=nduca@chromium.org Review URL: http://codereview.chromium.org/7982015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102314 0039d316-1c4b-4281-b951-d872f2087c98
* Mouse lock implementation, including the renderer side and the Windows ↵yzshen@chromium.org2011-09-221-6/+18
| | | | | | | | | | | | version of the browser side. BUG=41781 TEST=Manual test in ppapi/examples/mouse_lock Review URL: http://codereview.chromium.org/7863003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102234 0039d316-1c4b-4281-b951-d872f2087c98
* Retry 3 to split WebGraphicsContext3DCommandBufferImpl::initialize() into ↵nduca@chromium.org2011-09-131-0/+2
| | | | | | | | | | | | | | | | | | | two stages. This CL splits out creation of the context from channel creation. The WebGraphicsContext3D will not be fully initialized until MakeCurrent is called on it, at which point it is tied to the calling thread. As compared to previous land attempts, this has: - Protection against isContextLost being called on a dead context - WebKit-side protection to ensure that GraphicsContext3Ds get made current - Pepper modified to makeCurrent new contexts Original review URL: http://codereview.chromium.org/7713015 Review URL: http://codereview.chromium.org/7860028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100955 0039d316-1c4b-4281-b951-d872f2087c98
* Move the ViewMsg_FPS and ViewHostMsg_FPS IPC messages out of content to ↵ananta@chromium.org2011-09-081-7/+0
| | | | | | | | | | | | | | | | chrome as these are sent and processed by chrome. These messages are now prefixed with "Chrome" To handle the ChromeViewMsg_GetFPS message in the ChromeRenderViewObserver object we need to expose the value of the filtered_time_per_frame member in the RenderWidget class. Added a getter to achieve that. Continuing changes to ensure that IPCs don't span across content and chrome. BUG=87335 Review URL: http://codereview.chromium.org/7754004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100178 0039d316-1c4b-4281-b951-d872f2087c98
* Update Chrome to use WebKitPlatformSupport instead of WebKitClient.abarth@chromium.org2011-09-021-1/+1
| | | | | | Review URL: http://codereview.chromium.org/7831035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99349 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Kill browser-side rubberband gutter painting.asvitkine@chromium.org2011-08-171-6/+0
| | | | | | | | | | | | | | | Reverts a large chunk of: http://crrev.com/96387 This is now done in the renderer by WebKit. Depends on: https://bugs.webkit.org/show_bug.cgi?id=66226 BUG=88353,92645 TEST=manual Review URL: http://codereview.chromium.org/7671019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97164 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Rubber-banding on Lion.asvitkine@chromium.org2011-08-111-0/+6
| | | | | | | | | BUG=88353 TEST=On Lion, scroll past the edge of the web content area and see textured over-scroll area. Review URL: http://codereview.chromium.org/7582009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96387 0039d316-1c4b-4281-b951-d872f2087c98
* content: change SetTooltipText to use string16evan@chromium.org2011-08-081-2/+1
| | | | | | | | BUG=23581 Review URL: http://codereview.chromium.org/7583038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95852 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit 91883:91912.tonyg@chromium.org2011-07-281-1/+11
| | | | | | | | | | | | | | Also add new enum values corresponding to: http://trac.webkit.org/changeset/91892. Keeping the enums in sync prevents several chromium tests from DCHECK()ing. TBR=enne@chromium.org,penghuang@chromium.org BUG=None TEST=None Review URL: http://codereview.chromium.org/7523028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94453 0039d316-1c4b-4281-b951-d872f2087c98
* Add some trace events so that all causes of DoDeferredUpdate are shown in ↵jbates@chromium.org2011-07-201-1/+6
| | | | | | | | the trace. Review URL: http://codereview.chromium.org/7379008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93209 0039d316-1c4b-4281-b951-d872f2087c98
* Fix num_swapbuffers_complete_pending_ accounting.piman@google.com2011-07-111-4/+7
| | | | | | | | | | | | Move the accounting into the context itself, which knows accurately when a swapbuffers is sent. This fixes issues with the GPU process dying while an active tab is in the background. BUG=chromium-os:16960 TEST=Go to youtube with Pepper Flash, switch to a different tab, kill GPU process, go to youtube tab, check that it still displays. Do it again twice. Review URL: http://codereview.chromium.org/7313033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92080 0039d316-1c4b-4281-b951-d872f2087c98
* GPU compositing surface handle is no longer sent to renderer process.apatrick@chromium.org2011-06-271-7/+3
| | | | | | | | | | | | | Instead it is stored in a map in RenderWidgetHelper indexed by RenderWidgetHost route ID. This allows the UI thread to maintain the mapping as windows are created and destroyed and the IO thread to lookup the mapping in order to create GL contexts that render to the windows. This avoids a race where JavaScript would open a popup window and immediately try to use an accelerated canvas to render to it (2D canvas or WebGL canvas). <-- This is no longer true of this patch. There was a potential deadlock. WebGL canvas used to work in this case only because it would fall back to using ReadPixels. This goes some way to fixing the bug referenced below but does not fix it completely.BUG=80703 Review URL: http://codereview.chromium.org/7136001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90617 0039d316-1c4b-4281-b951-d872f2087c98
* Repost invalidation task in swapbuffers callback.nduca@chromium.org2011-06-221-4/+9
| | | | | | | | BUG=86438 Review URL: http://codereview.chromium.org/7236006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90128 0039d316-1c4b-4281-b951-d872f2087c98
* Show composition text on IME panel when Pepper plugin is focused (Linux).kinaba@chromium.org2011-06-171-10/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG=83684 TEST=1. On Linux Chrome, load some PPAPI plugin (e.g., ppapi/example) 2. Focus the plugin element 3. Turn on IME and type some text 4. Verify composition text is drawn on the IME candidate panel. This is the second step for enabling off-the-spot IME on Pepper on ChromeOS/Linux, continuing from the first step r87215. This patch includes [many places] Add a boolean flag to indicate inline composition is supported or not. (WebKit should also be updated for supporting this kind of information for the final complete version of Pepper IME API, but not in this patch) [chrome/browser/renderer_host/render_widget_host_view_gtk.cc] Control IME context to show composition text on candidate window. (In this patch, only RenderWidgetHostViewGtk, i.e., Linux and ChromeOS is considered. On Windows and Mac, the behavior stays unchanged.) [content/renderer/render_view.cc] Turn the flag off when Pepper is focused. and not yet include - Enhancement of ChromeOS candidate window to have composition text area. - Proper placement of the candidate window. Review URL: http://codereview.chromium.org/7041003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89451 0039d316-1c4b-4281-b951-d872f2087c98
* Add tracing for various functions significant in compositor startupjamesr@chromium.org2011-06-141-0/+2
| | | | | | | | | | BUG=85961 TEST=none Review URL: http://codereview.chromium.org/7149012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89048 0039d316-1c4b-4281-b951-d872f2087c98
* Initialize RenderWidget's compositing_surface_ to kNullPluginWindow. This ↵senorblanco@chromium.org2011-06-091-0/+1
| | | | | | | | | | | | avoids passing garbage down to the GL layers in the test case attached to the bug below. Note that this does not fix the bug, but will avoid potential memory corruption and suppress spurious window system errors. BUG=80703 TEST=run the "canvas-popup.html" test case in the bug. check the chrome_debug.log to see that no EGL or X errors are present. Review URL: http://codereview.chromium.org/7134049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88563 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 88547 - Initialize RenderWidget's compositing_surface_ to NULL. (ARM ↵senorblanco@chromium.org2011-06-091-1/+0
| | | | | | | | | | | | | bustage) BUG=80703 TEST=run the "canvas-popup.html" test case in the bug. check the chrome_debug.log to see that no EGL or X errors are present. Review URL: http://codereview.chromium.org/7108042 TBR=senorblanco@chromium.org Review URL: http://codereview.chromium.org/7003092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88549 0039d316-1c4b-4281-b951-d872f2087c98