merge with master
[platform/framework/web/wrt-plugins-common.git] / src / js-overlay / JSClass / JSStorageEvent.h
index 67bde4d..0460f39 100644 (file)
 
 namespace WrtPlugins {
 namespace W3C {
-
 typedef WrtDeviceApis::CommonsJavaScript::PrivateObjectT<
     WrtDeviceApis::StorageEvent::Api::IStorageEventPtr>::Type
-    JSStorageEventPrivateObject;
+JSStorageEventPrivateObject;
 
 class JSStorageEvent
 {
@@ -41,7 +40,7 @@ class JSStorageEvent
     /**
      * This method initializes this in the JS Engine.
      */
-    static const JSClassRef getClassRef();
+    static JSClassRef getClassRef();
 
     /**
      * Gets object's class description.
@@ -53,7 +52,7 @@ class JSStorageEvent
      * The callback invoked when an object is first created.
      */
     static void initialize(JSContextRef context,
-            JSObjectRef object);
+                           JSObjectRef object);
 
     /**
      * The callback invoked when an object is finalized.
@@ -66,7 +65,8 @@ class JSStorageEvent
     static JSStaticValue m_property[];
 
     /**
-     * This structure contains properties and callbacks that define a type of object.
+     * This structure contains properties and callbacks that define a type of
+     * object.
      */
     static JSClassDefinition m_classInfo;
 
@@ -74,33 +74,33 @@ class JSStorageEvent
 
     // getters for properties
     static JSValueRef getKey(
-            JSContextRef context,
-            JSObjectRef object,
-            JSStringRef propertyName,
-            JSValueRef* exception);
+        JSContextRef context,
+        JSObjectRef object,
+        JSStringRef propertyName,
+        JSValueRef* exception);
     static JSValueRef getOldValue(
-            JSContextRef context,
-            JSObjectRef object,
-            JSStringRef propertyName,
-            JSValueRef* exception);
+        JSContextRef context,
+        JSObjectRef object,
+        JSStringRef propertyName,
+        JSValueRef* exception);
     static JSValueRef getNewValue(
-            JSContextRef context,
-            JSObjectRef object,
-            JSStringRef propertyName,
-            JSValueRef* exception);
+        JSContextRef context,
+        JSObjectRef object,
+        JSStringRef propertyName,
+        JSValueRef* exception);
     static JSValueRef getUrl(
-            JSContextRef context,
-            JSObjectRef object,
-            JSStringRef propertyName,
-            JSValueRef* exception);
+        JSContextRef context,
+        JSObjectRef object,
+        JSStringRef propertyName,
+        JSValueRef* exception);
     static JSValueRef getStorageArea(
-            JSContextRef context,
-            JSObjectRef object,
-            JSStringRef propertyName,
-            JSValueRef* exception);
+        JSContextRef context,
+        JSObjectRef object,
+        JSStringRef propertyName,
+        JSValueRef* exception);
 
     static WrtDeviceApis::StorageEvent::Api::IStorageEventPtr
-        getPrivateObject(JSObjectRef arg);
+    getPrivateObject(JSObjectRef arg);
 };
 } // W3C
 } // WrtPlugins