OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 21 matching lines...) Expand all Loading... |
32 #define FakeWebPlugin_h | 32 #define FakeWebPlugin_h |
33 | 33 |
34 #include "public/web/WebPlugin.h" | 34 #include "public/web/WebPlugin.h" |
35 | 35 |
36 namespace blink { | 36 namespace blink { |
37 | 37 |
38 class WebDragData; | 38 class WebDragData; |
39 class WebFrame; | 39 class WebFrame; |
40 class WebInputEvent; | 40 class WebInputEvent; |
41 class WebPluginContainer; | 41 class WebPluginContainer; |
42 class WebURL; | |
43 class WebURLResponse; | 42 class WebURLResponse; |
44 struct WebPluginParams; | 43 struct WebPluginParams; |
45 | 44 |
46 class FakeWebPlugin : public WebPlugin { | 45 class FakeWebPlugin : public WebPlugin { |
47 public: | 46 public: |
48 FakeWebPlugin(WebFrame*, const WebPluginParams&); | 47 FakeWebPlugin(WebFrame*, const WebPluginParams&); |
49 | 48 |
50 // WebPlugin methods: | 49 // WebPlugin methods: |
51 bool initialize(WebPluginContainer*) override; | 50 bool initialize(WebPluginContainer*) override; |
52 void destroy() override; | 51 void destroy() override; |
(...skipping 30 matching lines...) Expand all Loading... |
83 WebPluginContainer* container() const { return m_container; } | 82 WebPluginContainer* container() const { return m_container; } |
84 | 83 |
85 private: | 84 private: |
86 WebFrame* m_frame; | 85 WebFrame* m_frame; |
87 WebPluginContainer* m_container; | 86 WebPluginContainer* m_container; |
88 }; | 87 }; |
89 | 88 |
90 } // namespace blink | 89 } // namespace blink |
91 | 90 |
92 #endif // FakeWebPlugin_h | 91 #endif // FakeWebPlugin_h |
OLD | NEW |