Index: chrome/renderer/extensions/media_gallery_custom_bindings.h |
diff --git a/chrome/renderer/extensions/media_gallery_custom_bindings.h b/chrome/renderer/extensions/media_gallery_custom_bindings.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2889512ccb9524d1f8c53f0b439a7415eabaa6c0 |
--- /dev/null |
+++ b/chrome/renderer/extensions/media_gallery_custom_bindings.h |
@@ -0,0 +1,28 @@ |
+// Copyright (c) 2012 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 CHROME_RENDERER_EXTENSIONS_MEDIA_GALLERY_CUSTOM_BINDINGS_H_ |
+#define CHROME_RENDERER_EXTENSIONS_MEDIA_GALLERY_CUSTOM_BINDINGS_H_ |
+#pragma once |
+ |
+#include "chrome/renderer/extensions/chrome_v8_extension.h" |
+ |
+namespace extensions { |
+ |
+// Implements custom bindings for the media gallery API. |
+class MediaGalleryCustomBindings : public ChromeV8Extension { |
+ public: |
+ MediaGalleryCustomBindings(); |
+ |
+ private: |
+ static v8::Handle<v8::Value> CreateMediaGalleryObject( |
+ const v8::Arguments& args); |
+ |
+ DISALLOW_COPY_AND_ASSIGN(MediaGalleryCustomBindings); |
+}; |
+ |
+} // extensions |
+ |
+#endif // CHROME_RENDERER_EXTENSIONS_MEDIA_GALLERY_CUSTOM_BINDINGS_H_ |
+ |