blob: 6434a54a106775a3365436432d47fdda4af18e37 [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_V8_PAGE_POPUP_CONTROLLER_BINDING_H_
#define THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_V8_PAGE_POPUP_CONTROLLER_BINDING_H_
#include "third_party/blink/renderer/platform/bindings/wrapper_type_info.h"
#include "third_party/blink/renderer/platform/wtf/allocator.h"
#include "v8/include/v8.h"
namespace blink {
// FIXME: This class was introduced in order to just support
// window.pagePopupController which is used by internal implementation of form
// popups. Form popups should be implemented in another way, and this class
// should be removed.
class V8PagePopupControllerBinding {
STATIC_ONLY(V8PagePopupControllerBinding);
public:
// Installs 'pagePopupController' attribute into 'window' object.
static void InstallPagePopupController(v8::Local<v8::Context>,
v8::Local<v8::Object> window_wrapper);
};
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_V8_PAGE_POPUP_CONTROLLER_BINDING_H_