summaryrefslogtreecommitdiff
path: root/Source/WebCore/page/Screen.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2016-04-10 09:28:39 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2016-04-10 09:28:39 +0000
commit32761a6cee1d0dee366b885b7b9c777e67885688 (patch)
treed6bec92bebfb216f4126356e55518842c2f476a1 /Source/WebCore/page/Screen.h
parenta4e969f4965059196ca948db781e52f7cfebf19e (diff)
downloadWebKitGtk-tarball-32761a6cee1d0dee366b885b7b9c777e67885688.tar.gz
webkitgtk-2.4.11webkitgtk-2.4.11
Diffstat (limited to 'Source/WebCore/page/Screen.h')
-rw-r--r--Source/WebCore/page/Screen.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/Source/WebCore/page/Screen.h b/Source/WebCore/page/Screen.h
index 0edcd1acd..c78850c1e 100644
--- a/Source/WebCore/page/Screen.h
+++ b/Source/WebCore/page/Screen.h
@@ -10,7 +10,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. Neither the name of Apple Inc. ("Apple") nor the names of
+ * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
@@ -37,24 +37,24 @@
namespace WebCore {
-class Frame;
+ class Frame;
-class Screen final : public ScriptWrappable, public RefCounted<Screen>, public DOMWindowProperty {
-public:
- static Ref<Screen> create(Frame* frame) { return adoptRef(*new Screen(frame)); }
+ class Screen : public ScriptWrappable, public RefCounted<Screen>, public DOMWindowProperty {
+ public:
+ static PassRefPtr<Screen> create(Frame *frame) { return adoptRef(new Screen(frame)); }
- unsigned height() const;
- unsigned width() const;
- unsigned colorDepth() const;
- unsigned pixelDepth() const;
- int availLeft() const;
- int availTop() const;
- unsigned availHeight() const;
- unsigned availWidth() const;
+ unsigned height() const;
+ unsigned width() const;
+ unsigned colorDepth() const;
+ unsigned pixelDepth() const;
+ int availLeft() const;
+ int availTop() const;
+ unsigned availHeight() const;
+ unsigned availWidth() const;
-private:
- explicit Screen(Frame*);
-};
+ private:
+ explicit Screen(Frame*);
+ };
} // namespace WebCore