Chromium Code Reviews| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 120 virtual void startScreencast(ErrorString*, const String* format, const int* quality, const int* maxWidth, const int* maxHeight) OVERRIDE; | 120 virtual void startScreencast(ErrorString*, const String* format, const int* quality, const int* maxWidth, const int* maxHeight) OVERRIDE; |
| 121 virtual void stopScreencast(ErrorString*) OVERRIDE; | 121 virtual void stopScreencast(ErrorString*) OVERRIDE; |
| 122 virtual void handleJavaScriptDialog(ErrorString*, bool accept, const String* promptText) OVERRIDE; | 122 virtual void handleJavaScriptDialog(ErrorString*, bool accept, const String* promptText) OVERRIDE; |
| 123 virtual void queryUsageAndQuota(WebCore::ErrorString*, const WTF::String&, W TF::RefPtr<WebCore::TypeBuilder::Page::Quota>&, WTF::RefPtr<WebCore::TypeBuilder ::Page::Usage>&) OVERRIDE; | 123 virtual void queryUsageAndQuota(WebCore::ErrorString*, const WTF::String&, W TF::RefPtr<WebCore::TypeBuilder::Page::Quota>&, WTF::RefPtr<WebCore::TypeBuilder ::Page::Usage>&) OVERRIDE; |
| 124 virtual void setShowViewportSizeOnResize(ErrorString*, bool show, const bool * showGrid) OVERRIDE; | 124 virtual void setShowViewportSizeOnResize(ErrorString*, bool show, const bool * showGrid) OVERRIDE; |
| 125 | 125 |
| 126 // Geolocation override helper. | 126 // Geolocation override helper. |
| 127 GeolocationPosition* overrideGeolocationPosition(GeolocationPosition*); | 127 GeolocationPosition* overrideGeolocationPosition(GeolocationPosition*); |
| 128 | 128 |
| 129 // Text autosizing override helpers. | 129 // Text autosizing override helpers. |
| 130 bool overrideTextAutosizing(bool); | 130 bool overrideTextAutosizing(); |
|
pfeldman
2014/01/24 16:25:21
These are now private then.
gnana
2014/01/27 16:31:07
Done.
| |
| 131 // Note: This is used by Settings::deviceScaleAdjustment to calculate the ov erridden device scale adjustment. | 131 // Note: This is used by Settings::deviceScaleAdjustment to calculate the ov erridden device scale adjustment. |
| 132 float overrideFontScaleFactor(float); | 132 float overrideFontScaleFactor(); |
| 133 | 133 |
| 134 // InspectorInstrumentation API | 134 // InspectorInstrumentation API |
| 135 void didClearWindowObjectInWorld(Frame*, DOMWrapperWorld*); | 135 void didClearWindowObjectInWorld(Frame*, DOMWrapperWorld*); |
| 136 void domContentLoadedEventFired(Frame*); | 136 void domContentLoadedEventFired(Frame*); |
| 137 void loadEventFired(Frame*); | 137 void loadEventFired(Frame*); |
| 138 void didCommitLoad(Frame*, DocumentLoader*); | 138 void didCommitLoad(Frame*, DocumentLoader*); |
| 139 void frameAttachedToParent(Frame*); | 139 void frameAttachedToParent(Frame*); |
| 140 void frameDetachedFromParent(Frame*); | 140 void frameDetachedFromParent(Frame*); |
| 141 void loaderDetachedFromFrame(DocumentLoader*); | 141 void loaderDetachedFromFrame(DocumentLoader*); |
| 142 void frameStartedLoading(Frame*); | 142 void frameStartedLoading(Frame*); |
| 143 void frameStoppedLoading(Frame*); | 143 void frameStoppedLoading(Frame*); |
| 144 void frameScheduledNavigation(Frame*, double delay); | 144 void frameScheduledNavigation(Frame*, double delay); |
| 145 void frameClearedScheduledNavigation(Frame*); | 145 void frameClearedScheduledNavigation(Frame*); |
| 146 void willRunJavaScriptDialog(const String& message); | 146 void willRunJavaScriptDialog(const String& message); |
| 147 void didRunJavaScriptDialog(); | 147 void didRunJavaScriptDialog(); |
| 148 bool applyViewportStyleOverride(StyleResolver*); | 148 bool applyViewportStyleOverride(StyleResolver*); |
| 149 void applyEmulatedMedia(String*); | 149 void applyEmulatedMedia(String*); |
| 150 void didPaint(RenderObject*, const GraphicsLayer*, GraphicsContext*, const L ayoutRect&); | 150 void didPaint(RenderObject*, const GraphicsLayer*, GraphicsContext*, const L ayoutRect&); |
| 151 void didLayout(RenderObject*); | 151 void didLayout(RenderObject*); |
| 152 void didScroll(); | 152 void didScroll(); |
| 153 void didResizeMainFrame(); | 153 void didResizeMainFrame(); |
| 154 void didRecalculateStyle(); | 154 void didRecalculateStyle(); |
| 155 void scriptsEnabled(bool isEnabled); | 155 void scriptsEnabled(bool isEnabled); |
| 156 void textAutosizingEnabled(bool isEnabled); | |
| 157 void fontScaleFactor(float factor); | |
| 156 | 158 |
| 157 // Inspector Controller API | 159 // Inspector Controller API |
| 158 virtual void setFrontend(InspectorFrontend*) OVERRIDE; | 160 virtual void setFrontend(InspectorFrontend*) OVERRIDE; |
| 159 virtual void clearFrontend() OVERRIDE; | 161 virtual void clearFrontend() OVERRIDE; |
| 160 virtual void restore() OVERRIDE; | 162 virtual void restore() OVERRIDE; |
| 161 | 163 |
| 162 void webViewResized(const IntSize&); | 164 void webViewResized(const IntSize&); |
| 163 | 165 |
| 164 // Cross-agents API | 166 // Cross-agents API |
| 165 Page* page() { return m_page; } | 167 Page* page() { return m_page; } |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 200 String m_pendingScriptPreprocessor; | 202 String m_pendingScriptPreprocessor; |
| 201 String m_scriptPreprocessorSource; | 203 String m_scriptPreprocessorSource; |
| 202 HashMap<Frame*, String> m_frameToIdentifier; | 204 HashMap<Frame*, String> m_frameToIdentifier; |
| 203 HashMap<String, Frame*> m_identifierToFrame; | 205 HashMap<String, Frame*> m_identifierToFrame; |
| 204 HashMap<DocumentLoader*, String> m_loaderToIdentifier; | 206 HashMap<DocumentLoader*, String> m_loaderToIdentifier; |
| 205 bool m_enabled; | 207 bool m_enabled; |
| 206 bool m_geolocationOverridden; | 208 bool m_geolocationOverridden; |
| 207 bool m_ignoreScriptsEnabledNotification; | 209 bool m_ignoreScriptsEnabledNotification; |
| 208 bool m_deviceMetricsOverridden; | 210 bool m_deviceMetricsOverridden; |
| 209 bool m_emulateViewportEnabled; | 211 bool m_emulateViewportEnabled; |
| 212 bool m_settingsCacheTextAutosizingEnabled; | |
| 213 float m_settingsCacheFontScaleFactor; | |
| 210 RefPtr<GeolocationPosition> m_geolocationPosition; | 214 RefPtr<GeolocationPosition> m_geolocationPosition; |
| 211 RefPtr<GeolocationPosition> m_platformGeolocationPosition; | 215 RefPtr<GeolocationPosition> m_platformGeolocationPosition; |
| 212 }; | 216 }; |
| 213 | 217 |
| 214 | 218 |
| 215 } // namespace WebCore | 219 } // namespace WebCore |
| 216 | 220 |
| 217 | 221 |
| 218 #endif // !defined(InspectorPagerAgent_h) | 222 #endif // !defined(InspectorPagerAgent_h) |
| OLD | NEW |