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

Side by Side Diff: webkit/activex_shim/activex_shared.h

Issue 72004: Relanding the following revisions.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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 | « chrome/test/plugin/plugin_test.cpp ('k') | webkit/activex_shim/activex_shared.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 // Thes file contains stuff that should be shared among projects that do some 5 // Thes file contains stuff that should be shared among projects that do some
6 // special handling with ActiveX. 6 // special handling with ActiveX.
7 7
8 #ifndef WEBKIT_ACTIVEX_SHIM_ACTIVEX_SHARED_H__ 8 #ifndef WEBKIT_ACTIVEX_SHIM_ACTIVEX_SHARED_H__
9 #define WEBKIT_ACTIVEX_SHIM_ACTIVEX_SHARED_H__ 9 #define WEBKIT_ACTIVEX_SHIM_ACTIVEX_SHARED_H__
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // If an ActiveX control is allowed to run from a specific URL. 54 // If an ActiveX control is allowed to run from a specific URL.
55 bool IsActiveXAllowed(const std::string& clsid, const GURL& url); 55 bool IsActiveXAllowed(const std::string& clsid, const GURL& url);
56 56
57 // If an ActiveX control's codebase comes from allowed websites. 57 // If an ActiveX control's codebase comes from allowed websites.
58 bool IsCodebaseAllowed(const std::string& clsid, const std::string& codebase); 58 bool IsCodebaseAllowed(const std::string& clsid, const std::string& codebase);
59 59
60 // Check If a given mimetype is of "application/x-oleobject" or 60 // Check If a given mimetype is of "application/x-oleobject" or
61 // "application/oleobject" 61 // "application/oleobject"
62 bool IsMimeTypeActiveX(const std::string& mimetype); 62 bool IsMimeTypeActiveX(const std::string& mimetype);
63 63
64 // Returns the NPAPI mime type for the CLSID passed in. On failure
65 // return false
66 bool GetMimeTypeForClsid(const std::string& clsid, std::string* mime_type);
67
64 } // namespace activex_shim 68 } // namespace activex_shim
65 69
66 #endif // #ifndef WEBKIT_ACTIVEX_SHIM_ACTIVEX_SHARED_H__ 70 #endif // #ifndef WEBKIT_ACTIVEX_SHIM_ACTIVEX_SHARED_H__
OLDNEW
« no previous file with comments | « chrome/test/plugin/plugin_test.cpp ('k') | webkit/activex_shim/activex_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698