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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 virtual void highlight(); | 52 virtual void highlight(); |
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, bool); |
63 | 63 |
64 virtual bool overridesShowPaintRects(); | 64 virtual bool overridesShowPaintRects(); |
65 virtual void setShowPaintRects(bool); | 65 virtual void setShowPaintRects(bool); |
66 virtual void setShowDebugBorders(bool); | 66 virtual void setShowDebugBorders(bool); |
67 virtual void setShowFPSCounter(bool); | 67 virtual void setShowFPSCounter(bool); |
68 virtual void setContinuousPaintingEnabled(bool); | 68 virtual void setContinuousPaintingEnabled(bool); |
69 virtual void setShowScrollBottleneckRects(bool); | 69 virtual void setShowScrollBottleneckRects(bool); |
70 virtual void requestPageScaleFactor(float scale, const WebCore::IntPoint& or
igin); | 70 virtual void requestPageScaleFactor(float scale, const WebCore::IntPoint& or
igin); |
71 | 71 |
72 virtual void getAllocatedObjects(HashSet<const void*>&); | 72 virtual void getAllocatedObjects(HashSet<const void*>&); |
73 virtual void dumpUncountedAllocatedObjects(const HashMap<const void*, size_t
>&); | 73 virtual void dumpUncountedAllocatedObjects(const HashMap<const void*, size_t
>&); |
74 | 74 |
75 virtual void dispatchKeyEvent(const WebCore::PlatformKeyboardEvent&); | 75 virtual void dispatchKeyEvent(const WebCore::PlatformKeyboardEvent&); |
76 virtual void dispatchMouseEvent(const WebCore::PlatformMouseEvent&); | 76 virtual void dispatchMouseEvent(const WebCore::PlatformMouseEvent&); |
77 | 77 |
78 virtual void setTraceEventCallback(TraceEventCallback); | 78 virtual void setTraceEventCallback(TraceEventCallback); |
79 | 79 |
80 private: | 80 private: |
81 WebDevToolsAgentImpl* devToolsAgent(); | 81 WebDevToolsAgentImpl* devToolsAgent(); |
82 | 82 |
83 // The WebViewImpl of the page being inspected; gets passed to the construct
or | 83 // The WebViewImpl of the page being inspected; gets passed to the construct
or |
84 WebViewImpl* m_inspectedWebView; | 84 WebViewImpl* m_inspectedWebView; |
85 }; | 85 }; |
86 | 86 |
87 } // namespace WebKit | 87 } // namespace WebKit |
88 | 88 |
89 #endif | 89 #endif |
OLD | NEW |