| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 virtual WebRect visibleContentRect() const OVERRIDE; | 93 virtual WebRect visibleContentRect() const OVERRIDE; |
| 94 virtual bool hasHorizontalScrollbar() const OVERRIDE; | 94 virtual bool hasHorizontalScrollbar() const OVERRIDE; |
| 95 virtual bool hasVerticalScrollbar() const OVERRIDE; | 95 virtual bool hasVerticalScrollbar() const OVERRIDE; |
| 96 virtual WebView* view() const OVERRIDE; | 96 virtual WebView* view() const OVERRIDE; |
| 97 virtual WebFrame* opener() const OVERRIDE; | 97 virtual WebFrame* opener() const OVERRIDE; |
| 98 virtual void setOpener(const WebFrame*) OVERRIDE; | 98 virtual void setOpener(const WebFrame*) OVERRIDE; |
| 99 virtual void appendChild(WebFrame*) OVERRIDE; | 99 virtual void appendChild(WebFrame*) OVERRIDE; |
| 100 virtual void removeChild(WebFrame*) OVERRIDE; | 100 virtual void removeChild(WebFrame*) OVERRIDE; |
| 101 virtual WebFrame* parent() const OVERRIDE; | 101 virtual WebFrame* parent() const OVERRIDE; |
| 102 virtual WebFrame* top() const OVERRIDE; | 102 virtual WebFrame* top() const OVERRIDE; |
| 103 virtual WebFrame* previousSibling() const OVERRIDE; |
| 104 virtual WebFrame* nextSibling() const OVERRIDE; |
| 103 virtual WebFrame* firstChild() const OVERRIDE; | 105 virtual WebFrame* firstChild() const OVERRIDE; |
| 104 virtual WebFrame* lastChild() const OVERRIDE; | 106 virtual WebFrame* lastChild() const OVERRIDE; |
| 105 virtual WebFrame* nextSibling() const OVERRIDE; | 107 virtual WebFrame* traversePrevious(bool wrap) const OVERRIDE; |
| 106 virtual WebFrame* previousSibling() const OVERRIDE; | |
| 107 virtual WebFrame* traverseNext(bool wrap) const OVERRIDE; | 108 virtual WebFrame* traverseNext(bool wrap) const OVERRIDE; |
| 108 virtual WebFrame* traversePrevious(bool wrap) const OVERRIDE; | |
| 109 virtual WebFrame* findChildByName(const WebString&) const OVERRIDE; | 109 virtual WebFrame* findChildByName(const WebString&) const OVERRIDE; |
| 110 virtual WebFrame* findChildByExpression(const WebString&) const OVERRIDE; | 110 virtual WebFrame* findChildByExpression(const WebString&) const OVERRIDE; |
| 111 virtual WebDocument document() const OVERRIDE; | 111 virtual WebDocument document() const OVERRIDE; |
| 112 virtual WebPerformance performance() const OVERRIDE; | 112 virtual WebPerformance performance() const OVERRIDE; |
| 113 virtual NPObject* windowObject() const OVERRIDE; | 113 virtual NPObject* windowObject() const OVERRIDE; |
| 114 virtual void bindToWindowObject(const WebString& name, NPObject*) OVERRIDE; | 114 virtual void bindToWindowObject(const WebString& name, NPObject*) OVERRIDE; |
| 115 virtual void bindToWindowObject(const WebString& name, NPObject*, void*) OVE
RRIDE; | 115 virtual void bindToWindowObject(const WebString& name, NPObject*, void*) OVE
RRIDE; |
| 116 virtual void executeScript(const WebScriptSource&) OVERRIDE; | 116 virtual void executeScript(const WebScriptSource&) OVERRIDE; |
| 117 virtual void executeScriptInIsolatedWorld( | 117 virtual void executeScriptInIsolatedWorld( |
| 118 int worldID, const WebScriptSource* sources, unsigned numSources, | 118 int worldID, const WebScriptSource* sources, unsigned numSources, |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 setFrameLoaderClient(&m_frameLoaderClientImpl); | 434 setFrameLoaderClient(&m_frameLoaderClientImpl); |
| 435 } | 435 } |
| 436 | 436 |
| 437 FrameLoaderClientImpl m_frameLoaderClientImpl; | 437 FrameLoaderClientImpl m_frameLoaderClientImpl; |
| 438 }; | 438 }; |
| 439 RefPtr<WebFrameInit> m_frameInit; | 439 RefPtr<WebFrameInit> m_frameInit; |
| 440 | 440 |
| 441 // The embedder retains a reference to the WebCore Frame while it is active
in the DOM. This | 441 // The embedder retains a reference to the WebCore Frame while it is active
in the DOM. This |
| 442 // reference is released when the frame is removed from the DOM or the entir
e page is closed. | 442 // reference is released when the frame is removed from the DOM or the entir
e page is closed. |
| 443 RefPtr<WebCore::Frame> m_frame; | 443 RefPtr<WebCore::Frame> m_frame; |
| 444 WebFrameImpl* m_parent; |
| 445 WebFrameImpl* m_previousSibling; |
| 446 WebFrameImpl* m_nextSibling; |
| 447 WebFrameImpl* m_firstChild; |
| 448 WebFrameImpl* m_lastChild; |
| 444 | 449 |
| 445 WebFrameClient* m_client; | 450 WebFrameClient* m_client; |
| 446 WebPermissionClient* m_permissionClient; | 451 WebPermissionClient* m_permissionClient; |
| 447 OwnPtr<SharedWorkerRepositoryClientImpl> m_sharedWorkerRepositoryClient; | 452 OwnPtr<SharedWorkerRepositoryClientImpl> m_sharedWorkerRepositoryClient; |
| 448 | 453 |
| 449 // A way for the main frame to keep track of which frame has an active | 454 // A way for the main frame to keep track of which frame has an active |
| 450 // match. Should be 0 for all other frames. | 455 // match. Should be 0 for all other frames. |
| 451 WebFrameImpl* m_currentActiveMatchFrame; | 456 WebFrameImpl* m_currentActiveMatchFrame; |
| 452 | 457 |
| 453 // The range of the active match for the current frame. | 458 // The range of the active match for the current frame. |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 526 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. | 531 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. |
| 527 WebCore::IntSize m_inputEventsOffsetForEmulation; | 532 WebCore::IntSize m_inputEventsOffsetForEmulation; |
| 528 float m_inputEventsScaleFactorForEmulation; | 533 float m_inputEventsScaleFactorForEmulation; |
| 529 }; | 534 }; |
| 530 | 535 |
| 531 DEFINE_TYPE_CASTS(WebFrameImpl, WebFrame, frame, true, true); | 536 DEFINE_TYPE_CASTS(WebFrameImpl, WebFrame, frame, true, true); |
| 532 | 537 |
| 533 } // namespace blink | 538 } // namespace blink |
| 534 | 539 |
| 535 #endif | 540 #endif |
| OLD | NEW |