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

Side by Side Diff: content/public/renderer/browser_plugin_delegate.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_PUBLIC_RENDERER_BROWSER_PLUGIN_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_BROWSER_PLUGIN_DELEGATE_H_
6 #define CONTENT_PUBLIC_RENDERER_BROWSER_PLUGIN_DELEGATE_H_ 6 #define CONTENT_PUBLIC_RENDERER_BROWSER_PLUGIN_DELEGATE_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 10
11 namespace gfx { 11 namespace gfx {
12 class Size; 12 class Size;
13 } 13 }
14 14
15 namespace v8 { 15 namespace v8 {
16 class Isolate; 16 class Isolate;
17 class Object; 17 class Object;
18 template<typename T> class Local; 18 template<typename T> class Local;
19 } // namespace v8 19 } // namespace v8
20 20
21 namespace content { 21 namespace content {
22 22
23 class RenderFrame;
24
25 // A delegate for BrowserPlugin which gets notified about the plugin load. 23 // A delegate for BrowserPlugin which gets notified about the plugin load.
26 // Implementations can provide additional steps necessary to change the load 24 // Implementations can provide additional steps necessary to change the load
27 // behavior of the plugin. 25 // behavior of the plugin.
28 class CONTENT_EXPORT BrowserPluginDelegate { 26 class CONTENT_EXPORT BrowserPluginDelegate {
29 public: 27 public:
30 // Called when the BrowserPlugin's geometry has been computed for the first 28 // Called when the BrowserPlugin's geometry has been computed for the first
31 // time. 29 // time.
32 virtual void Ready() {} 30 virtual void Ready() {}
33 31
34 // Called when plugin document has finished loading. 32 // Called when plugin document has finished loading.
(...skipping 18 matching lines...) Expand all
53 // Returns a weak pointer to this delegate. 51 // Returns a weak pointer to this delegate.
54 virtual base::WeakPtr<BrowserPluginDelegate> GetWeakPtr() = 0; 52 virtual base::WeakPtr<BrowserPluginDelegate> GetWeakPtr() = 0;
55 53
56 protected: 54 protected:
57 virtual ~BrowserPluginDelegate() {} 55 virtual ~BrowserPluginDelegate() {}
58 }; 56 };
59 57
60 } // namespace content 58 } // namespace content
61 59
62 #endif // CONTENT_PUBLIC_RENDERER_BROWSER_PLUGIN_DELEGATE_H_ 60 #endif // CONTENT_PUBLIC_RENDERER_BROWSER_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/public/common/sandboxed_process_launcher_delegate.h ('k') | content/public/renderer/content_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698