| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2009 Google Inc. All rights reserved. | 2  * Copyright (C) 2009 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 110 #include "core/html/HTMLInputElement.h" | 110 #include "core/html/HTMLInputElement.h" | 
| 111 #include "core/html/HTMLLinkElement.h" | 111 #include "core/html/HTMLLinkElement.h" | 
| 112 #include "core/html/PluginDocument.h" | 112 #include "core/html/PluginDocument.h" | 
| 113 #include "core/inspector/ConsoleMessage.h" | 113 #include "core/inspector/ConsoleMessage.h" | 
| 114 #include "core/inspector/InspectorController.h" | 114 #include "core/inspector/InspectorController.h" | 
| 115 #include "core/inspector/ScriptCallStack.h" | 115 #include "core/inspector/ScriptCallStack.h" | 
| 116 #include "core/loader/DocumentLoader.h" | 116 #include "core/loader/DocumentLoader.h" | 
| 117 #include "core/loader/FrameLoadRequest.h" | 117 #include "core/loader/FrameLoadRequest.h" | 
| 118 #include "core/loader/FrameLoader.h" | 118 #include "core/loader/FrameLoader.h" | 
| 119 #include "core/loader/HistoryItem.h" | 119 #include "core/loader/HistoryItem.h" | 
|  | 120 #include "core/loader/ManifestLoader.h" | 
| 120 #include "core/loader/SubstituteData.h" | 121 #include "core/loader/SubstituteData.h" | 
| 121 #include "core/page/Chrome.h" | 122 #include "core/page/Chrome.h" | 
| 122 #include "core/page/EventHandler.h" | 123 #include "core/page/EventHandler.h" | 
| 123 #include "core/page/FocusController.h" | 124 #include "core/page/FocusController.h" | 
| 124 #include "core/page/FrameTree.h" | 125 #include "core/page/FrameTree.h" | 
| 125 #include "core/page/Page.h" | 126 #include "core/page/Page.h" | 
| 126 #include "core/page/PrintContext.h" | 127 #include "core/page/PrintContext.h" | 
| 127 #include "core/rendering/HitTestResult.h" | 128 #include "core/rendering/HitTestResult.h" | 
| 128 #include "core/rendering/RenderBox.h" | 129 #include "core/rendering/RenderBox.h" | 
| 129 #include "core/rendering/RenderFrame.h" | 130 #include "core/rendering/RenderFrame.h" | 
| (...skipping 1374 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1504 } | 1505 } | 
| 1505 | 1506 | 
| 1506 WebString WebLocalFrameImpl::layerTreeAsText(bool showDebugInfo) const | 1507 WebString WebLocalFrameImpl::layerTreeAsText(bool showDebugInfo) const | 
| 1507 { | 1508 { | 
| 1508     if (!frame()) | 1509     if (!frame()) | 
| 1509         return WebString(); | 1510         return WebString(); | 
| 1510 | 1511 | 
| 1511     return WebString(frame()->layerTreeAsText(showDebugInfo ? LayerTreeIncludesD
      ebugInfo : LayerTreeNormal)); | 1512     return WebString(frame()->layerTreeAsText(showDebugInfo ? LayerTreeIncludesD
      ebugInfo : LayerTreeNormal)); | 
| 1512 } | 1513 } | 
| 1513 | 1514 | 
|  | 1515 void WebLocalFrameImpl::requestManifest() | 
|  | 1516 { | 
|  | 1517     if (!frame()) { | 
|  | 1518         ASSERT(m_client); | 
|  | 1519         m_client->didFailLoadManifest(this, WebManifestError::NoManifest); | 
|  | 1520         return; | 
|  | 1521     } | 
|  | 1522 | 
|  | 1523     ManifestLoader::loadManifest(PassRefPtr<LocalFrame>(m_frame)); | 
|  | 1524 } | 
|  | 1525 | 
| 1514 // WebLocalFrameImpl public ----------------------------------------------------
      ----- | 1526 // WebLocalFrameImpl public ----------------------------------------------------
      ----- | 
| 1515 | 1527 | 
| 1516 WebLocalFrame* WebLocalFrame::create(WebFrameClient* client) | 1528 WebLocalFrame* WebLocalFrame::create(WebFrameClient* client) | 
| 1517 { | 1529 { | 
| 1518     return WebLocalFrameImpl::create(client); | 1530     return WebLocalFrameImpl::create(client); | 
| 1519 } | 1531 } | 
| 1520 | 1532 | 
| 1521 WebLocalFrameImpl* WebLocalFrameImpl::create(WebFrameClient* client) | 1533 WebLocalFrameImpl* WebLocalFrameImpl::create(WebFrameClient* client) | 
| 1522 { | 1534 { | 
| 1523     return adoptRef(new WebLocalFrameImpl(client)).leakRef(); | 1535     return adoptRef(new WebLocalFrameImpl(client)).leakRef(); | 
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1867 | 1879 | 
| 1868 void WebLocalFrameImpl::invalidateAll() const | 1880 void WebLocalFrameImpl::invalidateAll() const | 
| 1869 { | 1881 { | 
| 1870     ASSERT(frame() && frame()->view()); | 1882     ASSERT(frame() && frame()->view()); | 
| 1871     FrameView* view = frame()->view(); | 1883     FrameView* view = frame()->view(); | 
| 1872     view->invalidateRect(view->frameRect()); | 1884     view->invalidateRect(view->frameRect()); | 
| 1873     invalidateScrollbar(); | 1885     invalidateScrollbar(); | 
| 1874 } | 1886 } | 
| 1875 | 1887 | 
| 1876 } // namespace blink | 1888 } // namespace blink | 
| OLD | NEW | 
|---|