OLD | NEW |
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 29 matching lines...) Expand all Loading... |
40 #include "core/css/resolver/ViewportStyleResolver.h" | 40 #include "core/css/resolver/ViewportStyleResolver.h" |
41 #include "core/dom/DOMImplementation.h" | 41 #include "core/dom/DOMImplementation.h" |
42 #include "core/dom/Document.h" | 42 #include "core/dom/Document.h" |
43 #include "core/fetch/CSSStyleSheetResource.h" | 43 #include "core/fetch/CSSStyleSheetResource.h" |
44 #include "core/fetch/FontResource.h" | 44 #include "core/fetch/FontResource.h" |
45 #include "core/fetch/ImageResource.h" | 45 #include "core/fetch/ImageResource.h" |
46 #include "core/fetch/MemoryCache.h" | 46 #include "core/fetch/MemoryCache.h" |
47 #include "core/fetch/Resource.h" | 47 #include "core/fetch/Resource.h" |
48 #include "core/fetch/ResourceFetcher.h" | 48 #include "core/fetch/ResourceFetcher.h" |
49 #include "core/fetch/ScriptResource.h" | 49 #include "core/fetch/ScriptResource.h" |
| 50 #include "core/fetch/TextResourceDecoder.h" |
50 #include "core/frame/Frame.h" | 51 #include "core/frame/Frame.h" |
51 #include "core/frame/FrameView.h" | 52 #include "core/frame/FrameView.h" |
52 #include "core/frame/PageConsole.h" | 53 #include "core/frame/PageConsole.h" |
53 #include "core/frame/Settings.h" | 54 #include "core/frame/Settings.h" |
54 #include "core/html/HTMLFrameOwnerElement.h" | 55 #include "core/html/HTMLFrameOwnerElement.h" |
55 #include "core/html/parser/TextResourceDecoder.h" | |
56 #include "core/inspector/ContentSearchUtils.h" | 56 #include "core/inspector/ContentSearchUtils.h" |
57 #include "core/inspector/DOMPatchSupport.h" | 57 #include "core/inspector/DOMPatchSupport.h" |
58 #include "core/inspector/IdentifiersFactory.h" | 58 #include "core/inspector/IdentifiersFactory.h" |
59 #include "core/inspector/InjectedScriptManager.h" | 59 #include "core/inspector/InjectedScriptManager.h" |
60 #include "core/inspector/InspectorClient.h" | 60 #include "core/inspector/InspectorClient.h" |
61 #include "core/inspector/InspectorInstrumentation.h" | 61 #include "core/inspector/InspectorInstrumentation.h" |
62 #include "core/inspector/InspectorOverlay.h" | 62 #include "core/inspector/InspectorOverlay.h" |
63 #include "core/inspector/InspectorState.h" | 63 #include "core/inspector/InspectorState.h" |
64 #include "core/inspector/InstrumentingAgents.h" | 64 #include "core/inspector/InstrumentingAgents.h" |
65 #include "core/loader/CookieJar.h" | 65 #include "core/loader/CookieJar.h" |
(...skipping 1205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1271 } | 1271 } |
1272 | 1272 |
1273 void InspectorPageAgent::setShowViewportSizeOnResize(ErrorString*, bool show, co
nst bool* showGrid) | 1273 void InspectorPageAgent::setShowViewportSizeOnResize(ErrorString*, bool show, co
nst bool* showGrid) |
1274 { | 1274 { |
1275 m_state->setBoolean(PageAgentState::showSizeOnResize, show); | 1275 m_state->setBoolean(PageAgentState::showSizeOnResize, show); |
1276 m_state->setBoolean(PageAgentState::showGridOnResize, showGrid && *showGrid)
; | 1276 m_state->setBoolean(PageAgentState::showGridOnResize, showGrid && *showGrid)
; |
1277 } | 1277 } |
1278 | 1278 |
1279 } // namespace WebCore | 1279 } // namespace WebCore |
1280 | 1280 |
OLD | NEW |