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

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

Issue 1813: fix build issue on Linux with GCC 4.1.2... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 3 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 | « AUTHORS ('k') | webkit/glue/webplugin_delegate.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) 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_H__ 5 #ifndef WEBKIT_GLUE_WEBPLUGIN_H__
6 #define WEBKIT_GLUE_WEBPLUGIN_H__ 6 #define WEBKIT_GLUE_WEBPLUGIN_H__
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 bool notify, const char* url, 126 bool notify, const char* url,
127 void* notify_data, bool popups_allowed) = 0; 127 void* notify_data, bool popups_allowed) = 0;
128 128
129 private: 129 private:
130 DISALLOW_EVIL_CONSTRUCTORS(WebPlugin); 130 DISALLOW_EVIL_CONSTRUCTORS(WebPlugin);
131 }; 131 };
132 132
133 // Simpler version of ResourceHandleClient that lends itself to proxying. 133 // Simpler version of ResourceHandleClient that lends itself to proxying.
134 class WebPluginResourceClient { 134 class WebPluginResourceClient {
135 public: 135 public:
136 virtual ~WebPluginResourceClient() {}
136 virtual void WillSendRequest(const GURL& url) = 0; 137 virtual void WillSendRequest(const GURL& url) = 0;
137 virtual void DidReceiveResponse(const std::string& mime_type, 138 virtual void DidReceiveResponse(const std::string& mime_type,
138 const std::string& headers, 139 const std::string& headers,
139 uint32 expected_length, 140 uint32 expected_length,
140 uint32 last_modified, 141 uint32 last_modified,
141 bool* cancel) = 0; 142 bool* cancel) = 0;
142 virtual void DidReceiveData(const char* buffer, int length) = 0; 143 virtual void DidReceiveData(const char* buffer, int length) = 0;
143 virtual void DidFinishLoading() = 0; 144 virtual void DidFinishLoading() = 0;
144 virtual void DidFail() = 0; 145 virtual void DidFail() = 0;
145 }; 146 };
146 147
147 148
148 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_H__ 149 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_H__
149 150
OLDNEW
« no previous file with comments | « AUTHORS ('k') | webkit/glue/webplugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698