Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: Source/core/testing/InspectorFrontendClientLocal.h

Issue 23289002: Introduce InspectorFrontendHost.sendMessageToFrontendHost. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 virtual void bringToFront() OVERRIDE { } 63 virtual void bringToFront() OVERRIDE { }
64 virtual void closeWindow() OVERRIDE { } 64 virtual void closeWindow() OVERRIDE { }
65 65
66 virtual void attachWindow(DockSide) { } 66 virtual void attachWindow(DockSide) { }
67 virtual void detachWindow() { } 67 virtual void detachWindow() { }
68 68
69 virtual void inspectedURLChanged(const String&) OVERRIDE { } 69 virtual void inspectedURLChanged(const String&) OVERRIDE { }
70 70
71 virtual void sendMessageToBackend(const String& message); 71 virtual void sendMessageToBackend(const String& message);
72 virtual void sendMessageToEmbedder(const String&) OVERRIDE { }
72 73
73 virtual void requestFileSystems() { } 74 virtual void requestFileSystems() { }
74 virtual void addFileSystem() { } 75 virtual void addFileSystem() { }
75 virtual void removeFileSystem(const String&) { } 76 virtual void removeFileSystem(const String&) { }
76 virtual void indexPath(int requestId, const String& fileSystemPath) { } 77 virtual void indexPath(int requestId, const String& fileSystemPath) { }
77 virtual void stopIndexing(int requestId) { } 78 virtual void stopIndexing(int requestId) { }
78 virtual void searchInPath(int requestId, const String& fileSystemPath, const String& query) { } 79 virtual void searchInPath(int requestId, const String& fileSystemPath, const String& query) { }
79 80
80 virtual bool isUnderTest() { return true; } 81 virtual bool isUnderTest() { return true; }
81 82
82 private: 83 private:
83 Page* m_frontendPage; 84 Page* m_frontendPage;
84 // TODO(yurys): this ref shouldn't be needed. 85 // TODO(yurys): this ref shouldn't be needed.
85 RefPtr<InspectorFrontendHost> m_frontendHost; 86 RefPtr<InspectorFrontendHost> m_frontendHost;
86 RefPtr<InspectorBackendMessageQueue> m_messageQueue; 87 RefPtr<InspectorBackendMessageQueue> m_messageQueue;
87 }; 88 };
88 89
89 } // namespace WebCore 90 } // namespace WebCore
90 91
91 #endif 92 #endif
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorFrontendHost.idl ('k') | Source/devtools/front_end/InspectorFrontendHostStub.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698