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

Side by Side Diff: Source/core/inspector/InspectorController.h

Issue 309473002: [DevTools] Cleanup inspector overlay and make it work with virtual viewport. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
OLDNEW
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 void setInjectedScriptForOrigin(const String& origin, const String& source); 88 void setInjectedScriptForOrigin(const String& origin, const String& source);
89 89
90 void dispatchMessageFromFrontend(const String& message); 90 void dispatchMessageFromFrontend(const String& message);
91 91
92 void connectFrontend(InspectorFrontendChannel*); 92 void connectFrontend(InspectorFrontendChannel*);
93 void disconnectFrontend(); 93 void disconnectFrontend();
94 void reconnectFrontend(); 94 void reconnectFrontend();
95 void reuseFrontend(InspectorFrontendChannel*, const String& inspectorStateCo okie); 95 void reuseFrontend(InspectorFrontendChannel*, const String& inspectorStateCo okie);
96 void setProcessId(long); 96 void setProcessId(long);
97 void setLayerTreeId(int); 97 void setLayerTreeId(int);
98 void webViewResized(const IntSize&);
99 98
100 void inspect(Node*); 99 void inspect(Node*);
101 void drawHighlight(GraphicsContext&) const; 100 void drawHighlight(GraphicsContext&) const;
102 101
103 bool handleGestureEvent(LocalFrame*, const PlatformGestureEvent&); 102 bool handleGestureEvent(LocalFrame*, const PlatformGestureEvent&);
104 bool handleMouseEvent(LocalFrame*, const PlatformMouseEvent&); 103 bool handleMouseEvent(LocalFrame*, const PlatformMouseEvent&);
105 bool handleTouchEvent(LocalFrame*, const PlatformTouchEvent&); 104 bool handleTouchEvent(LocalFrame*, const PlatformTouchEvent&);
106 bool handleKeyboardEvent(LocalFrame*, const PlatformKeyboardEvent&); 105 bool handleKeyboardEvent(LocalFrame*, const PlatformKeyboardEvent&);
107 106
108 void requestPageScaleFactor(float scale, const IntPoint& origin); 107 void requestPageScaleFactor(float scale, const IntPoint& origin);
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 InspectorAgentRegistry m_agents; 157 InspectorAgentRegistry m_agents;
159 Vector<InspectorAgent*> m_moduleAgents; 158 Vector<InspectorAgent*> m_moduleAgents;
160 bool m_isUnderTest; 159 bool m_isUnderTest;
161 bool m_deferredAgentsInitialized; 160 bool m_deferredAgentsInitialized;
162 }; 161 };
163 162
164 } 163 }
165 164
166 165
167 #endif // !defined(InspectorController_h) 166 #endif // !defined(InspectorController_h)
OLDNEW
« no previous file with comments | « no previous file | Source/core/inspector/InspectorController.cpp » ('j') | Source/core/inspector/InspectorOverlay.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698