OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 class InspectorFrontendClientImpl : public WebCore::InspectorFrontendClient { | 47 class InspectorFrontendClientImpl : public WebCore::InspectorFrontendClient { |
48 WTF_MAKE_NONCOPYABLE(InspectorFrontendClientImpl); | 48 WTF_MAKE_NONCOPYABLE(InspectorFrontendClientImpl); |
49 public: | 49 public: |
50 InspectorFrontendClientImpl(WebCore::Page*, WebDevToolsFrontendClient*, WebD
evToolsFrontendImpl*); | 50 InspectorFrontendClientImpl(WebCore::Page*, WebDevToolsFrontendClient*, WebD
evToolsFrontendImpl*); |
51 virtual ~InspectorFrontendClientImpl(); | 51 virtual ~InspectorFrontendClientImpl(); |
52 | 52 |
53 // InspectorFrontendClient methods: | 53 // InspectorFrontendClient methods: |
54 virtual void windowObjectCleared(); | 54 virtual void windowObjectCleared(); |
55 | 55 |
56 virtual void moveWindowBy(float x, float y); | |
57 | |
58 virtual void bringToFront(); | |
59 virtual void closeWindow(); | |
60 | |
61 virtual void requestSetDockSide(DockSide); | |
62 virtual void changeAttachedWindowHeight(unsigned); | |
63 | |
64 virtual void openInNewTab(const String& url); | |
65 | |
66 virtual void save(const WTF::String& urk, const WTF::String& content, bool f
orceSaveAs); | |
67 virtual void append(const WTF::String& urk, const WTF::String& content); | |
68 | |
69 virtual void inspectedURLChanged(const WTF::String&); | 56 virtual void inspectedURLChanged(const WTF::String&); |
70 | 57 |
71 virtual void sendMessageToBackend(const WTF::String&); | 58 virtual void sendMessageToBackend(const WTF::String&); |
| 59 |
72 virtual void sendMessageToEmbedder(const WTF::String&); | 60 virtual void sendMessageToEmbedder(const WTF::String&); |
73 | 61 |
74 virtual void requestFileSystems(); | |
75 virtual void addFileSystem(); | |
76 virtual void removeFileSystem(const String& fileSystemPath); | |
77 virtual void indexPath(int requestId, const String& fileSystemPath); | |
78 virtual void stopIndexing(int requestId); | |
79 virtual void searchInPath(int requestId, const String& fileSystemPath, const
String& query); | |
80 | |
81 virtual bool isUnderTest(); | 62 virtual bool isUnderTest(); |
82 | 63 |
83 private: | 64 private: |
84 WebCore::Page* m_frontendPage; | 65 WebCore::Page* m_frontendPage; |
85 WebDevToolsFrontendClient* m_client; | 66 WebDevToolsFrontendClient* m_client; |
86 RefPtr<WebCore::InspectorFrontendHost> m_frontendHost; | 67 RefPtr<WebCore::InspectorFrontendHost> m_frontendHost; |
87 }; | 68 }; |
88 | 69 |
89 } // namespace WebKit | 70 } // namespace WebKit |
90 | 71 |
91 #endif | 72 #endif |
OLD | NEW |