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

Side by Side Diff: content/renderer/pepper/pepper_webplugin_impl.h

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: Created 4 years, 1 month 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 void paint(blink::WebCanvas* canvas, const blink::WebRect& rect) override; 49 void paint(blink::WebCanvas* canvas, const blink::WebRect& rect) override;
50 void updateGeometry(const blink::WebRect& window_rect, 50 void updateGeometry(const blink::WebRect& window_rect,
51 const blink::WebRect& clip_rect, 51 const blink::WebRect& clip_rect,
52 const blink::WebRect& unobscured_rect, 52 const blink::WebRect& unobscured_rect,
53 const blink::WebVector<blink::WebRect>& cut_outs_rects, 53 const blink::WebVector<blink::WebRect>& cut_outs_rects,
54 bool is_visible) override; 54 bool is_visible) override;
55 void updateFocus(bool focused, blink::WebFocusType focus_type) override; 55 void updateFocus(bool focused, blink::WebFocusType focus_type) override;
56 void updateVisibility(bool visible) override; 56 void updateVisibility(bool visible) override;
57 blink::WebInputEventResult handleInputEvent( 57 blink::WebInputEventResult handleInputEvent(
58 const blink::WebInputEvent& event, 58 const blink::WebInputEvent& event,
59 const std::vector<const blink::WebInputEvent*>& coalescedEvents,
59 blink::WebCursorInfo& cursor_info) override; 60 blink::WebCursorInfo& cursor_info) override;
60 void didReceiveResponse(const blink::WebURLResponse& response) override; 61 void didReceiveResponse(const blink::WebURLResponse& response) override;
61 void didReceiveData(const char* data, int data_length) override; 62 void didReceiveData(const char* data, int data_length) override;
62 void didFinishLoading() override; 63 void didFinishLoading() override;
63 void didFailLoading(const blink::WebURLError&) override; 64 void didFailLoading(const blink::WebURLError&) override;
64 bool hasSelection() const override; 65 bool hasSelection() const override;
65 blink::WebString selectionAsText() const override; 66 blink::WebString selectionAsText() const override;
66 blink::WebString selectionAsMarkup() const override; 67 blink::WebString selectionAsMarkup() const override;
67 blink::WebURL linkAtPosition(const blink::WebPoint& position) const override; 68 blink::WebURL linkAtPosition(const blink::WebPoint& position) const override;
68 bool getPrintPresetOptionsFromDocument( 69 bool getPrintPresetOptionsFromDocument(
(...skipping 30 matching lines...) Expand all
99 gfx::Rect plugin_rect_; 100 gfx::Rect plugin_rect_;
100 PP_Var instance_object_; 101 PP_Var instance_object_;
101 blink::WebPluginContainer* container_; 102 blink::WebPluginContainer* container_;
102 103
103 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl); 104 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl);
104 }; 105 };
105 106
106 } // namespace content 107 } // namespace content
107 108
108 #endif // CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ 109 #endif // CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698