OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_PLUGIN_INSTANCE_THROTTLER_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PLUGIN_INSTANCE_THROTTLER_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_PLUGIN_INSTANCE_THROTTLER_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PLUGIN_INSTANCE_THROTTLER_IMPL_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
11 #include "base/timer/timer.h" | 11 #include "base/timer/timer.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 #include "content/public/renderer/plugin_instance_throttler.h" | 13 #include "content/public/renderer/plugin_instance_throttler.h" |
14 #include "content/renderer/pepper/pepper_webplugin_impl.h" | 14 #include "content/renderer/pepper/pepper_webplugin_impl.h" |
15 #include "ppapi/shared_impl/ppb_view_shared.h" | 15 #include "ppapi/shared_impl/ppb_view_shared.h" |
16 #include "third_party/skia/include/core/SkBitmap.h" | 16 #include "third_party/skia/include/core/SkBitmap.h" |
17 #include "ui/gfx/geometry/size.h" | 17 #include "ui/gfx/geometry/size.h" |
18 | 18 |
19 namespace blink { | 19 namespace blink { |
20 class WebInputEvent; | 20 class WebInputEvent; |
21 struct WebRect; | |
22 } | 21 } |
23 | 22 |
24 namespace url { | 23 namespace url { |
25 class Origin; | 24 class Origin; |
26 } | 25 } |
27 | 26 |
28 namespace content { | 27 namespace content { |
29 | 28 |
30 class PepperWebPluginImpl; | 29 class PepperWebPluginImpl; |
31 class RenderFrameImpl; | 30 class RenderFrameImpl; |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 115 |
117 base::ObserverList<Observer> observer_list_; | 116 base::ObserverList<Observer> observer_list_; |
118 | 117 |
119 base::WeakPtrFactory<PluginInstanceThrottlerImpl> weak_factory_; | 118 base::WeakPtrFactory<PluginInstanceThrottlerImpl> weak_factory_; |
120 | 119 |
121 DISALLOW_COPY_AND_ASSIGN(PluginInstanceThrottlerImpl); | 120 DISALLOW_COPY_AND_ASSIGN(PluginInstanceThrottlerImpl); |
122 }; | 121 }; |
123 } | 122 } |
124 | 123 |
125 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_INSTANCE_THROTTLER_IMPL_H_ | 124 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_INSTANCE_THROTTLER_IMPL_H_ |
OLD | NEW |