OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 virtual void hideHighlight(); | 53 virtual void hideHighlight(); |
54 | 54 |
55 virtual bool sendMessageToFrontend(const WTF::String&); | 55 virtual bool sendMessageToFrontend(const WTF::String&); |
56 | 56 |
57 virtual void updateInspectorStateCookie(const WTF::String&); | 57 virtual void updateInspectorStateCookie(const WTF::String&); |
58 | 58 |
59 virtual void clearBrowserCache(); | 59 virtual void clearBrowserCache(); |
60 virtual void clearBrowserCookies(); | 60 virtual void clearBrowserCookies(); |
61 | 61 |
62 virtual void overrideDeviceMetrics(int, int, float, bool); | 62 virtual void overrideDeviceMetrics(int, int, float, bool); |
63 virtual void autoZoomPageToFitWidth(); | |
64 | 63 |
65 virtual bool overridesShowPaintRects(); | 64 virtual bool overridesShowPaintRects(); |
66 virtual void setShowPaintRects(bool); | 65 virtual void setShowPaintRects(bool); |
67 virtual void setShowDebugBorders(bool); | 66 virtual void setShowDebugBorders(bool); |
68 virtual void setShowFPSCounter(bool); | 67 virtual void setShowFPSCounter(bool); |
69 virtual void setContinuousPaintingEnabled(bool); | 68 virtual void setContinuousPaintingEnabled(bool); |
70 virtual void setShowScrollBottleneckRects(bool); | 69 virtual void setShowScrollBottleneckRects(bool); |
71 | 70 |
72 virtual void getAllocatedObjects(HashSet<const void*>&); | 71 virtual void getAllocatedObjects(HashSet<const void*>&); |
73 virtual void dumpUncountedAllocatedObjects(const HashMap<const void*, size_t
>&); | 72 virtual void dumpUncountedAllocatedObjects(const HashMap<const void*, size_t
>&); |
74 | 73 |
75 virtual void dispatchKeyEvent(const WebCore::PlatformKeyboardEvent&); | 74 virtual void dispatchKeyEvent(const WebCore::PlatformKeyboardEvent&); |
76 virtual void dispatchMouseEvent(const WebCore::PlatformMouseEvent&); | 75 virtual void dispatchMouseEvent(const WebCore::PlatformMouseEvent&); |
77 | 76 |
78 virtual void setTraceEventCallback(TraceEventCallback); | 77 virtual void setTraceEventCallback(TraceEventCallback); |
79 | 78 |
80 private: | 79 private: |
81 WebDevToolsAgentImpl* devToolsAgent(); | 80 WebDevToolsAgentImpl* devToolsAgent(); |
82 | 81 |
83 // The WebViewImpl of the page being inspected; gets passed to the construct
or | 82 // The WebViewImpl of the page being inspected; gets passed to the construct
or |
84 WebViewImpl* m_inspectedWebView; | 83 WebViewImpl* m_inspectedWebView; |
85 }; | 84 }; |
86 | 85 |
87 } // namespace WebKit | 86 } // namespace WebKit |
88 | 87 |
89 #endif | 88 #endif |
OLD | NEW |