| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 const std::vector<std::string>& arg_names, | 85 const std::vector<std::string>& arg_names, |
| 86 const std::vector<std::string>& arg_values, | 86 const std::vector<std::string>& arg_values, |
| 87 bool load_manually) override; | 87 bool load_manually) override; |
| 88 void PluginDestroyed() override; | 88 void PluginDestroyed() override; |
| 89 void UpdateGeometry(const gfx::Rect& window_rect, | 89 void UpdateGeometry(const gfx::Rect& window_rect, |
| 90 const gfx::Rect& clip_rect) override; | 90 const gfx::Rect& clip_rect) override; |
| 91 void Paint(SkCanvas* canvas, const gfx::Rect& rect) override; | 91 void Paint(SkCanvas* canvas, const gfx::Rect& rect) override; |
| 92 void SetFocus(bool focused) override; | 92 void SetFocus(bool focused) override; |
| 93 bool HandleInputEvent(const blink::WebInputEvent& event, | 93 bool HandleInputEvent(const blink::WebInputEvent& event, |
| 94 WebCursor::CursorInfo* cursor_info) override; | 94 WebCursor::CursorInfo* cursor_info) override; |
| 95 NPObject* GetPluginScriptableObject() override; | |
| 96 NPP GetPluginNPP() override; | |
| 97 bool GetFormValue(base::string16* value) override; | 95 bool GetFormValue(base::string16* value) override; |
| 98 int GetProcessId() override; | 96 int GetProcessId() override; |
| 99 // End of WebPluginDelegate implementation. | 97 // End of WebPluginDelegate implementation. |
| 100 | 98 |
| 101 gfx::PluginWindowHandle windowed_handle() const { return windowed_handle_; } | 99 gfx::PluginWindowHandle windowed_handle() const { return windowed_handle_; } |
| 102 bool IsWindowless() const { return windowless_; } | 100 bool IsWindowless() const { return windowless_; } |
| 103 PluginInstance* instance() { return instance_.get(); } | 101 PluginInstance* instance() { return instance_.get(); } |
| 104 gfx::Rect GetRect() const { return window_rect_; } | 102 gfx::Rect GetRect() const { return window_rect_; } |
| 105 gfx::Rect GetClipRect() const { return clip_rect_; } | 103 gfx::Rect GetClipRect() const { return clip_rect_; } |
| 106 | 104 |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 440 // asynchronously. | 438 // asynchronously. |
| 441 base::WeakPtrFactory<WebPluginDelegateImpl> user_gesture_msg_factory_; | 439 base::WeakPtrFactory<WebPluginDelegateImpl> user_gesture_msg_factory_; |
| 442 #endif | 440 #endif |
| 443 | 441 |
| 444 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); | 442 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); |
| 445 }; | 443 }; |
| 446 | 444 |
| 447 } // namespace content | 445 } // namespace content |
| 448 | 446 |
| 449 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ | 447 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ |
| OLD | NEW |