OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 public: | 72 public: |
73 ~InspectorController(); | 73 ~InspectorController(); |
74 DECLARE_TRACE(); | 74 DECLARE_TRACE(); |
75 | 75 |
76 static PassOwnPtrWillBeRawPtr<InspectorController> create(Page*, InspectorCl
ient*); | 76 static PassOwnPtrWillBeRawPtr<InspectorController> create(Page*, InspectorCl
ient*); |
77 | 77 |
78 // Settings overrides. | 78 // Settings overrides. |
79 void setTextAutosizingEnabled(bool); | 79 void setTextAutosizingEnabled(bool); |
80 void setDeviceScaleAdjustment(float); | 80 void setDeviceScaleAdjustment(float); |
81 void setPreferCompositingToLCDTextEnabled(bool); | 81 void setPreferCompositingToLCDTextEnabled(bool); |
| 82 void setUseMobileViewportStyle(bool); |
82 | 83 |
83 void willBeDestroyed(); | 84 void willBeDestroyed(); |
84 void registerModuleAgent(PassOwnPtrWillBeRawPtr<InspectorAgent>); | 85 void registerModuleAgent(PassOwnPtrWillBeRawPtr<InspectorAgent>); |
85 | 86 |
86 void dispatchMessageFromFrontend(const String& message); | 87 void dispatchMessageFromFrontend(const String& message); |
87 | 88 |
88 void connectFrontend(const String& hostId, InspectorFrontendChannel*); | 89 void connectFrontend(const String& hostId, InspectorFrontendChannel*); |
89 void disconnectFrontend(); | 90 void disconnectFrontend(); |
90 void reuseFrontend(const String& hostId, InspectorFrontendChannel*, const St
ring& inspectorStateCookie); | 91 void reuseFrontend(const String& hostId, InspectorFrontendChannel*, const St
ring& inspectorStateCookie); |
91 void setProcessId(long); | 92 void setProcessId(long); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 InspectorAgentRegistry m_agents; | 145 InspectorAgentRegistry m_agents; |
145 bool m_isUnderTest; | 146 bool m_isUnderTest; |
146 bool m_deferredAgentsInitialized; | 147 bool m_deferredAgentsInitialized; |
147 String m_hostId; | 148 String m_hostId; |
148 }; | 149 }; |
149 | 150 |
150 } | 151 } |
151 | 152 |
152 | 153 |
153 #endif // InspectorController_h | 154 #endif // InspectorController_h |
OLD | NEW |