aboutsummaryrefslogtreecommitdiff
path: root/sp/src/public/html/ichromehtmlwrapper.h
diff options
context:
space:
mode:
authorJørgen P. Tjernø <[email protected]>2013-12-02 19:31:46 -0800
committerJørgen P. Tjernø <[email protected]>2013-12-02 19:46:31 -0800
commitf56bb35301836e56582a575a75864392a0177875 (patch)
treede61ddd39de3e7df52759711950b4c288592f0dc /sp/src/public/html/ichromehtmlwrapper.h
parentMark some more files as text. (diff)
downloadsource-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz
source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip
Fix line endings. WHAMMY.
Diffstat (limited to 'sp/src/public/html/ichromehtmlwrapper.h')
-rw-r--r--sp/src/public/html/ichromehtmlwrapper.h124
1 files changed, 62 insertions, 62 deletions
diff --git a/sp/src/public/html/ichromehtmlwrapper.h b/sp/src/public/html/ichromehtmlwrapper.h
index 6504c255..d606ba05 100644
--- a/sp/src/public/html/ichromehtmlwrapper.h
+++ b/sp/src/public/html/ichromehtmlwrapper.h
@@ -1,63 +1,63 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef ICHROMEHTMLWRAPPER_H
-#define ICHROMEHTMLWRAPPER_H
-
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include <html/htmlmessages.h>
-
-class CUtlString;
-class IHTMLResponses;
-struct HTMLCommandBuffer_t;
-
-
-//------------------------------------------------------------- ----------------
-// Purpose: wrapper for HTML functionality
-//-----------------------------------------------------------------------------
-class IHTMLChromeController
-{
-public:
- virtual ~IHTMLChromeController() {}
-
- virtual bool Init( const char *pchHTMLCacheDir, const char *pchCookiePath ) = 0;
- virtual void Shutdown() = 0;
- virtual bool RunFrame() = 0;
-
-
- // set a cookie in the CEF instance. pchPath is typically "/". If nExpires is 0 then it is a session only cookie, other wise it is saved.
- virtual void SetWebCookie( const char *pchHostname, const char *pchKey, const char *pchValue, const char *pchPath, RTime32 nExpires = 0 ) = 0;
- virtual void GetWebCookiesForURL( CUtlString *pstrValue, const char *pchURL, const char *pchName ) = 0;
-
- virtual void SetClientBuildID( uint64 ulBuildID ) = 0;
-
- virtual bool BHasPendingMessages() = 0;
-
- virtual void CreateBrowser( IHTMLResponses *pBrowser, bool bPopupWindow, const char *pchUserAgentIdentifier ) = 0;
- virtual void RemoveBrowser( IHTMLResponses *pBrowser ) = 0;
-
- virtual void WakeThread() = 0;
- virtual HTMLCommandBuffer_t *GetFreeCommandBuffer( EHTMLCommands eCmd, int iBrowser ) = 0;
- virtual void PushCommand( HTMLCommandBuffer_t * ) = 0;
-
-#ifdef DBGFLAG_VALIDATE
- virtual void Validate( CValidator &validator, const char *pchName ) = 0;
-
- virtual bool ChromePrepareForValidate() = 0;
- virtual bool ChromeResumeFromValidate() = 0;
-#endif
-
- virtual void SetCefThreadTargetFrameRate( uint32 nFPS ) = 0;
-};
-
-#define CHROMEHTML_CONTROLLER_INTERFACE_VERSION "ChromeHTML_Controller_001"
-
-
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef ICHROMEHTMLWRAPPER_H
+#define ICHROMEHTMLWRAPPER_H
+
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include <html/htmlmessages.h>
+
+class CUtlString;
+class IHTMLResponses;
+struct HTMLCommandBuffer_t;
+
+
+//------------------------------------------------------------- ----------------
+// Purpose: wrapper for HTML functionality
+//-----------------------------------------------------------------------------
+class IHTMLChromeController
+{
+public:
+ virtual ~IHTMLChromeController() {}
+
+ virtual bool Init( const char *pchHTMLCacheDir, const char *pchCookiePath ) = 0;
+ virtual void Shutdown() = 0;
+ virtual bool RunFrame() = 0;
+
+
+ // set a cookie in the CEF instance. pchPath is typically "/". If nExpires is 0 then it is a session only cookie, other wise it is saved.
+ virtual void SetWebCookie( const char *pchHostname, const char *pchKey, const char *pchValue, const char *pchPath, RTime32 nExpires = 0 ) = 0;
+ virtual void GetWebCookiesForURL( CUtlString *pstrValue, const char *pchURL, const char *pchName ) = 0;
+
+ virtual void SetClientBuildID( uint64 ulBuildID ) = 0;
+
+ virtual bool BHasPendingMessages() = 0;
+
+ virtual void CreateBrowser( IHTMLResponses *pBrowser, bool bPopupWindow, const char *pchUserAgentIdentifier ) = 0;
+ virtual void RemoveBrowser( IHTMLResponses *pBrowser ) = 0;
+
+ virtual void WakeThread() = 0;
+ virtual HTMLCommandBuffer_t *GetFreeCommandBuffer( EHTMLCommands eCmd, int iBrowser ) = 0;
+ virtual void PushCommand( HTMLCommandBuffer_t * ) = 0;
+
+#ifdef DBGFLAG_VALIDATE
+ virtual void Validate( CValidator &validator, const char *pchName ) = 0;
+
+ virtual bool ChromePrepareForValidate() = 0;
+ virtual bool ChromeResumeFromValidate() = 0;
+#endif
+
+ virtual void SetCefThreadTargetFrameRate( uint32 nFPS ) = 0;
+};
+
+#define CHROMEHTML_CONTROLLER_INTERFACE_VERSION "ChromeHTML_Controller_001"
+
+
#endif // ICHROMEHTMLWRAPPER_H \ No newline at end of file