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

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

Issue 295383008: Remove the forceCompositingMode setting. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address review comment 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/Settings.in ('k') | Source/core/inspector/InspectorPageAgent.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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 static DocumentLoader* assertDocumentLoader(ErrorString*, LocalFrame*); 164 static DocumentLoader* assertDocumentLoader(ErrorString*, LocalFrame*);
165 165
166 private: 166 private:
167 static void resourceContent(ErrorString*, LocalFrame*, const KURL&, String* result, bool* base64Encoded); 167 static void resourceContent(ErrorString*, LocalFrame*, const KURL&, String* result, bool* base64Encoded);
168 168
169 InspectorPageAgent(Page*, InjectedScriptManager*, InspectorClient*, Inspecto rOverlay*); 169 InspectorPageAgent(Page*, InjectedScriptManager*, InspectorClient*, Inspecto rOverlay*);
170 bool deviceMetricsChanged(bool enabled, int width, int height, double device ScaleFactor, bool emulateViewport, bool fitWindow, double fontScaleFactor, bool textAutosizing); 170 bool deviceMetricsChanged(bool enabled, int width, int height, double device ScaleFactor, bool emulateViewport, bool fitWindow, double fontScaleFactor, bool textAutosizing);
171 void updateViewMetricsFromState(); 171 void updateViewMetricsFromState();
172 void updateViewMetrics(bool enabled, int width, int height, double deviceSca leFactor, bool emulateViewport, bool fitWindow, double fontScaleFactor, bool tex tAutosizingEnabled); 172 void updateViewMetrics(bool enabled, int width, int height, double deviceSca leFactor, bool emulateViewport, bool fitWindow, double fontScaleFactor, bool tex tAutosizingEnabled);
173 void updateTouchEventEmulationInPage(bool); 173 void updateTouchEventEmulationInPage(bool);
174 bool forceCompositingMode(ErrorString*); 174 bool compositingEnabled(ErrorString*);
175 175
176 static bool dataContent(const char* data, unsigned size, const String& textE ncodingName, bool withBase64Encode, String* result); 176 static bool dataContent(const char* data, unsigned size, const String& textE ncodingName, bool withBase64Encode, String* result);
177 177
178 PassRefPtr<TypeBuilder::Page::Frame> buildObjectForFrame(LocalFrame*); 178 PassRefPtr<TypeBuilder::Page::Frame> buildObjectForFrame(LocalFrame*);
179 PassRefPtr<TypeBuilder::Page::FrameResourceTree> buildObjectForFrameTree(Loc alFrame*); 179 PassRefPtr<TypeBuilder::Page::FrameResourceTree> buildObjectForFrameTree(Loc alFrame*);
180 Page* m_page; 180 Page* m_page;
181 InjectedScriptManager* m_injectedScriptManager; 181 InjectedScriptManager* m_injectedScriptManager;
182 InspectorClient* m_client; 182 InspectorClient* m_client;
183 InspectorFrontend::Page* m_frontend; 183 InspectorFrontend::Page* m_frontend;
184 InspectorOverlay* m_overlay; 184 InspectorOverlay* m_overlay;
(...skipping 17 matching lines...) Expand all
202 202
203 bool m_embedderTextAutosizingEnabled; 203 bool m_embedderTextAutosizingEnabled;
204 double m_embedderFontScaleFactor; 204 double m_embedderFontScaleFactor;
205 }; 205 };
206 206
207 207
208 } // namespace WebCore 208 } // namespace WebCore
209 209
210 210
211 #endif // !defined(InspectorPagerAgent_h) 211 #endif // !defined(InspectorPagerAgent_h)
OLDNEW
« no previous file with comments | « Source/core/frame/Settings.in ('k') | Source/core/inspector/InspectorPageAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698