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

Side by Side Diff: third_party/WebKit/Source/core/inspector/InspectorPageAgent.h

Issue 2438023003: devtools: Adds Page.getLayoutMetrics. (Closed)
Patch Set: address comments. Created 4 years, 1 month 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 const Maybe<int>& quality, 137 const Maybe<int>& quality,
138 const Maybe<int>& maxWidth, 138 const Maybe<int>& maxWidth,
139 const Maybe<int>& maxHeight, 139 const Maybe<int>& maxHeight,
140 const Maybe<int>& everyNthFrame) override; 140 const Maybe<int>& everyNthFrame) override;
141 void stopScreencast(ErrorString*) override; 141 void stopScreencast(ErrorString*) override;
142 void configureOverlay(ErrorString*, 142 void configureOverlay(ErrorString*,
143 const Maybe<bool>& suspended, 143 const Maybe<bool>& suspended,
144 const Maybe<String>& message) override; 144 const Maybe<String>& message) override;
145 void setBlockedEventsWarningThreshold(ErrorString*, 145 void setBlockedEventsWarningThreshold(ErrorString*,
146 double threshold) override; 146 double threshold) override;
147 void getLayoutMetrics(
148 ErrorString*,
149 std::unique_ptr<protocol::Page::LayoutViewport>*,
150 std::unique_ptr<protocol::Page::VisualViewport>*) override;
147 151
148 // InspectorInstrumentation API 152 // InspectorInstrumentation API
149 void didClearDocumentOfWindowObject(LocalFrame*); 153 void didClearDocumentOfWindowObject(LocalFrame*);
150 void domContentLoadedEventFired(LocalFrame*); 154 void domContentLoadedEventFired(LocalFrame*);
151 void loadEventFired(LocalFrame*); 155 void loadEventFired(LocalFrame*);
152 void didCommitLoad(LocalFrame*, DocumentLoader*); 156 void didCommitLoad(LocalFrame*, DocumentLoader*);
153 void frameAttachedToParent(LocalFrame*); 157 void frameAttachedToParent(LocalFrame*);
154 void frameDetachedFromParent(LocalFrame*); 158 void frameDetachedFromParent(LocalFrame*);
155 void frameStartedLoading(LocalFrame*); 159 void frameStartedLoading(LocalFrame*);
156 void frameStoppedLoading(LocalFrame*); 160 void frameStoppedLoading(LocalFrame*);
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 String m_scriptToEvaluateOnLoadOnce; 209 String m_scriptToEvaluateOnLoadOnce;
206 bool m_enabled; 210 bool m_enabled;
207 bool m_reloading; 211 bool m_reloading;
208 Member<InspectorResourceContentLoader> m_inspectorResourceContentLoader; 212 Member<InspectorResourceContentLoader> m_inspectorResourceContentLoader;
209 int m_resourceContentLoaderClientId; 213 int m_resourceContentLoaderClientId;
210 }; 214 };
211 215
212 } // namespace blink 216 } // namespace blink
213 217
214 #endif // !defined(InspectorPagerAgent_h) 218 #endif // !defined(InspectorPagerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698