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 virtual void sendMessageToEmbedder(const WebString&) { } |
45 | 46 |
46 virtual void activateWindow() { } | 47 virtual void activateWindow() { } |
47 virtual void changeAttachedWindowHeight(unsigned height) { } | 48 virtual void changeAttachedWindowHeight(unsigned height) { } |
48 virtual void closeWindow() { } | 49 virtual void closeWindow() { } |
49 virtual void requestDockWindow() { } | 50 virtual void requestDockWindow() { } |
50 virtual void requestUndockWindow() { } | 51 virtual void requestUndockWindow() { } |
51 virtual void requestSetDockSide(const WebString& side) { } | 52 virtual void requestSetDockSide(const WebString& side) { } |
52 virtual void moveWindowBy(const WebFloatPoint&) { } | 53 virtual void moveWindowBy(const WebFloatPoint&) { } |
53 virtual void openInNewTab(const WebString& side) { } | 54 virtual void openInNewTab(const WebString& side) { } |
54 virtual void save(const WebString& url, const WebString& content, bool saveA
s) { } | 55 virtual void save(const WebString& url, const WebString& content, bool saveA
s) { } |
55 virtual void append(const WebString& url, const WebString& content) { } | 56 virtual void append(const WebString& url, const WebString& content) { } |
56 | 57 |
57 virtual void requestFileSystems() { } | 58 virtual void requestFileSystems() { } |
58 virtual void addFileSystem() { } | 59 virtual void addFileSystem() { } |
59 virtual void removeFileSystem(const WebString& fileSystemPath) { } | 60 virtual void removeFileSystem(const WebString& fileSystemPath) { } |
60 | 61 |
61 virtual void indexPath(int requestId, const WebString& fileSystemPath) { } | 62 virtual void indexPath(int requestId, const WebString& fileSystemPath) { } |
62 virtual void stopIndexing(int requestId) { } | 63 virtual void stopIndexing(int requestId) { } |
63 virtual void searchInPath(int requestId, const WebString& fileSystemPath, co
nst WebString& query) { } | 64 virtual void searchInPath(int requestId, const WebString& fileSystemPath, co
nst WebString& query) { } |
64 | 65 |
65 virtual bool isUnderTest() { return false; } | 66 virtual bool isUnderTest() { return false; } |
66 | 67 |
67 protected: | 68 protected: |
68 virtual ~WebDevToolsFrontendClient() {} | 69 virtual ~WebDevToolsFrontendClient() {} |
69 }; | 70 }; |
70 | 71 |
71 } // namespace WebKit | 72 } // namespace WebKit |
72 | 73 |
73 #endif | 74 #endif |
OLD | NEW |