HELLO·Android
系统源代码
IT资讯
技术文章
我的收藏
注册
登录
-
我收藏的文章
创建代码块
我的代码块
我的账号
Kitkat Watch
|
4.4w_r1
下载
查看原文件
收藏
根目录
external
chromium_org
chrome_frame
utils.h
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_FRAME_UTILS_H_ #define CHROME_FRAME_UTILS_H_ #include
#include
#include
#include
#include
#include
#include "base/basictypes.h" #include "base/logging.h" #include "base/metrics/histogram.h" #include "base/strings/string16.h" #include "base/win/scoped_comptr.h" #include "ui/gfx/rect.h" #include "url/gurl.h" class RegistryListPreferencesHolder; interface IBrowserService; interface IWebBrowser2; struct ContextMenuModel; namespace base { class FilePath; } // utils.h : Various utility functions and classes extern const char kGCFProtocol[]; extern const wchar_t kAllowUnsafeURLs[]; extern const wchar_t kChromeContentPrefix[]; extern const wchar_t kChromeFrameAccessibleMode[]; extern const wchar_t kChromeFrameAttachTabPattern[]; extern const wchar_t kChromeFrameConfigKey[]; extern const wchar_t kChromeFrameHeadlessMode[]; extern const wchar_t kChromeFrameUnpinnedMode[]; extern const wchar_t kChromeMimeType[]; extern const wchar_t kChromeProtocolPrefix[]; extern const wchar_t kEnableBuggyBhoIntercept[]; extern const wchar_t kEnableGCFRendererByDefault[]; extern const wchar_t kExcludeUAFromDomainList[]; extern const wchar_t kIexploreProfileName[]; extern const wchar_t kRenderInGCFUrlList[]; extern const wchar_t kRenderInHostUrlList[]; extern const wchar_t kRundllProfileName[]; extern const wchar_t kUseBackgroundThreadForSubResources[]; // This function is very similar to the AtlRegisterTypeLib function except // that it takes a parameter that specifies whether to register the typelib // for the current user only or on a machine-wide basis // Refer to the MSDN documentation for AtlRegisterTypeLib for a description of // the arguments HRESULT UtilRegisterTypeLib(HINSTANCE tlb_instance, LPCOLESTR index, bool for_current_user_only); // This function is very similar to the AtlUnRegisterTypeLib function except // that it takes a parameter that specifies whether to unregister the typelib // for the current user only or on a machine-wide basis // Refer to the MSDN documentation for AtlUnRegisterTypeLib for a description // of the arguments HRESULT UtilUnRegisterTypeLib(HINSTANCE tlb_instance, LPCOLESTR index, bool for_current_user_only); HRESULT UtilRegisterTypeLib(LPCWSTR typelib_path, bool for_current_user_only); HRESULT UtilUnRegisterTypeLib(LPCWSTR typelib_path, bool for_current_user_only); HRESULT UtilRegisterTypeLib(ITypeLib* typelib, LPCWSTR typelib_path, LPCWSTR help_dir, bool for_current_user_only); HRESULT UtilUnRegisterTypeLib(ITypeLib* typelib, bool for_current_user_only); // Clears a marker that causes legacy NPAPI registration to persist across // updates. Returns false if the marker could not be removed. bool UtilRemovePersistentNPAPIMarker(); // Given an HTML fragment, this function looks for the //
tag and extracts the value of the // "content" attribute // This method will currently return a false positive if the tag appears // inside a string in a
登录后可以享受更多权益
您还没有登录,登录后您可以:
收藏Android系统代码
收藏喜欢的文章
多个平台共享账号
去登录
首次使用?从这里
注册