[qt_honey] [12] EOL setting modified.

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 10月 19日 (月) 14:00:54 JST


Revision: 12
          http://sourceforge.jp/projects/cres/svn/view?view=rev&revision=12
Author:   kyagroup
Date:     2009-10-19 14:00:54 +0900 (Mon, 19 Oct 2009)

Log Message:
-----------
EOL setting modified. (svn:eol-style = native)

Modified Paths:
--------------
    src/chrome/content/privateBrowserListener.js

Property Changed:
----------------
    src/chrome/content/privateBrowserListener.js

Modified: src/chrome/content/privateBrowserListener.js
===================================================================
--- src/chrome/content/privateBrowserListener.js	2009-10-10 09:51:29 UTC (rev 11)
+++ src/chrome/content/privateBrowserListener.js	2009-10-19 05:00:54 UTC (rev 12)
@@ -1,62 +1,62 @@
-
-// an object to listen for 
-// private browsing requests
-// based on:
-//   https://developer.mozilla.org/En/Supporting_private_browsing_mode
-
-function PrivateBrowsingListener() {  
-  this.init();  
-}  
-PrivateBrowsingListener.prototype = {  
-  _os: null,  
-  _inPrivateBrowsing: false, // whether we are in private browsing mode  
-  _watcher: null, // the watcher object  
-   
-  init : function () {  
-    this._inited = true;  
-    this._os = Components.classes["@mozilla.org/observer-service;1"]  
-                         .getService(Components.interfaces.nsIObserverService);  
-    this._os.addObserver(this, "private-browsing", false);  
-    this._os.addObserver(this, "quit-application", false);  
-    try {  
-      var pbs = Components.classes["@mozilla.org/privatebrowsing;1"]  
-                          .getService(Components.interfaces.nsIPrivateBrowsingService);  
-      this._inPrivateBrowsing = pbs.privateBrowsingEnabled;  
-    } catch(ex) {  
-      // ignore exceptions in older versions of Firefox  
-    }  
-  },  
-   
-  observe : function (aSubject, aTopic, aData) {  
-    if (aTopic == "private-browsing") {  
-      if (aData == "enter") {  
-        this._inPrivateBrowsing = true;  
-        if (this.watcher &&  
-            "onEnterPrivateBrowsing" in this._watcher) {  
-          this.watcher.onEnterPrivateBrowsing();  
-        }  
-      } else if (aData == "exit") {  
-        this._inPrivateBrowsing = false;  
-        if (this.watcher &&  
-            "onExitPrivateBrowsing" in this._watcher) {  
-          this.watcher.onExitPrivateBrowsing();  
-        }  
-      }  
-    } else if (aTopic == "quit-application") {  
-      this._os.removeObserver(this, "quit-application");  
-      this._os.removeObserver(this, "private-browsing");  
-    }  
-  },  
-   
-  get inPrivateBrowsing() {  
-    return this._inPrivateBrowsing;  
-  },  
-   
-  get watcher() {  
-    return this._watcher;  
-  },  
-   
-  set watcher(val) {  
-    this._watcher = val;  
-  }  
+
+// an object to listen for 
+// private browsing requests
+// based on:
+//   https://developer.mozilla.org/En/Supporting_private_browsing_mode
+
+function PrivateBrowsingListener() {  
+  this.init();  
+}  
+PrivateBrowsingListener.prototype = {  
+  _os: null,  
+  _inPrivateBrowsing: false, // whether we are in private browsing mode  
+  _watcher: null, // the watcher object  
+   
+  init : function () {  
+    this._inited = true;  
+    this._os = Components.classes["@mozilla.org/observer-service;1"]  
+                         .getService(Components.interfaces.nsIObserverService);  
+    this._os.addObserver(this, "private-browsing", false);  
+    this._os.addObserver(this, "quit-application", false);  
+    try {  
+      var pbs = Components.classes["@mozilla.org/privatebrowsing;1"]  
+                          .getService(Components.interfaces.nsIPrivateBrowsingService);  
+      this._inPrivateBrowsing = pbs.privateBrowsingEnabled;  
+    } catch(ex) {  
+      // ignore exceptions in older versions of Firefox  
+    }  
+  },  
+   
+  observe : function (aSubject, aTopic, aData) {  
+    if (aTopic == "private-browsing") {  
+      if (aData == "enter") {  
+        this._inPrivateBrowsing = true;  
+        if (this.watcher &&  
+            "onEnterPrivateBrowsing" in this._watcher) {  
+          this.watcher.onEnterPrivateBrowsing();  
+        }  
+      } else if (aData == "exit") {  
+        this._inPrivateBrowsing = false;  
+        if (this.watcher &&  
+            "onExitPrivateBrowsing" in this._watcher) {  
+          this.watcher.onExitPrivateBrowsing();  
+        }  
+      }  
+    } else if (aTopic == "quit-application") {  
+      this._os.removeObserver(this, "quit-application");  
+      this._os.removeObserver(this, "private-browsing");  
+    }  
+  },  
+   
+  get inPrivateBrowsing() {  
+    return this._inPrivateBrowsing;  
+  },  
+   
+  get watcher() {  
+    return this._watcher;  
+  },  
+   
+  set watcher(val) {  
+    this._watcher = val;  
+  }  
 };  
\ No newline at end of file


Property changes on: src/chrome/content/privateBrowserListener.js
___________________________________________________________________
Added: svn:eol-style
   + native




Cres-cvs メーリングリストの案内
Back to archive index