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

Side by Side Diff: webkit/plugins/ppapi/plugin_delegate.h

Issue 6259008: When we detect a PDF with an unsupported feature, ask the user if they want t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 // Retrieves the proxy information for the given URL in PAC format. On error, 328 // Retrieves the proxy information for the given URL in PAC format. On error,
329 // this will return an empty string. 329 // this will return an empty string.
330 virtual std::string ResolveProxy(const GURL& url) = 0; 330 virtual std::string ResolveProxy(const GURL& url) = 0;
331 331
332 // Tell the browser when resource loading starts/ends. 332 // Tell the browser when resource loading starts/ends.
333 virtual void DidStartLoading() = 0; 333 virtual void DidStartLoading() = 0;
334 virtual void DidStopLoading() = 0; 334 virtual void DidStopLoading() = 0;
335 335
336 // Sets restrictions on how the content can be used (i.e. no print/copy). 336 // Sets restrictions on how the content can be used (i.e. no print/copy).
337 virtual void SetContentRestriction(int restrictions) = 0; 337 virtual void SetContentRestriction(int restrictions) = 0;
338
339 // Tells the browser that the PDF has an unsupported feature.
340 virtual void HasUnsupportedFeature() = 0;
338 }; 341 };
339 342
340 } // namespace ppapi 343 } // namespace ppapi
341 } // namespace webkit 344 } // namespace webkit
342 345
343 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 346 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698