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

Unified Diff: chrome/renderer/extensions/media_gallery_custom_bindings.h

Issue 9358076: Initial extension bindings for Media Gallery API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comment Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
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_
+

Powered by Google App Engine
This is Rietveld 408576698