OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_PUBLIC_RENDERER_PLUGIN_INSTANCE_THROTTLER_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_PLUGIN_INSTANCE_THROTTLER_H_ |
6 #define CONTENT_PUBLIC_RENDERER_PLUGIN_INSTANCE_THROTTLER_H_ | 6 #define CONTENT_PUBLIC_RENDERER_PLUGIN_INSTANCE_THROTTLER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 #include "content/public/renderer/render_frame.h" | 12 #include "content/public/renderer/render_frame.h" |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
15 class WebPlugin; | 15 class WebPlugin; |
16 struct WebPluginParams; | |
17 } | 16 } |
18 | 17 |
19 namespace gfx { | 18 namespace gfx { |
20 class Size; | 19 class Size; |
21 } | 20 } |
22 | 21 |
23 class SkBitmap; | 22 class SkBitmap; |
24 | 23 |
25 namespace content { | 24 namespace content { |
26 | 25 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 | 103 |
105 protected: | 104 protected: |
106 PluginInstanceThrottler() {} | 105 PluginInstanceThrottler() {} |
107 | 106 |
108 private: | 107 private: |
109 DISALLOW_COPY_AND_ASSIGN(PluginInstanceThrottler); | 108 DISALLOW_COPY_AND_ASSIGN(PluginInstanceThrottler); |
110 }; | 109 }; |
111 } | 110 } |
112 | 111 |
113 #endif // CONTENT_PUBLIC_RENDERER_PLUGIN_INSTANCE_THROTTLER_H_ | 112 #endif // CONTENT_PUBLIC_RENDERER_PLUGIN_INSTANCE_THROTTLER_H_ |
OLD | NEW |