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

Side by Side Diff: Source/core/inspector/InspectorPageAgent.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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 void didScroll(); 139 void didScroll();
140 void didResizeMainFrame(); 140 void didResizeMainFrame();
141 void didRecalculateStyle(int); 141 void didRecalculateStyle(int);
142 void scriptsEnabled(bool isEnabled); 142 void scriptsEnabled(bool isEnabled);
143 143
144 // Inspector Controller API 144 // Inspector Controller API
145 virtual void setFrontend(InspectorFrontend*) OVERRIDE; 145 virtual void setFrontend(InspectorFrontend*) OVERRIDE;
146 virtual void clearFrontend() OVERRIDE; 146 virtual void clearFrontend() OVERRIDE;
147 virtual void restore() OVERRIDE; 147 virtual void restore() OVERRIDE;
148 148
149 void webViewResized(const IntSize&);
150
151 // Cross-agents API 149 // Cross-agents API
152 Page* page() { return m_page; } 150 Page* page() { return m_page; }
153 LocalFrame* mainFrame(); 151 LocalFrame* mainFrame();
154 String createIdentifier(); 152 String createIdentifier();
155 LocalFrame* frameForId(const String& frameId); 153 LocalFrame* frameForId(const String& frameId);
156 String frameId(LocalFrame*); 154 String frameId(LocalFrame*);
157 bool hasIdForFrame(LocalFrame*) const; 155 bool hasIdForFrame(LocalFrame*) const;
158 String loaderId(DocumentLoader*); 156 String loaderId(DocumentLoader*);
159 LocalFrame* findFrameWithSecurityOrigin(const String& originRawString); 157 LocalFrame* findFrameWithSecurityOrigin(const String& originRawString);
160 LocalFrame* assertFrame(ErrorString*, const String& frameId); 158 LocalFrame* assertFrame(ErrorString*, const String& frameId);
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 200
203 bool m_embedderTextAutosizingEnabled; 201 bool m_embedderTextAutosizingEnabled;
204 double m_embedderFontScaleFactor; 202 double m_embedderFontScaleFactor;
205 }; 203 };
206 204
207 205
208 } // namespace WebCore 206 } // namespace WebCore
209 207
210 208
211 #endif // !defined(InspectorPagerAgent_h) 209 #endif // !defined(InspectorPagerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698