Home | History | Annotate | Download | only in guestview

Lines Matching refs:guestview

5 #include "chrome/browser/guestview/guestview.h"
8 #include "chrome/browser/guestview/adview/adview_guest.h"
9 #include "chrome/browser/guestview/guestview_constants.h"
10 #include "chrome/browser/guestview/webview/webview_guest.h"
23 // <embedder_process_id, guest_instance_id> => GuestView*
24 typedef std::map<std::pair<int, int>, GuestView*> EmbedderGuestViewMap;
28 typedef std::map<WebContents*, GuestView*> WebContentsGuestViewMap;
34 GuestView::Event::Event(const std::string& name,
40 GuestView::Event::~Event() {
43 scoped_ptr<DictionaryValue> GuestView::Event::GetArguments() {
47 GuestView::GuestView(WebContents* guest_web_contents,
55 view_instance_id_(guestview::kInstanceIDNone) {
61 GuestView::Type GuestView::GetViewTypeFromString(const std::string& api_type) {
63 return GuestView::ADVIEW;
65 return GuestView::WEBVIEW;
67 return GuestView::UNKNOWN;
71 GuestView* GuestView::Create(WebContents* guest_web_contents,
73 GuestView::Type view_type) {
75 case GuestView::WEBVIEW:
77 case GuestView::ADVIEW:
86 GuestView* GuestView::FromWebContents(WebContents* web_contents) {
93 GuestView* GuestView::From(int embedder_process_id, int guest_instance_id) {
101 bool GuestView::GetGuestPartitionConfigForSite(const GURL& site,
123 void GuestView::GetDefaultContentSettingRules(
140 void GuestView::Attach(content::WebContents* embedder_web_contents,
145 args.GetInteger(guestview::kParameterInstanceId, &view_instance_id_);
150 // GuestView::Attach is called prior to initialization (and initial
159 base::Bind(&GuestView::SendQueuedEvents,
163 GuestView::Type GuestView::GetViewType() const {
164 return GuestView::UNKNOWN;
167 WebViewGuest* GuestView::AsWebView() {
171 AdViewGuest* GuestView::AsAdView() {
175 GuestView::~GuestView() {
187 void GuestView::DispatchEvent(Event* event) {
209 void GuestView::SendQueuedEvents() {