Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(556)

Side by Side Diff: content/renderer/pepper/plugin_power_saver_helper.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_POWER_SAVER_HELPER_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PLUGIN_POWER_SAVER_HELPER_H_
6 #define CONTENT_RENDERER_PEPPER_PLUGIN_POWER_SAVER_HELPER_H_ 6 #define CONTENT_RENDERER_PEPPER_PLUGIN_POWER_SAVER_HELPER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
14 #include "content/public/renderer/render_frame.h" 14 #include "content/public/renderer/render_frame.h"
15 #include "content/public/renderer/render_frame_observer.h" 15 #include "content/public/renderer/render_frame_observer.h"
16 #include "url/origin.h" 16 #include "url/origin.h"
17 17
18 namespace blink {
19 struct WebPluginParams;
20 struct WebRect;
21 }
22
23 namespace gfx { 18 namespace gfx {
24 class Size; 19 class Size;
25 } 20 }
26 21
27 namespace content { 22 namespace content {
28 23
29 class CONTENT_EXPORT PluginPowerSaverHelper : public RenderFrameObserver { 24 class CONTENT_EXPORT PluginPowerSaverHelper : public RenderFrameObserver {
30 public: 25 public:
31 explicit PluginPowerSaverHelper(RenderFrame* render_frame); 26 explicit PluginPowerSaverHelper(RenderFrame* render_frame);
32 ~PluginPowerSaverHelper() override; 27 ~PluginPowerSaverHelper() override;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 63
69 // Set of peripheral plugins eligible to be unthrottled ex post facto. 64 // Set of peripheral plugins eligible to be unthrottled ex post facto.
70 std::vector<PeripheralPlugin> peripheral_plugins_; 65 std::vector<PeripheralPlugin> peripheral_plugins_;
71 66
72 DISALLOW_COPY_AND_ASSIGN(PluginPowerSaverHelper); 67 DISALLOW_COPY_AND_ASSIGN(PluginPowerSaverHelper);
73 }; 68 };
74 69
75 } // namespace content 70 } // namespace content
76 71
77 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_POWER_SAVER_HELPER_H_ 72 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_POWER_SAVER_HELPER_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/plugin_module.h ('k') | content/renderer/pepper/ppb_video_decoder_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698