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

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

Issue 853333002: Browser Plugin: Make aware of focus direction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 5 years, 11 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 (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_PPEPPER_WEBPLUGIN_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PPEPPER_WEBPLUGIN_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PPEPPER_WEBPLUGIN_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PPEPPER_WEBPLUGIN_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 virtual void destroy(); 45 virtual void destroy();
46 virtual v8::Local<v8::Object> v8ScriptableObject( 46 virtual v8::Local<v8::Object> v8ScriptableObject(
47 v8::Isolate* isolate) override; 47 v8::Isolate* isolate) override;
48 virtual bool getFormValue(blink::WebString& value); 48 virtual bool getFormValue(blink::WebString& value);
49 virtual void paint(blink::WebCanvas* canvas, const blink::WebRect& rect); 49 virtual void paint(blink::WebCanvas* canvas, const blink::WebRect& rect);
50 virtual void updateGeometry( 50 virtual void updateGeometry(
51 const blink::WebRect& frame_rect, 51 const blink::WebRect& frame_rect,
52 const blink::WebRect& clip_rect, 52 const blink::WebRect& clip_rect,
53 const blink::WebVector<blink::WebRect>& cut_outs_rects, 53 const blink::WebVector<blink::WebRect>& cut_outs_rects,
54 bool is_visible); 54 bool is_visible);
55 virtual void updateFocus(bool focused); 55 virtual void updateFocus(bool focused, blink::WebFocusType focus_type);
56 virtual void updateVisibility(bool visible); 56 virtual void updateVisibility(bool visible);
57 virtual bool acceptsInputEvents(); 57 virtual bool acceptsInputEvents();
58 virtual bool handleInputEvent(const blink::WebInputEvent& event, 58 virtual bool handleInputEvent(const blink::WebInputEvent& event,
59 blink::WebCursorInfo& cursor_info); 59 blink::WebCursorInfo& cursor_info);
60 virtual void didReceiveResponse(const blink::WebURLResponse& response); 60 virtual void didReceiveResponse(const blink::WebURLResponse& response);
61 virtual void didReceiveData(const char* data, int data_length); 61 virtual void didReceiveData(const char* data, int data_length);
62 virtual void didFinishLoading(); 62 virtual void didFinishLoading();
63 virtual void didFailLoading(const blink::WebURLError&); 63 virtual void didFailLoading(const blink::WebURLError&);
64 virtual void didFinishLoadingFrameRequest(const blink::WebURL& url, 64 virtual void didFinishLoadingFrameRequest(const blink::WebURL& url,
65 void* notify_data); 65 void* notify_data);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 gfx::Rect plugin_rect_; 104 gfx::Rect plugin_rect_;
105 PP_Var instance_object_; 105 PP_Var instance_object_;
106 blink::WebPluginContainer* container_; 106 blink::WebPluginContainer* container_;
107 107
108 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl); 108 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl);
109 }; 109 };
110 110
111 } // namespace content 111 } // namespace content
112 112
113 #endif // CONTENT_RENDERER_PEPPER_PPEPPER_WEBPLUGIN_IMPL_H_ 113 #endif // CONTENT_RENDERER_PEPPER_PPEPPER_WEBPLUGIN_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/npapi/webplugin_impl.cc ('k') | content/renderer/pepper/pepper_webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698