| 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 WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_PAGE_DELEGATE_H_ | 5 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_PAGE_DELEGATE_H_ |
| 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_PAGE_DELEGATE_H_ | 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_PAGE_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 const WebPluginGeometry& move) = 0; | 53 const WebPluginGeometry& move) = 0; |
| 54 | 54 |
| 55 // Notifies the parent view that a load has begun. | 55 // Notifies the parent view that a load has begun. |
| 56 virtual void DidStartLoadingForPlugin() = 0; | 56 virtual void DidStartLoadingForPlugin() = 0; |
| 57 | 57 |
| 58 // Notifies the parent view that all loads are finished. | 58 // Notifies the parent view that all loads are finished. |
| 59 virtual void DidStopLoadingForPlugin() = 0; | 59 virtual void DidStopLoadingForPlugin() = 0; |
| 60 | 60 |
| 61 // The WebCookieJar to use for this plugin. | 61 // The WebCookieJar to use for this plugin. |
| 62 virtual WebKit::WebCookieJar* GetCookieJar() = 0; | 62 virtual WebKit::WebCookieJar* GetCookieJar() = 0; |
| 63 |
| 64 protected: |
| 65 virtual ~WebPluginPageDelegate() {} |
| 63 }; | 66 }; |
| 64 | 67 |
| 65 } // namespace npapi | 68 } // namespace npapi |
| 66 } // namespace webkit | 69 } // namespace webkit |
| 67 | 70 |
| 68 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_PAGE_DELEGATE_H_ | 71 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_PAGE_DELEGATE_H_ |
| OLD | NEW |