| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 bool hasVisibleContent() const override; | 94 bool hasVisibleContent() const override; |
| 95 WebRect visibleContentRect() const override; | 95 WebRect visibleContentRect() const override; |
| 96 bool hasHorizontalScrollbar() const override; | 96 bool hasHorizontalScrollbar() const override; |
| 97 bool hasVerticalScrollbar() const override; | 97 bool hasVerticalScrollbar() const override; |
| 98 WebView* view() const override; | 98 WebView* view() const override; |
| 99 void setOpener(WebFrame*) override; | 99 void setOpener(WebFrame*) override; |
| 100 WebDocument document() const override; | 100 WebDocument document() const override; |
| 101 WebPerformance performance() const override; | 101 WebPerformance performance() const override; |
| 102 bool dispatchBeforeUnloadEvent() override; | 102 bool dispatchBeforeUnloadEvent() override; |
| 103 void dispatchUnloadEvent() override; | 103 void dispatchUnloadEvent() override; |
| 104 NPObject* windowObject() const override; | |
| 105 void bindToWindowObject(const WebString& name, NPObject*) override; | |
| 106 void bindToWindowObject(const WebString& name, NPObject*, void*) override; | |
| 107 void executeScript(const WebScriptSource&) override; | 104 void executeScript(const WebScriptSource&) override; |
| 108 void executeScriptInIsolatedWorld( | 105 void executeScriptInIsolatedWorld( |
| 109 int worldID, const WebScriptSource* sources, unsigned numSources, | 106 int worldID, const WebScriptSource* sources, unsigned numSources, |
| 110 int extensionGroup) override; | 107 int extensionGroup) override; |
| 111 void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOrigin&) o
verride; | 108 void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOrigin&) o
verride; |
| 112 void setIsolatedWorldContentSecurityPolicy(int worldID, const WebString&) ov
erride; | 109 void setIsolatedWorldContentSecurityPolicy(int worldID, const WebString&) ov
erride; |
| 113 void setIsolatedWorldHumanReadableName(int worldID, const WebString&) overri
de; | 110 void setIsolatedWorldHumanReadableName(int worldID, const WebString&) overri
de; |
| 114 void addMessageToConsole(const WebConsoleMessage&) override; | 111 void addMessageToConsole(const WebConsoleMessage&) override; |
| 115 void collectGarbage() override; | 112 void collectGarbage() override; |
| 116 bool checkIfRunInsecureContent(const WebURL&) const override; | 113 bool checkIfRunInsecureContent(const WebURL&) const override; |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 // cleared upon close(). | 406 // cleared upon close(). |
| 410 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; | 407 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; |
| 411 #endif | 408 #endif |
| 412 }; | 409 }; |
| 413 | 410 |
| 414 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 411 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 415 | 412 |
| 416 } // namespace blink | 413 } // namespace blink |
| 417 | 414 |
| 418 #endif | 415 #endif |
| OLD | NEW |