| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
| 3 * 1999-2001 Lars Knoll <knoll@kde.org> | 3 * 1999-2001 Lars Knoll <knoll@kde.org> |
| 4 * 1999-2001 Antti Koivisto <koivisto@kde.org> | 4 * 1999-2001 Antti Koivisto <koivisto@kde.org> |
| 5 * 2000-2001 Simon Hausmann <hausmann@kde.org> | 5 * 2000-2001 Simon Hausmann <hausmann@kde.org> |
| 6 * 2000-2001 Dirk Mueller <mueller@kde.org> | 6 * 2000-2001 Dirk Mueller <mueller@kde.org> |
| 7 * 2000 Stefan Schimanski <1Stein@gmx.de> | 7 * 2000 Stefan Schimanski <1Stein@gmx.de> |
| 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. | 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. |
| 9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 // part of the site-isolation (out of process iframes) work. | 59 // part of the site-isolation (out of process iframes) work. |
| 60 // FrameHost should be used instead where possible. | 60 // FrameHost should be used instead where possible. |
| 61 Page* page() const; | 61 Page* page() const; |
| 62 FrameHost* host() const; // Null when the frame is detached. | 62 FrameHost* host() const; // Null when the frame is detached. |
| 63 | 63 |
| 64 // FIXME: LocalDOMWindow and Document should both be moved to LocalFrame | 64 // FIXME: LocalDOMWindow and Document should both be moved to LocalFrame |
| 65 // after RemoteFrame is complete enough to exist without them. | 65 // after RemoteFrame is complete enough to exist without them. |
| 66 virtual void setDOMWindow(PassRefPtr<LocalDOMWindow>); | 66 virtual void setDOMWindow(PassRefPtr<LocalDOMWindow>); |
| 67 LocalDOMWindow* domWindow() const; | 67 LocalDOMWindow* domWindow() const; |
| 68 | 68 |
| 69 ChromeClient& chromeClient() const; | |
| 70 | |
| 71 Settings* settings() const; // can be null | 69 Settings* settings() const; // can be null |
| 72 | 70 |
| 73 protected: | 71 protected: |
| 74 Frame(FrameClient*, FrameHost*); | 72 Frame(FrameClient*, FrameHost*); |
| 75 | 73 |
| 76 FrameHost* m_host; | 74 FrameHost* m_host; |
| 77 | 75 |
| 78 RefPtr<LocalDOMWindow> m_domWindow; | 76 RefPtr<LocalDOMWindow> m_domWindow; |
| 79 | 77 |
| 80 private: | 78 private: |
| (...skipping 14 matching lines...) Expand all Loading... |
| 95 { | 93 { |
| 96 return m_domWindow.get(); | 94 return m_domWindow.get(); |
| 97 } | 95 } |
| 98 | 96 |
| 99 // Allow equality comparisons of Frames by reference or pointer, interchangeably
. | 97 // Allow equality comparisons of Frames by reference or pointer, interchangeably
. |
| 100 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) | 98 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) |
| 101 | 99 |
| 102 } // namespace blink | 100 } // namespace blink |
| 103 | 101 |
| 104 #endif // SKY_ENGINE_CORE_FRAME_FRAME_H_ | 102 #endif // SKY_ENGINE_CORE_FRAME_FRAME_H_ |
| OLD | NEW |