| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8PagePopupControllerBinding_h | 5 #ifndef V8PagePopupControllerBinding_h |
| 6 #define V8PagePopupControllerBinding_h | 6 #define V8PagePopupControllerBinding_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/WrapperTypeInfo.h" | 8 #include "platform/bindings/WrapperTypeInfo.h" |
| 9 #include "platform/wtf/Allocator.h" | 9 #include "platform/wtf/Allocator.h" |
| 10 #include "v8/include/v8.h" | 10 #include "v8/include/v8.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 // FIXME: This class was introduced in order to just support | 14 // FIXME: This class was introduced in order to just support |
| 15 // window.pagePopupController which is used by internal implementation of form | 15 // window.pagePopupController which is used by internal implementation of form |
| 16 // popups. Form popups should be implemented in another way, and this class | 16 // popups. Form popups should be implemented in another way, and this class |
| 17 // should be removed. | 17 // should be removed. |
| 18 class V8PagePopupControllerBinding { | 18 class V8PagePopupControllerBinding { |
| 19 STATIC_ONLY(V8PagePopupControllerBinding); | 19 STATIC_ONLY(V8PagePopupControllerBinding); |
| 20 | 20 |
| 21 public: | 21 public: |
| 22 // Installs 'pagePopupController' attribute into 'window' object. | 22 // Installs 'pagePopupController' attribute into 'window' object. |
| 23 static void InstallPagePopupController(v8::Local<v8::Context>, | 23 static void InstallPagePopupController(v8::Local<v8::Context>, |
| 24 v8::Local<v8::Object> window_wrapper); | 24 v8::Local<v8::Object> window_wrapper); |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 } // namespace blink | 27 } // namespace blink |
| 28 | 28 |
| 29 #endif // V8PagePopupControllerBinding_h | 29 #endif // V8PagePopupControllerBinding_h |
| OLD | NEW |