Lines Matching refs:GuestViewBase
35 typedef std::map<std::string, GuestViewBase::GuestCreationCallback>
40 typedef std::map<WebContents*, GuestViewBase*> WebContentsGuestViewMap;
46 GuestViewBase::Event::Event(const std::string& name,
51 GuestViewBase::Event::~Event() {
54 scoped_ptr<base::DictionaryValue> GuestViewBase::Event::GetArguments() {
58 // This observer ensures that the GuestViewBase destroys itself when its
60 class GuestViewBase::EmbedderWebContentsObserver : public WebContentsObserver {
62 explicit EmbedderWebContentsObserver(GuestViewBase* guest)
88 GuestViewBase* guest_;
102 GuestViewBase::GuestViewBase(content::BrowserContext* browser_context,
115 void GuestViewBase::Init(const std::string& embedder_extension_id,
157 base::Bind(&GuestViewBase::CompleteInit,
164 void GuestViewBase::InitWithWebContents(
187 void GuestViewBase::SetAutoSize(bool enabled,
216 void GuestViewBase::RegisterGuestViewType(
226 GuestViewBase* GuestViewBase::Create(
243 GuestViewBase* GuestViewBase::FromWebContents(WebContents* web_contents) {
250 GuestViewBase* GuestViewBase::From(int embedder_process_id,
263 return GuestViewBase::FromWebContents(guest_web_contents);
267 bool GuestViewBase::IsGuest(WebContents* web_contents) {
268 return !!GuestViewBase::FromWebContents(web_contents);
271 base::WeakPtr<GuestViewBase> GuestViewBase::AsWeakPtr() {
275 bool GuestViewBase::IsAutoSizeSupported() const {
279 bool GuestViewBase::IsDragAndDropEnabled() const {
283 void GuestViewBase::RenderProcessExited(content::RenderProcessHost* host,
287 // GuestViewBase tracks the lifetime of its embedder render process until it
300 void GuestViewBase::Destroy() {
318 void GuestViewBase::DidAttach(int guest_proxy_routing_id) {
331 void GuestViewBase::ElementSizeChanged(const gfx::Size& old_size,
336 void GuestViewBase::GuestSizeChanged(const gfx::Size& old_size,
344 void GuestViewBase::SetAttachParams(const base::DictionaryValue& params) {
350 void GuestViewBase::SetOpener(GuestViewBase* guest) {
355 opener_ = base::WeakPtr<GuestViewBase>();
358 void GuestViewBase::RegisterDestructionCallback(
363 void GuestViewBase::WillAttach(content::WebContents* embedder_web_contents,
365 // After attachment, this GuestViewBase's lifetime is restricted to the
377 void GuestViewBase::DidStopLoading(content::RenderViewHost* render_view_host) {
388 void GuestViewBase::RenderViewReady() {
392 void GuestViewBase::WebContentsDestroyed() {
397 void GuestViewBase::ActivateContents(WebContents* web_contents) {
405 void GuestViewBase::DeactivateContents(WebContents* web_contents) {
413 void GuestViewBase::RunFileChooser(WebContents* web_contents,
421 bool GuestViewBase::ShouldFocusPageAfterCrash() {
426 bool GuestViewBase::PreHandleGestureEvent(content::WebContents* source,
433 GuestViewBase::~GuestViewBase() {
436 void GuestViewBase::DispatchEventToEmbedder(Event* event) {
459 void GuestViewBase::SendQueuedEvents() {
469 void GuestViewBase::CompleteInit(const std::string& embedder_extension_id,
487 void GuestViewBase::RegisterGuestViewTypes() {