| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 WebSize scrollOffset() const override; | 89 WebSize scrollOffset() const override; |
| 90 void setScrollOffset(const WebSize&) override; | 90 void setScrollOffset(const WebSize&) override; |
| 91 WebSize contentsSize() const override; | 91 WebSize contentsSize() const override; |
| 92 bool hasVisibleContent() const override; | 92 bool hasVisibleContent() const override; |
| 93 WebRect visibleContentRect() const override; | 93 WebRect visibleContentRect() const override; |
| 94 bool hasHorizontalScrollbar() const override; | 94 bool hasHorizontalScrollbar() const override; |
| 95 bool hasVerticalScrollbar() const override; | 95 bool hasVerticalScrollbar() const override; |
| 96 WebView* view() const override; | 96 WebView* view() const override; |
| 97 WebDocument document() const override; | 97 WebDocument document() const override; |
| 98 WebPerformance performance() const override; | 98 WebPerformance performance() const override; |
| 99 bool dispatchBeforeUnloadEvent() override; | |
| 100 void dispatchUnloadEvent() override; | 99 void dispatchUnloadEvent() override; |
| 101 void executeScript(const WebScriptSource&) override; | 100 void executeScript(const WebScriptSource&) override; |
| 102 void executeScriptInIsolatedWorld( | 101 void executeScriptInIsolatedWorld( |
| 103 int worldID, const WebScriptSource* sources, unsigned numSources, | 102 int worldID, const WebScriptSource* sources, unsigned numSources, |
| 104 int extensionGroup) override; | 103 int extensionGroup) override; |
| 105 void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOrigin&) o
verride; | 104 void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOrigin&) o
verride; |
| 106 void setIsolatedWorldContentSecurityPolicy(int worldID, const WebString&) ov
erride; | 105 void setIsolatedWorldContentSecurityPolicy(int worldID, const WebString&) ov
erride; |
| 107 void setIsolatedWorldHumanReadableName(int worldID, const WebString&) overri
de; | 106 void setIsolatedWorldHumanReadableName(int worldID, const WebString&) overri
de; |
| 108 void addMessageToConsole(const WebConsoleMessage&) override; | 107 void addMessageToConsole(const WebConsoleMessage&) override; |
| 109 void collectGarbage() override; | 108 void collectGarbage() override; |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 | 199 |
| 201 // WebLocalFrame methods: | 200 // WebLocalFrame methods: |
| 202 void setAutofillClient(WebAutofillClient*) override; | 201 void setAutofillClient(WebAutofillClient*) override; |
| 203 WebAutofillClient* autofillClient() override; | 202 WebAutofillClient* autofillClient() override; |
| 204 void setDevToolsAgentClient(WebDevToolsAgentClient*) override; | 203 void setDevToolsAgentClient(WebDevToolsAgentClient*) override; |
| 205 WebDevToolsAgent* devToolsAgent() override; | 204 WebDevToolsAgent* devToolsAgent() override; |
| 206 WebLocalFrameImpl* localRoot() override; | 205 WebLocalFrameImpl* localRoot() override; |
| 207 WebLocalFrame* traversePreviousLocal(bool wrap) const override; | 206 WebLocalFrame* traversePreviousLocal(bool wrap) const override; |
| 208 WebLocalFrame* traverseNextLocal(bool wrap) const override; | 207 WebLocalFrame* traverseNextLocal(bool wrap) const override; |
| 209 void sendPings(const WebURL& destinationURL) override; | 208 void sendPings(const WebURL& destinationURL) override; |
| 209 bool dispatchBeforeUnloadEvent(bool) override; |
| 210 WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebCachePolicy)
const override; | 210 WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebCachePolicy)
const override; |
| 211 WebURLRequest requestForReload(WebFrameLoadType, const WebURL&) const overri
de; | 211 WebURLRequest requestForReload(WebFrameLoadType, const WebURL&) const overri
de; |
| 212 void load(const WebURLRequest&, WebFrameLoadType, const WebHistoryItem&, | 212 void load(const WebURLRequest&, WebFrameLoadType, const WebHistoryItem&, |
| 213 WebHistoryLoadType, bool isClientRedirect) override; | 213 WebHistoryLoadType, bool isClientRedirect) override; |
| 214 void loadData( | 214 void loadData( |
| 215 const WebData&, const WebString& mimeType, const WebString& textEncoding
, | 215 const WebData&, const WebString& mimeType, const WebString& textEncoding
, |
| 216 const WebURL& baseURL, const WebURL& unreachableURL, bool replace, WebFr
ameLoadType, | 216 const WebURL& baseURL, const WebURL& unreachableURL, bool replace, WebFr
ameLoadType, |
| 217 const WebHistoryItem&, WebHistoryLoadType, bool isClientRedirect) overri
de; | 217 const WebHistoryItem&, WebHistoryLoadType, bool isClientRedirect) overri
de; |
| 218 bool isLoading() const override; | 218 bool isLoading() const override; |
| 219 bool isNavigationScheduledWithin(double interval) const override; | 219 bool isNavigationScheduledWithin(double interval) const override; |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 // Accomplish that by keeping a self-referential Persistent<>. It is | 389 // Accomplish that by keeping a self-referential Persistent<>. It is |
| 390 // cleared upon close(). | 390 // cleared upon close(). |
| 391 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; | 391 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; |
| 392 }; | 392 }; |
| 393 | 393 |
| 394 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 394 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 395 | 395 |
| 396 } // namespace blink | 396 } // namespace blink |
| 397 | 397 |
| 398 #endif | 398 #endif |
| OLD | NEW |