OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_RENDERER_PEPPER_FAKE_PEPPER_PLUGIN_INSTANCE_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_FAKE_PEPPER_PLUGIN_INSTANCE_H_ |
6 #define CONTENT_RENDERER_PEPPER_FAKE_PEPPER_PLUGIN_INSTANCE_H_ | 6 #define CONTENT_RENDERER_PEPPER_FAKE_PEPPER_PLUGIN_INSTANCE_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "content/public/renderer/pepper_plugin_instance.h" | 10 #include "content/public/renderer/pepper_plugin_instance.h" |
9 #include "url/gurl.h" | 11 #include "url/gurl.h" |
10 | 12 |
11 namespace content { | 13 namespace content { |
12 | 14 |
13 class FakePepperPluginInstance : public PepperPluginInstance { | 15 class FakePepperPluginInstance : public PepperPluginInstance { |
14 public: | 16 public: |
15 ~FakePepperPluginInstance() override; | 17 ~FakePepperPluginInstance() override; |
16 | 18 |
17 // PepperPluginInstance overrides. | 19 // PepperPluginInstance overrides. |
(...skipping 24 matching lines...) Expand all Loading... |
42 void SetTextInputType(ui::TextInputType type) override; | 44 void SetTextInputType(ui::TextInputType type) override; |
43 void PostMessageToJavaScript(PP_Var message) override; | 45 void PostMessageToJavaScript(PP_Var message) override; |
44 | 46 |
45 private: | 47 private: |
46 GURL gurl_; | 48 GURL gurl_; |
47 }; | 49 }; |
48 | 50 |
49 } // namespace content | 51 } // namespace content |
50 | 52 |
51 #endif // CONTENT_RENDERER_PEPPER_FAKE_PEPPER_PLUGIN_INSTANCE_H_ | 53 #endif // CONTENT_RENDERER_PEPPER_FAKE_PEPPER_PLUGIN_INSTANCE_H_ |
OLD | NEW |