| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 void didLayout(RenderObject*); | 143 void didLayout(RenderObject*); |
| 144 void didScroll(); | 144 void didScroll(); |
| 145 void didResizeMainFrame(); | 145 void didResizeMainFrame(); |
| 146 void didRecalculateStyle(int); | 146 void didRecalculateStyle(int); |
| 147 void scriptsEnabled(bool isEnabled); | 147 void scriptsEnabled(bool isEnabled); |
| 148 | 148 |
| 149 // Inspector Controller API | 149 // Inspector Controller API |
| 150 virtual void setFrontend(InspectorFrontend*) OVERRIDE; | 150 virtual void setFrontend(InspectorFrontend*) OVERRIDE; |
| 151 virtual void clearFrontend() OVERRIDE; | 151 virtual void clearFrontend() OVERRIDE; |
| 152 virtual void restore() OVERRIDE; | 152 virtual void restore() OVERRIDE; |
| 153 virtual void discardAgent() OVERRIDE; |
| 153 | 154 |
| 154 // Cross-agents API | 155 // Cross-agents API |
| 155 Page* page() { return m_page; } | 156 Page* page() { return m_page; } |
| 156 LocalFrame* mainFrame(); | 157 LocalFrame* mainFrame(); |
| 157 String createIdentifier(); | 158 String createIdentifier(); |
| 158 LocalFrame* frameForId(const String& frameId); | 159 LocalFrame* frameForId(const String& frameId); |
| 159 String frameId(LocalFrame*); | 160 String frameId(LocalFrame*); |
| 160 bool hasIdForFrame(LocalFrame*) const; | 161 bool hasIdForFrame(LocalFrame*) const; |
| 161 String loaderId(DocumentLoader*); | 162 String loaderId(DocumentLoader*); |
| 162 LocalFrame* findFrameWithSecurityOrigin(const String& originRawString); | 163 LocalFrame* findFrameWithSecurityOrigin(const String& originRawString); |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 bool m_touchEmulationEnabled; | 213 bool m_touchEmulationEnabled; |
| 213 bool m_originalTouchEnabled; | 214 bool m_originalTouchEnabled; |
| 214 bool m_originalDeviceSupportsMouse; | 215 bool m_originalDeviceSupportsMouse; |
| 215 bool m_originalDeviceSupportsTouch; | 216 bool m_originalDeviceSupportsTouch; |
| 216 int m_originalMaxTouchPoints; | 217 int m_originalMaxTouchPoints; |
| 217 | 218 |
| 218 bool m_embedderTextAutosizingEnabled; | 219 bool m_embedderTextAutosizingEnabled; |
| 219 double m_embedderFontScaleFactor; | 220 double m_embedderFontScaleFactor; |
| 220 bool m_embedderPreferCompositingToLCDTextEnabled; | 221 bool m_embedderPreferCompositingToLCDTextEnabled; |
| 221 | 222 |
| 222 OwnPtr<InspectorResourceContentLoader> m_inspectorResourceContentLoader; | 223 OwnPtrWillBeMember<InspectorResourceContentLoader> m_inspectorResourceConten
tLoader; |
| 223 HashMap<String, String> m_editedResourceContent; | 224 HashMap<String, String> m_editedResourceContent; |
| 224 }; | 225 }; |
| 225 | 226 |
| 226 | 227 |
| 227 } // namespace blink | 228 } // namespace blink |
| 228 | 229 |
| 229 | 230 |
| 230 #endif // !defined(InspectorPagerAgent_h) | 231 #endif // !defined(InspectorPagerAgent_h) |
| OLD | NEW |