| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 #include "core/loader/DocumentLoader.h" | 42 #include "core/loader/DocumentLoader.h" |
| 43 #include "core/loader/EmptyClients.h" | 43 #include "core/loader/EmptyClients.h" |
| 44 #include "core/page/Chrome.h" | 44 #include "core/page/Chrome.h" |
| 45 #include "core/page/EventHandler.h" | 45 #include "core/page/EventHandler.h" |
| 46 #include "core/page/Frame.h" | 46 #include "core/page/Frame.h" |
| 47 #include "core/page/FrameView.h" | 47 #include "core/page/FrameView.h" |
| 48 #include "core/page/Page.h" | 48 #include "core/page/Page.h" |
| 49 #include "core/page/Settings.h" | 49 #include "core/page/Settings.h" |
| 50 #include "core/platform/JSONValues.h" | 50 #include "core/platform/JSONValues.h" |
| 51 #include "core/platform/PlatformMouseEvent.h" | 51 #include "core/platform/PlatformMouseEvent.h" |
| 52 #include "core/platform/PlatformTouchEvent.h" | |
| 53 #include "core/platform/graphics/GraphicsContextStateSaver.h" | 52 #include "core/platform/graphics/GraphicsContextStateSaver.h" |
| 54 #include "core/rendering/RenderBoxModelObject.h" | 53 #include "core/rendering/RenderBoxModelObject.h" |
| 55 #include "core/rendering/RenderInline.h" | 54 #include "core/rendering/RenderInline.h" |
| 56 #include "core/rendering/RenderObject.h" | 55 #include "core/rendering/RenderObject.h" |
| 57 #include <wtf/text/StringBuilder.h> | 56 #include "wtf/text/StringBuilder.h" |
| 58 | 57 |
| 59 namespace WebCore { | 58 namespace WebCore { |
| 60 | 59 |
| 61 namespace { | 60 namespace { |
| 62 | 61 |
| 63 class InspectorOverlayChromeClient: public EmptyChromeClient { | 62 class InspectorOverlayChromeClient: public EmptyChromeClient { |
| 64 public: | 63 public: |
| 65 InspectorOverlayChromeClient(ChromeClient* client, InspectorOverlay* overlay
) | 64 InspectorOverlayChromeClient(ChromeClient* client, InspectorOverlay* overlay
) |
| 66 : m_client(client) | 65 : m_client(client) |
| 67 , m_overlay(overlay) | 66 , m_overlay(overlay) |
| (...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 634 | 633 |
| 635 void InspectorOverlay::freePage() | 634 void InspectorOverlay::freePage() |
| 636 { | 635 { |
| 637 m_overlayPage.clear(); | 636 m_overlayPage.clear(); |
| 638 m_overlayChromeClient.clear(); | 637 m_overlayChromeClient.clear(); |
| 639 m_timer.stop(); | 638 m_timer.stop(); |
| 640 } | 639 } |
| 641 | 640 |
| 642 } // namespace WebCore | 641 } // namespace WebCore |
| 643 | 642 |
| OLD | NEW |