| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 60 |
| 61 typedef String ErrorString; | 61 typedef String ErrorString; |
| 62 | 62 |
| 63 class InspectorPageAgent FINAL : public InspectorBaseAgent<InspectorPageAgent>,
public InspectorBackendDispatcher::PageCommandHandler { | 63 class InspectorPageAgent FINAL : public InspectorBaseAgent<InspectorPageAgent>,
public InspectorBackendDispatcher::PageCommandHandler { |
| 64 WTF_MAKE_NONCOPYABLE(InspectorPageAgent); | 64 WTF_MAKE_NONCOPYABLE(InspectorPageAgent); |
| 65 public: | 65 public: |
| 66 enum ResourceType { | 66 enum ResourceType { |
| 67 DocumentResource, | 67 DocumentResource, |
| 68 StylesheetResource, | 68 StylesheetResource, |
| 69 ImageResource, | 69 ImageResource, |
| 70 Font, | 70 FontResource, |
| 71 MediaResource, |
| 71 ScriptResource, | 72 ScriptResource, |
| 73 TextTrackResource, |
| 72 XHRResource, | 74 XHRResource, |
| 73 WebSocketResource, | 75 WebSocketResource, |
| 74 OtherResource | 76 OtherResource |
| 75 }; | 77 }; |
| 76 | 78 |
| 77 static PassOwnPtr<InspectorPageAgent> create(Page*, InjectedScriptManager*,
InspectorClient*, InspectorOverlay*); | 79 static PassOwnPtr<InspectorPageAgent> create(Page*, InjectedScriptManager*,
InspectorClient*, InspectorOverlay*); |
| 78 | 80 |
| 79 // Settings overrides. | 81 // Settings overrides. |
| 80 void setTextAutosizingEnabled(bool); | 82 void setTextAutosizingEnabled(bool); |
| 81 void setDeviceScaleAdjustment(float); | 83 void setDeviceScaleAdjustment(float); |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 bool m_emulateViewportEnabled; | 193 bool m_emulateViewportEnabled; |
| 192 bool m_embedderTextAutosizingEnabled; | 194 bool m_embedderTextAutosizingEnabled; |
| 193 double m_embedderFontScaleFactor; | 195 double m_embedderFontScaleFactor; |
| 194 }; | 196 }; |
| 195 | 197 |
| 196 | 198 |
| 197 } // namespace WebCore | 199 } // namespace WebCore |
| 198 | 200 |
| 199 | 201 |
| 200 #endif // !defined(InspectorPagerAgent_h) | 202 #endif // !defined(InspectorPagerAgent_h) |
| OLD | NEW |