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

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

Issue 2349523002: Add support for edit commands in OOPIFs. (Closed)
Patch Set: Created 4 years, 3 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
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 16 matching lines...) Expand all
27 class CONTENT_EXPORT RenderWidgetOwnerDelegate { 27 class CONTENT_EXPORT RenderWidgetOwnerDelegate {
28 public: 28 public:
29 // The RenderWidget set a color profile. 29 // The RenderWidget set a color profile.
30 virtual void RenderWidgetDidSetColorProfile( 30 virtual void RenderWidgetDidSetColorProfile(
31 const std::vector<char>& color_profile) = 0; 31 const std::vector<char>& color_profile) = 0;
32 32
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;
38 virtual bool RenderWidgetWillHandleGestureEvent( 37 virtual bool RenderWidgetWillHandleGestureEvent(
39 const blink::WebGestureEvent& event) = 0; 38 const blink::WebGestureEvent& event) = 0;
40 virtual bool RenderWidgetWillHandleMouseEvent( 39 virtual bool RenderWidgetWillHandleMouseEvent(
41 const blink::WebMouseEvent& event) = 0; 40 const blink::WebMouseEvent& event) = 0;
42 41
43 // Painting notifications. DidFlushPaint happens once we've received the ACK 42 // Painting notifications. DidFlushPaint happens once we've received the ACK
44 // that the screen has been updated. 43 // that the screen has been updated.
45 virtual void RenderWidgetDidFlushPaint() = 0; 44 virtual void RenderWidgetDidFlushPaint() = 0;
46 45
47 protected: 46 protected:
48 virtual ~RenderWidgetOwnerDelegate() {} 47 virtual ~RenderWidgetOwnerDelegate() {}
49 }; 48 };
50 49
51 } // namespace content 50 } // namespace content
52 51
53 #endif // CONTENT_RENDERER_RENDER_WIDGET_OWNER_DELEGATE_H_ 52 #endif // CONTENT_RENDERER_RENDER_WIDGET_OWNER_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/renderer/render_widget.cc ('k') | third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698