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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 bool deviceEmulationEnabled(); | 90 bool deviceEmulationEnabled(); |
91 bool screencastEnabled(); | 91 bool screencastEnabled(); |
92 void willAddPageOverlay(const GraphicsLayer*); | 92 void willAddPageOverlay(const GraphicsLayer*); |
93 void didRemovePageOverlay(const GraphicsLayer*); | 93 void didRemovePageOverlay(const GraphicsLayer*); |
94 | 94 |
95 // Settings overrides. | 95 // Settings overrides. |
96 void setTextAutosizingEnabled(bool); | 96 void setTextAutosizingEnabled(bool); |
97 void setDeviceScaleAdjustment(float); | 97 void setDeviceScaleAdjustment(float); |
98 void setPreferCompositingToLCDTextEnabled(bool); | 98 void setPreferCompositingToLCDTextEnabled(bool); |
99 void setScriptEnabled(bool); | 99 void setScriptEnabled(bool); |
| 100 void setUseMobileViewportStyle(bool); |
100 | 101 |
101 // WebDevToolsAgent implementation. | 102 // WebDevToolsAgent implementation. |
102 void attach(const WebString& hostId) override; | 103 void attach(const WebString& hostId) override; |
103 void reattach(const WebString& hostId, const WebString& savedState) override
; | 104 void reattach(const WebString& hostId, const WebString& savedState) override
; |
104 void detach() override; | 105 void detach() override; |
105 void continueProgram() override; | 106 void continueProgram() override; |
106 void dispatchOnInspectorBackend(const WebString& message) override; | 107 void dispatchOnInspectorBackend(const WebString& message) override; |
107 void inspectElementAt(const WebPoint&) override; | 108 void inspectElementAt(const WebPoint&) override; |
108 void evaluateInWebInspector(long callId, const WebString& script) override; | 109 void evaluateInWebInspector(long callId, const WebString& script) override; |
109 void setLayerTreeId(int) override; | 110 void setLayerTreeId(int) override; |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 typedef Vector<RefPtr<JSONObject> > NotificationQueue; | 203 typedef Vector<RefPtr<JSONObject> > NotificationQueue; |
203 NotificationQueue m_notificationQueue; | 204 NotificationQueue m_notificationQueue; |
204 String m_stateCookie; | 205 String m_stateCookie; |
205 | 206 |
206 friend class DebuggerTask; | 207 friend class DebuggerTask; |
207 }; | 208 }; |
208 | 209 |
209 } // namespace blink | 210 } // namespace blink |
210 | 211 |
211 #endif | 212 #endif |
OLD | NEW |