Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefBrowserView

CefBaseRefCounted
   |
   +--CefView
         |
         +--CefBrowserView

   in cef_browser_view.h

class CefBrowserView
extends CefView

A View hosting a CefBrowser instance. Methods must be called on the browser process UI thread unless otherwise indicated.


Method Summary
 static CefRefPtr< CefBrowserView > CreateBrowserView( CefRefPtr< CefClient > client, const CefString& url, const CefBrowserSettings& settings, CefRefPtr< CefDictionaryValue > extra_info, CefRefPtr< CefRequestContext > request_context, CefRefPtr< CefBrowserViewDelegate > delegate )
          Create a new BrowserView.
 virtual CefRefPtr< CefBrowser > GetBrowser()= 0
          Returns the CefBrowser hosted by this BrowserView.
 static CefRefPtr< CefBrowserView > GetForBrowser( CefRefPtr< CefBrowser > browser )
          Returns the BrowserView associated with |browser|.
 virtual void SetPreferAccelerators( bool prefer_accelerators )= 0
          Sets whether accelerators registered with CefWindow::SetAccelerator are triggered before or after the event is sent to the CefBrowser.
   
Methods inherited from class CefView
AsBrowserView, AsButton, AsPanel, AsScrollView, AsTextfield, GetTypeString, ToString, IsValid, IsAttached, IsSame, GetDelegate, GetWindow, GetID, SetID, GetGroupID, SetGroupID, GetParentView, GetViewForID, SetBounds, GetBounds, GetBoundsInScreen, SetSize, GetSize, SetPosition, GetPosition, GetPreferredSize, SizeToPreferredSize, GetMinimumSize, GetMaximumSize, GetHeightForWidth, InvalidateLayout, SetVisible, IsVisible, IsDrawn, SetEnabled, IsEnabled, SetFocusable, IsFocusable, IsAccessibilityFocusable, RequestFocus, SetBackgroundColor, GetBackgroundColor, ConvertPointToScreen, ConvertPointFromScreen, ConvertPointToWindow, ConvertPointFromWindow, ConvertPointToView, ConvertPointFromView
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef, HasAtLeastOneRef
 

Method Detail

CreateBrowserView

public static CefRefPtr< CefBrowserView > CreateBrowserView( CefRefPtr< CefClient > client, const CefString& url, const CefBrowserSettings& settings, CefRefPtr< CefDictionaryValue > extra_info, CefRefPtr< CefRequestContext > request_context, CefRefPtr< CefBrowserViewDelegate > delegate );
Create a new BrowserView. The underlying CefBrowser will not be created until this view is added to the views hierarchy. The optional |extra_info| parameter provides an opportunity to specify extra information specific to the created browser that will be passed to CefRenderProcessHandler::OnBrowserCreated() in the render process.

GetBrowser

public virtual CefRefPtr< CefBrowser > GetBrowser()= 0;
Returns the CefBrowser hosted by this BrowserView. Will return NULL if the browser has not yet been created or has already been destroyed.

GetForBrowser

public static CefRefPtr< CefBrowserView > GetForBrowser( CefRefPtr< CefBrowser > browser );
Returns the BrowserView associated with |browser|.

SetPreferAccelerators

public virtual void SetPreferAccelerators( bool prefer_accelerators )= 0;
Sets whether accelerators registered with CefWindow::SetAccelerator are triggered before or after the event is sent to the CefBrowser. If |prefer_accelerators| is true then the matching accelerator will be triggered immediately and the event will not be sent to the CefBrowser. If |prefer_accelerators| is false then the matching accelerator will only be triggered if the event is not handled by web content or by CefKeyboardHandler. The default value is false.

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt