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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 " ['closeWindow', 0]," | 111 " ['closeWindow', 0]," |
112 " ['indexPath', 2]," | 112 " ['indexPath', 2]," |
113 " ['inspectElementCompleted', 0]," | 113 " ['inspectElementCompleted', 0]," |
114 " ['moveWindowBy', 2]," | 114 " ['moveWindowBy', 2]," |
115 " ['openInNewTab', 1]," | 115 " ['openInNewTab', 1]," |
116 " ['removeFileSystem', 1]," | 116 " ['removeFileSystem', 1]," |
117 " ['requestFileSystems', 0]," | 117 " ['requestFileSystems', 0]," |
118 " ['resetZoom', 0]," | 118 " ['resetZoom', 0]," |
119 " ['save', 3]," | 119 " ['save', 3]," |
120 " ['searchInPath', 3]," | 120 " ['searchInPath', 3]," |
| 121 " ['setWhitelistedShortcuts', 1]," |
121 " ['setContentsResizingStrategy', 2]," | 122 " ['setContentsResizingStrategy', 2]," |
122 " ['setIsDocked', 1]," | 123 " ['setIsDocked', 1]," |
123 " ['stopIndexing', 1]," | 124 " ['stopIndexing', 1]," |
124 " ['zoomIn', 0]," | 125 " ['zoomIn', 0]," |
125 " ['zoomOut', 0]]);" | 126 " ['zoomOut', 0]]);" |
126 "" | 127 "" |
127 "" // Support for legacy front-ends (<M34). Do not add items here. | 128 "" // Support for legacy front-ends (<M34). Do not add items here. |
128 "InspectorFrontendHost.requestSetDockSide = function(dockSide)" | 129 "InspectorFrontendHost.requestSetDockSide = function(dockSide)" |
129 "{" | 130 "{" |
130 " InspectorFrontendHost.setIsDocked(dockSide !== \"undocked\");" | 131 " InspectorFrontendHost.setIsDocked(dockSide !== \"undocked\");" |
(...skipping 26 matching lines...) Expand all Loading... |
157 { | 158 { |
158 m_client->sendMessageToEmbedder(message); | 159 m_client->sendMessageToEmbedder(message); |
159 } | 160 } |
160 | 161 |
161 bool InspectorFrontendClientImpl::isUnderTest() | 162 bool InspectorFrontendClientImpl::isUnderTest() |
162 { | 163 { |
163 return m_client->isUnderTest(); | 164 return m_client->isUnderTest(); |
164 } | 165 } |
165 | 166 |
166 } // namespace blink | 167 } // namespace blink |
OLD | NEW |