OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 24 matching lines...) Expand all Loading... |
35 | 35 |
36 class WebString; | 36 class WebString; |
37 struct WebFloatPoint; | 37 struct WebFloatPoint; |
38 struct WebDevToolsMessageData; | 38 struct WebDevToolsMessageData; |
39 | 39 |
40 class WebDevToolsFrontendClient { | 40 class WebDevToolsFrontendClient { |
41 public: | 41 public: |
42 WebDevToolsFrontendClient() { } | 42 WebDevToolsFrontendClient() { } |
43 | 43 |
44 virtual void sendMessageToBackend(const WebString&) { } | 44 virtual void sendMessageToBackend(const WebString&) { } |
| 45 |
45 virtual void sendMessageToEmbedder(const WebString&) { } | 46 virtual void sendMessageToEmbedder(const WebString&) { } |
46 | 47 |
47 virtual void activateWindow() { } | |
48 virtual void changeAttachedWindowHeight(unsigned height) { } | |
49 virtual void closeWindow() { } | |
50 virtual void requestDockWindow() { } | |
51 virtual void requestUndockWindow() { } | |
52 virtual void requestSetDockSide(const WebString& side) { } | |
53 virtual void moveWindowBy(const WebFloatPoint&) { } | |
54 virtual void openInNewTab(const WebString& side) { } | |
55 virtual void save(const WebString& url, const WebString& content, bool saveA
s) { } | |
56 virtual void append(const WebString& url, const WebString& content) { } | |
57 | |
58 virtual void requestFileSystems() { } | |
59 virtual void addFileSystem() { } | |
60 virtual void removeFileSystem(const WebString& fileSystemPath) { } | |
61 | |
62 virtual void indexPath(int requestId, const WebString& fileSystemPath) { } | |
63 virtual void stopIndexing(int requestId) { } | |
64 virtual void searchInPath(int requestId, const WebString& fileSystemPath, co
nst WebString& query) { } | |
65 | |
66 virtual bool isUnderTest() { return false; } | 48 virtual bool isUnderTest() { return false; } |
67 | 49 |
68 protected: | 50 protected: |
69 virtual ~WebDevToolsFrontendClient() {} | 51 virtual ~WebDevToolsFrontendClient() {} |
70 }; | 52 }; |
71 | 53 |
72 } // namespace WebKit | 54 } // namespace WebKit |
73 | 55 |
74 #endif | 56 #endif |
OLD | NEW |