OLD | NEW |
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_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ |
6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ | 6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 const std::vector<std::string>& arg_names, | 81 const std::vector<std::string>& arg_names, |
82 const std::vector<std::string>& arg_values, | 82 const std::vector<std::string>& arg_values, |
83 bool load_manually) override; | 83 bool load_manually) override; |
84 void PluginDestroyed() override; | 84 void PluginDestroyed() override; |
85 void UpdateGeometry(const gfx::Rect& window_rect, | 85 void UpdateGeometry(const gfx::Rect& window_rect, |
86 const gfx::Rect& clip_rect) override; | 86 const gfx::Rect& clip_rect) override; |
87 void Paint(SkCanvas* canvas, const gfx::Rect& rect) override; | 87 void Paint(SkCanvas* canvas, const gfx::Rect& rect) override; |
88 void SetFocus(bool focused) override; | 88 void SetFocus(bool focused) override; |
89 bool HandleInputEvent(const blink::WebInputEvent& event, | 89 bool HandleInputEvent(const blink::WebInputEvent& event, |
90 WebCursor::CursorInfo* cursor_info) override; | 90 WebCursor::CursorInfo* cursor_info) override; |
91 bool GetFormValue(base::string16* value) override; | |
92 int GetProcessId() override; | 91 int GetProcessId() override; |
93 // End of WebPluginDelegate implementation. | 92 // End of WebPluginDelegate implementation. |
94 | 93 |
95 PluginInstance* instance() { return instance_.get(); } | 94 PluginInstance* instance() { return instance_.get(); } |
96 gfx::Rect GetRect() const { return window_rect_; } | 95 gfx::Rect GetRect() const { return window_rect_; } |
97 gfx::Rect GetClipRect() const { return clip_rect_; } | 96 gfx::Rect GetClipRect() const { return clip_rect_; } |
98 | 97 |
99 // Returns the path for the library implementing this plugin. | 98 // Returns the path for the library implementing this plugin. |
100 base::FilePath GetPluginPath(); | 99 base::FilePath GetPluginPath(); |
101 | 100 |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 // asynchronously. | 278 // asynchronously. |
280 base::WeakPtrFactory<WebPluginDelegateImpl> user_gesture_msg_factory_; | 279 base::WeakPtrFactory<WebPluginDelegateImpl> user_gesture_msg_factory_; |
281 #endif | 280 #endif |
282 | 281 |
283 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); | 282 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); |
284 }; | 283 }; |
285 | 284 |
286 } // namespace content | 285 } // namespace content |
287 | 286 |
288 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ | 287 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |