OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011, Google Inc. All rights reserved. | 2 * Copyright (C) 2011, Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are met: | 5 * modification, are permitted provided that the following conditions are met: |
6 * | 6 * |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 22 matching lines...) Expand all Loading... |
33 namespace WebCore { | 33 namespace WebCore { |
34 | 34 |
35 class Intent; | 35 class Intent; |
36 class IntentResultCallback; | 36 class IntentResultCallback; |
37 class Navigator; | 37 class Navigator; |
38 | 38 |
39 typedef int ExceptionCode; | 39 typedef int ExceptionCode; |
40 | 40 |
41 class NavigatorIntents { | 41 class NavigatorIntents { |
42 public: | 42 public: |
43 static void startActivity(Navigator*, PassRefPtr<Intent>, PassRefPtr<IntentR
esultCallback> successCallback, PassRefPtr<IntentResultCallback> errorCallback,
ExceptionCode&); | 43 static void webkitStartActivity(Navigator*, PassRefPtr<Intent>, PassRefPtr<I
ntentResultCallback> successCallback, PassRefPtr<IntentResultCallback> errorCall
back, ExceptionCode&); |
44 | 44 |
45 private: | 45 private: |
46 NavigatorIntents(); | 46 NavigatorIntents(); |
47 ~NavigatorIntents(); | 47 ~NavigatorIntents(); |
48 }; | 48 }; |
49 | 49 |
50 } // namespace WebCore | 50 } // namespace WebCore |
51 | 51 |
52 #endif // ENABLE(WEB_INTENTS) | 52 #endif // ENABLE(WEB_INTENTS) |
53 | 53 |
54 #endif // NavigatorIntents_h | 54 #endif // NavigatorIntents_h |
OLD | NEW |