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

Side by Side Diff: chrome/renderer/blocked_plugin.h

Issue 8539005: Cleanup: Remove unneeded forward declarations in chrome/renderer. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/autofill/form_cache.h ('k') | chrome/renderer/chrome_render_view_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_RENDERER_BLOCKED_PLUGIN_H_ 5 #ifndef CHROME_RENDERER_BLOCKED_PLUGIN_H_
6 #define CHROME_RENDERER_BLOCKED_PLUGIN_H_ 6 #define CHROME_RENDERER_BLOCKED_PLUGIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/public/renderer/render_view_observer.h" 9 #include "content/public/renderer/render_view_observer.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h"
11 #include "webkit/glue/cpp_bound_class.h" 11 #include "webkit/glue/cpp_bound_class.h"
12 #include "webkit/plugins/npapi/webview_plugin.h" 12 #include "webkit/plugins/npapi/webview_plugin.h"
13 #include "webkit/plugins/webplugininfo.h" 13 #include "webkit/plugins/webplugininfo.h"
14 14
15 class GURL;
16
17 namespace webkit {
18 namespace npapi {
19 class PluginGroup;
20 }
21 }
22
23 namespace webkit_glue {
24 struct CustomContextMenuContext;
25 }
26
27 class BlockedPlugin : public content::RenderViewObserver, 15 class BlockedPlugin : public content::RenderViewObserver,
28 public CppBoundClass, 16 public CppBoundClass,
29 public webkit::npapi::WebViewPlugin::Delegate { 17 public webkit::npapi::WebViewPlugin::Delegate {
30 public: 18 public:
31 BlockedPlugin(content::RenderView* render_view, 19 BlockedPlugin(content::RenderView* render_view,
32 WebKit::WebFrame* frame, 20 WebKit::WebFrame* frame,
33 const webkit::WebPluginInfo& info, 21 const webkit::WebPluginInfo& info,
34 const WebKit::WebPluginParams& params, 22 const WebKit::WebPluginParams& params,
35 const WebPreferences& settings, 23 const WebPreferences& settings,
36 int template_id, 24 int template_id,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // The name of the plugin that was blocked. 70 // The name of the plugin that was blocked.
83 string16 name_; 71 string16 name_;
84 // True iff the plugin was blocked because the page was being prerendered. 72 // True iff the plugin was blocked because the page was being prerendered.
85 // Plugin will automatically be loaded when the page is displayed. 73 // Plugin will automatically be loaded when the page is displayed.
86 bool is_blocked_for_prerendering_; 74 bool is_blocked_for_prerendering_;
87 bool hidden_; 75 bool hidden_;
88 bool allow_loading_; 76 bool allow_loading_;
89 }; 77 };
90 78
91 #endif // CHROME_RENDERER_BLOCKED_PLUGIN_H_ 79 #endif // CHROME_RENDERER_BLOCKED_PLUGIN_H_
OLDNEW
« no previous file with comments | « chrome/renderer/autofill/form_cache.h ('k') | chrome/renderer/chrome_render_view_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698