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

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

Issue 351303003: [DevTools] Switch from DIP to CSS pixels in device mode. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed comments Created 6 years, 5 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 | « no previous file | Source/core/inspector/InspectorController.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) 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 void inspect(Node*); 101 void inspect(Node*);
102 void drawHighlight(GraphicsContext&) const; 102 void drawHighlight(GraphicsContext&) const;
103 103
104 bool handleGestureEvent(LocalFrame*, const PlatformGestureEvent&); 104 bool handleGestureEvent(LocalFrame*, const PlatformGestureEvent&);
105 bool handleMouseEvent(LocalFrame*, const PlatformMouseEvent&); 105 bool handleMouseEvent(LocalFrame*, const PlatformMouseEvent&);
106 bool handleTouchEvent(LocalFrame*, const PlatformTouchEvent&); 106 bool handleTouchEvent(LocalFrame*, const PlatformTouchEvent&);
107 bool handleKeyboardEvent(LocalFrame*, const PlatformKeyboardEvent&); 107 bool handleKeyboardEvent(LocalFrame*, const PlatformKeyboardEvent&);
108 108
109 void requestPageScaleFactor(float scale, const IntPoint& origin); 109 void requestPageScaleFactor(float scale, const IntPoint& origin);
110 void deviceOrPageScaleFactorChanged();
110 bool deviceEmulationEnabled(); 111 bool deviceEmulationEnabled();
111 112
112 bool isUnderTest(); 113 bool isUnderTest();
113 void evaluateForTestInFrontend(long callId, const String& script); 114 void evaluateForTestInFrontend(long callId, const String& script);
114 115
115 void resume(); 116 void resume();
116 117
117 void setResourcesDataSizeLimitsFromInternals(int maximumResourcesContentSize , int maximumSingleResourceContentSize); 118 void setResourcesDataSizeLimitsFromInternals(int maximumResourcesContentSize , int maximumSingleResourceContentSize);
118 119
119 void willProcessTask(); 120 void willProcessTask();
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 InspectorAgentRegistry m_agents; 162 InspectorAgentRegistry m_agents;
162 bool m_isUnderTest; 163 bool m_isUnderTest;
163 bool m_deferredAgentsInitialized; 164 bool m_deferredAgentsInitialized;
164 String m_hostId; 165 String m_hostId;
165 }; 166 };
166 167
167 } 168 }
168 169
169 170
170 #endif // !defined(InspectorController_h) 171 #endif // !defined(InspectorController_h)
OLDNEW
« no previous file with comments | « no previous file | Source/core/inspector/InspectorController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698