OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
3 // LICENSE file. | 3 // LICENSE file. |
4 | 4 |
5 #ifndef WEBKIT_CLIENT_IMPL_H_ | 5 #ifndef WEBKIT_CLIENT_IMPL_H_ |
6 #define WEBKIT_CLIENT_IMPL_H_ | 6 #define WEBKIT_CLIENT_IMPL_H_ |
7 | 7 |
8 #include "WebKitClient.h" | 8 #include "WebKitClient.h" |
9 | 9 |
10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
11 #include "webkit/glue/webclipboard_impl.h" | 11 #include "webkit/glue/webclipboard_impl.h" |
12 | 12 |
13 namespace webkit_glue { | 13 namespace webkit_glue { |
14 | 14 |
15 class WebKitClientImpl : public WebKit::WebKitClient { | 15 class WebKitClientImpl : public WebKit::WebKitClient { |
16 public: | 16 public: |
17 // WebKitClient methods: | 17 // WebKitClient methods: |
18 virtual WebKit::WebClipboard* clipboard(); | 18 virtual WebKit::WebClipboard* clipboard(); |
| 19 virtual WebKit::WebMimeRegistry* mimeRegistry() = 0; |
19 | 20 |
20 private: | 21 private: |
21 scoped_ptr<WebClipboardImpl> clipboard_; | 22 WebClipboardImpl clipboard_; |
22 }; | 23 }; |
23 | 24 |
24 } // namespace webkit_glue | 25 } // namespace webkit_glue |
25 | 26 |
26 #endif // WEBKIT_CLIENT_IMPL_H_ | 27 #endif // WEBKIT_CLIENT_IMPL_H_ |
OLD | NEW |