Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Side by Side Diff: content/renderer/render_widget_owner_delegate.h

Issue 1771043002: Separate RenderView from RenderWidget, part 4: Painting calls in the delegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_OWNER_DELEGATE_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_OWNER_DELEGATE_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_OWNER_DELEGATE_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_OWNER_DELEGATE_H_
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 22 matching lines...) Expand all
33 // As in RenderWidgetInputHandlerDelegate. 33 // As in RenderWidgetInputHandlerDelegate.
34 virtual void RenderWidgetFocusChangeComplete() = 0; 34 virtual void RenderWidgetFocusChangeComplete() = 0;
35 virtual bool DoesRenderWidgetHaveTouchEventHandlersAt( 35 virtual bool DoesRenderWidgetHaveTouchEventHandlersAt(
36 const gfx::Point& point) const = 0; 36 const gfx::Point& point) const = 0;
37 virtual void RenderWidgetDidHandleKeyEvent() = 0; 37 virtual void RenderWidgetDidHandleKeyEvent() = 0;
38 virtual bool RenderWidgetWillHandleGestureEvent( 38 virtual bool RenderWidgetWillHandleGestureEvent(
39 const blink::WebGestureEvent& event) = 0; 39 const blink::WebGestureEvent& event) = 0;
40 virtual bool RenderWidgetWillHandleMouseEvent( 40 virtual bool RenderWidgetWillHandleMouseEvent(
41 const blink::WebMouseEvent& event) = 0; 41 const blink::WebMouseEvent& event) = 0;
42 42
43 // Painting notifications. RenderWidgetDidCommitAndDrawCompositorFrame happens
44 // when that has completed, and subsequent rendering won't affect the painted
45 // content. DidFlushPaint happens once we've received the ACK that the screen
46 // has been updated. For a given paint operation, these overrides will always
47 // be called in the order RenderWidgetDidCommitAndDrawCompositorFrame,
48 // RenderWidgetDidFlushPaint.
49 virtual void RenderWidgetDidCommitAndDrawCompositorFrame() = 0;
50 virtual void RenderWidgetDidFlushPaint() = 0;
51
43 protected: 52 protected:
44 virtual ~RenderWidgetOwnerDelegate() {} 53 virtual ~RenderWidgetOwnerDelegate() {}
45 }; 54 };
46 55
47 } // namespace content 56 } // namespace content
48 57
49 #endif // CONTENT_RENDERER_RENDER_WIDGET_OWNER_DELEGATE_H_ 58 #endif // CONTENT_RENDERER_RENDER_WIDGET_OWNER_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698