// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef EXTENSIONS_RENDERER_GUEST_VIEW_MIME_HANDLER_VIEW_POST_MESSAGE_SUPPORT_H_ #define EXTENSIONS_RENDERER_GUEST_VIEW_MIME_HANDLER_VIEW_POST_MESSAGE_SUPPORT_H_ #include <memory> #include <vector> #include "base/memory/raw_ptr.h" #include "base/memory/weak_ptr.h" #include "base/values.h" #include "v8/include/v8.h" namespace blink { class WebFrame; class WebLocalFrame; } // namespace blink namespace extensions { // Helper class the implements postMessage support using gin/ to enable an // embedder of MimeHandlerView (in an HTMLPlugInElement) to send messages to // the extension loaded inside the MimeHandlerViewGuest process. This class is // owned by its Delegate. class PostMessageSupport { … }; } // namespace extensions #endif // EXTENSIONS_RENDERER_GUEST_VIEW_MIME_HANDLER_VIEW_POST_MESSAGE_SUPPORT_H_