OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. |
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 24 matching lines...) Expand all Loading... |
35 namespace WebCore { | 35 namespace WebCore { |
36 | 36 |
37 class DOMWindow; | 37 class DOMWindow; |
38 class Database; | 38 class Database; |
39 class DatabaseCallback; | 39 class DatabaseCallback; |
40 class ExceptionState; | 40 class ExceptionState; |
41 class Frame; | 41 class Frame; |
42 | 42 |
43 class DOMWindowWebDatabase { | 43 class DOMWindowWebDatabase { |
44 public: | 44 public: |
45 static PassRefPtr<Database> openDatabase(DOMWindow*, const String& name, con
st String& version, const String& displayName, unsigned long estimatedSize, Pass
OwnPtr<DatabaseCallback> creationCallback, ExceptionState&); | 45 static PassRefPtr<Database> openDatabase(DOMWindow&, const String& name, con
st String& version, const String& displayName, unsigned long estimatedSize, Pass
OwnPtr<DatabaseCallback> creationCallback, ExceptionState&); |
46 | 46 |
47 private: | 47 private: |
48 DOMWindowWebDatabase() { }; | 48 DOMWindowWebDatabase() { }; |
49 ~DOMWindowWebDatabase() { }; | 49 ~DOMWindowWebDatabase() { }; |
50 }; | 50 }; |
51 | 51 |
52 } // namespace WebCore | 52 } // namespace WebCore |
53 | 53 |
54 #endif // DOMWindowWebDatabase_h | 54 #endif // DOMWindowWebDatabase_h |
OLD | NEW |