| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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_GLUE_WEBPLUGIN_H_ | 5 #ifndef WEBKIT_GLUE_WEBPLUGIN_H_ |
| 6 #define WEBKIT_GLUE_WEBPLUGIN_H_ | 6 #define WEBKIT_GLUE_WEBPLUGIN_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "app/gfx/native_widget_types.h" |
| 11 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 12 #include "base/gfx/rect.h" | 13 #include "base/gfx/rect.h" |
| 13 #include "base/gfx/native_widget_types.h" | |
| 14 | 14 |
| 15 // TODO(port): this typedef is obviously incorrect on non-Windows | 15 // TODO(port): this typedef is obviously incorrect on non-Windows |
| 16 // platforms, but now a lot of code now accidentally depends on them | 16 // platforms, but now a lot of code now accidentally depends on them |
| 17 // existing. #ifdef out these declarations and fix all the users. | 17 // existing. #ifdef out these declarations and fix all the users. |
| 18 typedef void* HANDLE; | 18 typedef void* HANDLE; |
| 19 | 19 |
| 20 class GURL; | 20 class GURL; |
| 21 struct NPObject; | 21 struct NPObject; |
| 22 | 22 |
| 23 namespace WebKit { | 23 namespace WebKit { |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 virtual void DidReceiveData(const char* buffer, int length, | 142 virtual void DidReceiveData(const char* buffer, int length, |
| 143 int data_offset) = 0; | 143 int data_offset) = 0; |
| 144 virtual void DidFinishLoading() = 0; | 144 virtual void DidFinishLoading() = 0; |
| 145 virtual void DidFail() = 0; | 145 virtual void DidFail() = 0; |
| 146 virtual bool IsMultiByteResponseExpected() = 0; | 146 virtual bool IsMultiByteResponseExpected() = 0; |
| 147 }; | 147 }; |
| 148 | 148 |
| 149 } // namespace webkit_glue | 149 } // namespace webkit_glue |
| 150 | 150 |
| 151 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_H_ | 151 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_H_ |
| OLD | NEW |