#include "extensions/renderer/guest_view/mime_handler_view/mime_handler_view_frame_container.h"
#include <string>
#include "content/public/renderer/render_frame.h"
#include "extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container_manager.h"
#include "third_party/blink/public/platform/web_security_origin.h"
#include "third_party/blink/public/web/web_document.h"
#include "third_party/blink/public/web/web_frame.h"
#include "third_party/blink/public/web/web_local_frame.h"
#include "third_party/blink/public/web/web_remote_frame.h"
#include "ui/gfx/geometry/size.h"
namespace extensions {
MimeHandlerViewFrameContainer::MimeHandlerViewFrameContainer(
MimeHandlerViewContainerManager* container_manager,
const blink::WebElement& plugin_element,
const GURL& resource_url,
const std::string& mime_type)
: … { … }
MimeHandlerViewFrameContainer::~MimeHandlerViewFrameContainer() = default;
blink::WebLocalFrame* MimeHandlerViewFrameContainer::GetSourceFrame() { … }
blink::WebFrame* MimeHandlerViewFrameContainer::GetTargetFrame() { … }
bool MimeHandlerViewFrameContainer::IsEmbedded() const { … }
bool MimeHandlerViewFrameContainer::IsResourceAccessibleBySource() const { … }
blink::WebFrame* MimeHandlerViewFrameContainer::GetContentFrame() const { … }
bool MimeHandlerViewFrameContainer::AreFramesAlive() { … }
void MimeHandlerViewFrameContainer::SetFrameTokens(
const blink::FrameToken& content_frame_token,
const blink::FrameToken& guest_frame_token) { … }
bool MimeHandlerViewFrameContainer::AreFramesValid() { … }
}