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

Side by Side Diff: webkit/glue/webplugin_delegate.h

Issue 119200: Fixes a flash plugin hang caused by opening google finance ticker symbols in ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 months 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 | « webkit/glue/plugins/webplugin_delegate_impl.h ('k') | webkit/glue/webplugin_impl.cc » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_
6 #define WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_ 6 #define WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/gfx/native_widget_types.h" 10 #include "base/gfx/native_widget_types.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // Gets the NPObject associated with the plugin for scripting. 94 // Gets the NPObject associated with the plugin for scripting.
95 virtual NPObject* GetPluginScriptableObject() = 0; 95 virtual NPObject* GetPluginScriptableObject() = 0;
96 96
97 // Receives notification about a resource load that the plugin initiated 97 // Receives notification about a resource load that the plugin initiated
98 // for a frame. 98 // for a frame.
99 virtual void DidFinishLoadWithReason(NPReason reason) = 0; 99 virtual void DidFinishLoadWithReason(NPReason reason) = 0;
100 100
101 // Returns the process id of the process that is running the plugin. 101 // Returns the process id of the process that is running the plugin.
102 virtual int GetProcessId() = 0; 102 virtual int GetProcessId() = 0;
103 103
104 virtual void FlushGeometryUpdates() = 0;
105
106 // The result of the script execution is returned via this function. 104 // The result of the script execution is returned via this function.
107 virtual void SendJavaScriptStream(const std::string& url, 105 virtual void SendJavaScriptStream(const std::string& url,
108 const std::wstring& result, 106 const std::wstring& result,
109 bool success, bool notify_needed, 107 bool success, bool notify_needed,
110 intptr_t notify_data) = 0; 108 intptr_t notify_data) = 0;
111 109
112 // Receives notification about data being available. 110 // Receives notification about data being available.
113 virtual void DidReceiveManualResponse(const std::string& url, 111 virtual void DidReceiveManualResponse(const std::string& url,
114 const std::string& mime_type, 112 const std::string& mime_type,
115 const std::string& headers, 113 const std::string& headers,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 virtual const gfx::Rect& GetClipRect() const; 147 virtual const gfx::Rect& GetClipRect() const;
150 148
151 // Returns a combination of PluginQuirks. 149 // Returns a combination of PluginQuirks.
152 virtual int GetQuirks() const; 150 virtual int GetQuirks() const;
153 151
154 private: 152 private:
155 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegate); 153 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegate);
156 }; 154 };
157 155
158 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_ 156 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/glue/plugins/webplugin_delegate_impl.h ('k') | webkit/glue/webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698