| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/8872046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113837 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/8704005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112719 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/8344021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106841 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/7831035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99349 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|