Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(421)

Side by Side Diff: Source/bindings/core/v8/V8PagePopupControllerBinding.h

Issue 1278983003: Adding allocator annotations to blink classes and structs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed patch conflict Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "bindings/core/v8/WrapperTypeInfo.h"
9 #include "wtf/Allocator.h"
9 #include <v8.h> 10 #include <v8.h>
10 11
11 namespace blink { 12 namespace blink {
12 13
13 // FIXME: This class was introduced in order to just support 14 // FIXME: This class was introduced in order to just support
14 // window.pagePopupController which is used by internal implementation of form 15 // window.pagePopupController which is used by internal implementation of form
15 // 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
16 // should be removed. 17 // should be removed.
17 class V8PagePopupControllerBinding { 18 class V8PagePopupControllerBinding {
19 STATIC_ONLY(V8PagePopupControllerBinding);
18 public: 20 public:
19 // Installs 'pagePopupController' attribute into 'window' object. 21 // Installs 'pagePopupController' attribute into 'window' object.
20 static void installPagePopupController(v8::Local<v8::Context>, v8::Local<v8: :Object> windowWrapper); 22 static void installPagePopupController(v8::Local<v8::Context>, v8::Local<v8: :Object> windowWrapper);
21 }; 23 };
22 24
23 } // namespace blink 25 } // namespace blink
24 26
25 #endif // V8PagePopupControllerBinding_h 27 #endif // V8PagePopupControllerBinding_h
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/V8ObjectConstructor.h ('k') | Source/bindings/core/v8/V8PerContextData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698