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