<doc>
	<legacy_id></legacy_id>
	<name>revBrowserOpenCef</name>
	<type>function</type>

	<syntax>
		<example>revBrowserOpenCef( <i>windowId</i> [, <i>url</i> ] )</example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Opens and initialises a new Chrome-based browser.</summary>

	<examples>
<example><p>local tBrowserId</p><p>put revBrowserOpenCef(the windowId of
this stack, "http://www.runrev.com") into tBrowserId</p><p>if tBrowserId is
not an integer then</p><p>  answer "Failed to open browser"</p><p>end
if</p></example>
<example><p>local tBrowserId, tFile   </p><p>answer file "Please choose a
file to display"</p><p>if the result is not "cancel" then</p><p>  put it
into tFile</p><p>  put revBrowserOpenCef(the windowId of this stack,
"file://" &amp; tFile) into tBrowserId      </p><p>end if</p></example>
	</examples>

	<history>
		<introduced version="6.7">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>

		<experimental version=""></experimental>
		<nonexperimental version=""></nonexperimental>
	</history>

	<objects>
	</objects>

	<platforms>
		<mac/>
		<windows/>
	</platforms>

	<classes>
		<desktop/>
	</classes>

	<security>
		<network/>
	</security>


	<classification>
	</classification>

	<references>
		<command tag="revBrowserNavigate">revBrowserNavigate command</command>
		<command tag="revBrowserStop">revBrowserStop command</command>
		<command tag="revBrowserPrint">revBrowserPrint command</command>
		<command tag="revBrowserMakeTextBigger">revBrowserMakeTextBigger command</command>
		<command tag="revBrowserSet">revBrowserSet command</command>
		<command tag="revBrowserClose">revBrowserClose command</command>
		<command tag="revBrowserAddJavaScriptHandler">revBrowserAddJavaScriptHandler command</command>
		<command tag="revBrowserRemoveJavaScriptHandler">revBrowserRemoveJavaScriptHandler command</command>
		<message tag="browserOver">browserOver message</message>
		<message tag="browserNewInstance">browserNewInstance message</message>
		<message tag="browserDownloadRequest">browserDownloadRequest message</message>
		<message tag="browserNavigateCompleteFrame">browserNavigateCompleteFrame message</message>
		<message tag="browserNewUrlWindow">browserNewUrlWindow message</message>
	</references>

	<description>
	<overview>The <b>revBrowserOpenCef</b> function creates a new Chrome-baseed
browser in the window with the given windowId. If a url is given, the
browser immediately navigates to this url.</overview>

		<parameters>
  <parameter>
    <name>windowID</name>
    <description>the operating system ID for a stack window as given by the
stack windowID property.</description>
  </parameter>
  <parameter>
    <name>url</name>
    <description>the initial url to navigate to when opening the browser.
The URL can be a page from a web server, beginning "http://", or a local
file, beginning "file://" </description>
  </parameter>		</parameters>

	<value>The <b>revBrowserOpenCef</b> function returns a value. If successful
this will be an integer browser instance id, if unsuccessful, the result
will be empty.</value>
	<comments>The <b>revBrowserOpenCef</b> function creates a new Chrome-baseed
browser in the window with the given windowId. If a url is given, the
browser immediately navigates to this
url.<p></p><p><b>Example:</b></p><p>Create a new browser window in the
current stack, set to open on the runrev homepage:</p><p></p><p>put
revOpenBrowserCef(the windowId of this stack, "http://www.runrev.com") into
tMyBrowserId</p></comments>
	</description>
</doc>
