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

Side by Side Diff: Source/core/inspector/InspectorFrontendHost.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) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 void copyText(const String& text); 67 void copyText(const String& text);
68 void openInNewTab(const String& url); 68 void openInNewTab(const String& url);
69 void save(const String& url, const String& content, bool forceSaveAs); 69 void save(const String& url, const String& content, bool forceSaveAs);
70 void append(const String& url, const String& content); 70 void append(const String& url, const String& content);
71 void close(const String& url); 71 void close(const String& url);
72 72
73 // Called from [Custom] implementations. 73 // Called from [Custom] implementations.
74 void showContextMenu(Event*, const Vector<ContextMenuItem>& items); 74 void showContextMenu(Event*, const Vector<ContextMenuItem>& items);
75 void sendMessageToBackend(const String& message); 75 void sendMessageToBackend(const String& message);
76 void sendMessageToEmbedder(const String& message);
76 77
77 String loadResourceSynchronously(const String& url); 78 String loadResourceSynchronously(const String& url);
78 String getSelectionBackgroundColor(); 79 String getSelectionBackgroundColor();
79 String getSelectionForegroundColor(); 80 String getSelectionForegroundColor();
80 81
81 void requestFileSystems(); 82 void requestFileSystems();
82 void addFileSystem(); 83 void addFileSystem();
83 void removeFileSystem(const String& fileSystemPath); 84 void removeFileSystem(const String& fileSystemPath);
84 PassRefPtr<DOMFileSystem> isolatedFileSystem(const String& fileSystemName, c onst String& rootURL); 85 PassRefPtr<DOMFileSystem> isolatedFileSystem(const String& fileSystemName, c onst String& rootURL);
85 void indexPath(int requestId, const String& fileSystemPath); 86 void indexPath(int requestId, const String& fileSystemPath);
(...skipping 16 matching lines...) Expand all
102 InspectorFrontendHost(InspectorFrontendClient* client, Page* frontendPage); 103 InspectorFrontendHost(InspectorFrontendClient* client, Page* frontendPage);
103 104
104 InspectorFrontendClient* m_client; 105 InspectorFrontendClient* m_client;
105 Page* m_frontendPage; 106 Page* m_frontendPage;
106 FrontendMenuProvider* m_menuProvider; 107 FrontendMenuProvider* m_menuProvider;
107 }; 108 };
108 109
109 } // namespace WebCore 110 } // namespace WebCore
110 111
111 #endif // !defined(InspectorFrontendHost_h) 112 #endif // !defined(InspectorFrontendHost_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorFrontendClient.h ('k') | Source/core/inspector/InspectorFrontendHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698