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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 virtual WebFrame* previousSibling() const OVERRIDE; | 106 virtual WebFrame* previousSibling() const OVERRIDE; |
107 virtual WebFrame* nextSibling() const OVERRIDE; | 107 virtual WebFrame* nextSibling() const OVERRIDE; |
108 virtual WebFrame* firstChild() const OVERRIDE; | 108 virtual WebFrame* firstChild() const OVERRIDE; |
109 virtual WebFrame* lastChild() const OVERRIDE; | 109 virtual WebFrame* lastChild() const OVERRIDE; |
110 virtual WebFrame* traversePrevious(bool wrap) const OVERRIDE; | 110 virtual WebFrame* traversePrevious(bool wrap) const OVERRIDE; |
111 virtual WebFrame* traverseNext(bool wrap) const OVERRIDE; | 111 virtual WebFrame* traverseNext(bool wrap) const OVERRIDE; |
112 virtual WebFrame* findChildByName(const WebString&) const OVERRIDE; | 112 virtual WebFrame* findChildByName(const WebString&) const OVERRIDE; |
113 virtual WebFrame* findChildByExpression(const WebString&) const OVERRIDE; | 113 virtual WebFrame* findChildByExpression(const WebString&) const OVERRIDE; |
114 virtual WebDocument document() const OVERRIDE; | 114 virtual WebDocument document() const OVERRIDE; |
115 virtual WebPerformance performance() const OVERRIDE; | 115 virtual WebPerformance performance() const OVERRIDE; |
| 116 virtual bool dispatchBeforeUnloadEvent() OVERRIDE; |
116 virtual NPObject* windowObject() const OVERRIDE; | 117 virtual NPObject* windowObject() const OVERRIDE; |
117 virtual void bindToWindowObject(const WebString& name, NPObject*) OVERRIDE; | 118 virtual void bindToWindowObject(const WebString& name, NPObject*) OVERRIDE; |
118 virtual void bindToWindowObject(const WebString& name, NPObject*, void*) OVE
RRIDE; | 119 virtual void bindToWindowObject(const WebString& name, NPObject*, void*) OVE
RRIDE; |
119 virtual void executeScript(const WebScriptSource&) OVERRIDE; | 120 virtual void executeScript(const WebScriptSource&) OVERRIDE; |
120 virtual void executeScriptInIsolatedWorld( | 121 virtual void executeScriptInIsolatedWorld( |
121 int worldID, const WebScriptSource* sources, unsigned numSources, | 122 int worldID, const WebScriptSource* sources, unsigned numSources, |
122 int extensionGroup) OVERRIDE; | 123 int extensionGroup) OVERRIDE; |
123 virtual void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOr
igin&) OVERRIDE; | 124 virtual void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOr
igin&) OVERRIDE; |
124 virtual void setIsolatedWorldContentSecurityPolicy(int worldID, const WebStr
ing&) OVERRIDE; | 125 virtual void setIsolatedWorldContentSecurityPolicy(int worldID, const WebStr
ing&) OVERRIDE; |
125 virtual void addMessageToConsole(const WebConsoleMessage&) OVERRIDE; | 126 virtual void addMessageToConsole(const WebConsoleMessage&) OVERRIDE; |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. | 518 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. |
518 WebCore::IntSize m_inputEventsOffsetForEmulation; | 519 WebCore::IntSize m_inputEventsOffsetForEmulation; |
519 float m_inputEventsScaleFactorForEmulation; | 520 float m_inputEventsScaleFactorForEmulation; |
520 }; | 521 }; |
521 | 522 |
522 DEFINE_TYPE_CASTS(WebFrameImpl, WebFrame, frame, true, true); | 523 DEFINE_TYPE_CASTS(WebFrameImpl, WebFrame, frame, true, true); |
523 | 524 |
524 } // namespace blink | 525 } // namespace blink |
525 | 526 |
526 #endif | 527 #endif |
OLD | NEW |