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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 #include "core/page/Page.h" | 47 #include "core/page/Page.h" |
48 #include "core/frame/Settings.h" | 48 #include "core/frame/Settings.h" |
49 #include "core/rendering/RenderBoxModelObject.h" | 49 #include "core/rendering/RenderBoxModelObject.h" |
50 #include "core/rendering/RenderInline.h" | 50 #include "core/rendering/RenderInline.h" |
51 #include "core/rendering/RenderObject.h" | 51 #include "core/rendering/RenderObject.h" |
52 #include "core/rendering/style/RenderStyleConstants.h" | 52 #include "core/rendering/style/RenderStyleConstants.h" |
53 #include "platform/JSONValues.h" | 53 #include "platform/JSONValues.h" |
54 #include "platform/PlatformMouseEvent.h" | 54 #include "platform/PlatformMouseEvent.h" |
55 #include "platform/graphics/GraphicsContextStateSaver.h" | 55 #include "platform/graphics/GraphicsContextStateSaver.h" |
56 #include "wtf/text/StringBuilder.h" | 56 #include "wtf/text/StringBuilder.h" |
| 57 #include <v8.h> |
57 | 58 |
58 namespace WebCore { | 59 namespace WebCore { |
59 | 60 |
60 namespace { | 61 namespace { |
61 | 62 |
62 struct PathApplyInfo { | 63 struct PathApplyInfo { |
63 FrameView* rootView; | 64 FrameView* rootView; |
64 FrameView* view; | 65 FrameView* view; |
65 TypeBuilder::Array<JSONValue>* array; | 66 TypeBuilder::Array<JSONValue>* array; |
66 RenderObject* renderer; | 67 RenderObject* renderer; |
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
786 hideHighlight(); | 787 hideHighlight(); |
787 } | 788 } |
788 | 789 |
789 void InspectorOverlay::startedRecordingProfile() | 790 void InspectorOverlay::startedRecordingProfile() |
790 { | 791 { |
791 if (!m_activeProfilerCount++) | 792 if (!m_activeProfilerCount++) |
792 freePage(); | 793 freePage(); |
793 } | 794 } |
794 | 795 |
795 } // namespace WebCore | 796 } // namespace WebCore |
OLD | NEW |