OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_RENDERER_EXTENSIONS_NOTIFICATIONS_NATIVE_HANDLER_H_ | 5 #ifndef CHROME_RENDERER_EXTENSIONS_NOTIFICATIONS_NATIVE_HANDLER_H_ |
6 #define CHROME_RENDERER_EXTENSIONS_NOTIFICATIONS_NATIVE_HANDLER_H_ | 6 #define CHROME_RENDERER_EXTENSIONS_NOTIFICATIONS_NATIVE_HANDLER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
9 #include "extensions/renderer/object_backed_native_handler.h" | 10 #include "extensions/renderer/object_backed_native_handler.h" |
10 | 11 |
11 namespace base { | 12 namespace base { |
12 class Value; | 13 class Value; |
13 } | 14 } |
14 | 15 |
15 namespace extensions { | 16 namespace extensions { |
16 | 17 |
17 class NotificationsNativeHandler : public ObjectBackedNativeHandler { | 18 class NotificationsNativeHandler : public ObjectBackedNativeHandler { |
18 public: | 19 public: |
(...skipping 14 matching lines...) Expand all Loading... |
33 // buttonIcon - a dictionary of the same format as |icon| | 34 // buttonIcon - a dictionary of the same format as |icon| |
34 void GetNotificationImageSizes( | 35 void GetNotificationImageSizes( |
35 const v8::FunctionCallbackInfo<v8::Value>& args); | 36 const v8::FunctionCallbackInfo<v8::Value>& args); |
36 | 37 |
37 DISALLOW_COPY_AND_ASSIGN(NotificationsNativeHandler); | 38 DISALLOW_COPY_AND_ASSIGN(NotificationsNativeHandler); |
38 }; | 39 }; |
39 | 40 |
40 } // namespace extensions | 41 } // namespace extensions |
41 | 42 |
42 #endif // CHROME_RENDERER_EXTENSIONS_NOTIFICATIONS_NATIVE_HANDLER_H_ | 43 #endif // CHROME_RENDERER_EXTENSIONS_NOTIFICATIONS_NATIVE_HANDLER_H_ |
OLD | NEW |