Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(394)

Side by Side Diff: Source/web/InspectorClientImpl.h

Issue 23187005: [DevTools] Use device metrics emulation implemented in content. (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Another rebase Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/devtools/front_end/OverridesSupport.js ('k') | Source/web/InspectorClientImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/devtools/front_end/OverridesSupport.js ('k') | Source/web/InspectorClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698