| 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex
tNormal) const override; | 217 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex
tNormal) const override; |
| 218 virtual WebString markerTextForListItem(const WebElement&) const override; | 218 virtual WebString markerTextForListItem(const WebElement&) const override; |
| 219 virtual WebRect selectionBoundsRect() const override; | 219 virtual WebRect selectionBoundsRect() const override; |
| 220 | 220 |
| 221 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const
override; | 221 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const
override; |
| 222 virtual WebString layerTreeAsText(bool showDebugInfo = false) const override
; | 222 virtual WebString layerTreeAsText(bool showDebugInfo = false) const override
; |
| 223 | 223 |
| 224 // WebLocalFrame methods: | 224 // WebLocalFrame methods: |
| 225 virtual void initializeToReplaceRemoteFrame(WebRemoteFrame*) override; | 225 virtual void initializeToReplaceRemoteFrame(WebRemoteFrame*) override; |
| 226 virtual void setAutofillClient(WebAutofillClient*) override; | 226 virtual void setAutofillClient(WebAutofillClient*) override; |
| 227 virtual WebAutofillClient* autofillClient() override; |
| 227 virtual void sendPings(const WebNode& linkNode, const WebURL& destinationURL
) override; | 228 virtual void sendPings(const WebNode& linkNode, const WebURL& destinationURL
) override; |
| 228 virtual bool isLoading() const override; | 229 virtual bool isLoading() const override; |
| 229 virtual bool isResourceLoadInProgress() const override; | 230 virtual bool isResourceLoadInProgress() const override; |
| 230 virtual void addStyleSheetByURL(const WebString& url) override; | 231 virtual void addStyleSheetByURL(const WebString& url) override; |
| 231 virtual void navigateToSandboxedMarkup(const WebData& markup) override; | 232 virtual void navigateToSandboxedMarkup(const WebData& markup) override; |
| 232 virtual void sendOrientationChangeEvent() override; | 233 virtual void sendOrientationChangeEvent() override; |
| 233 virtual v8::Handle<v8::Value> executeScriptAndReturnValueForTests( | 234 virtual v8::Handle<v8::Value> executeScriptAndReturnValueForTests( |
| 234 const WebScriptSource&) override; | 235 const WebScriptSource&) override; |
| 235 | 236 |
| 236 void willDetachParent(); | 237 void willDetachParent(); |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 | 290 |
| 290 // Sets whether the WebLocalFrameImpl allows its document to be scrolled. | 291 // Sets whether the WebLocalFrameImpl allows its document to be scrolled. |
| 291 // If the parameter is true, allow the document to be scrolled. | 292 // If the parameter is true, allow the document to be scrolled. |
| 292 // Otherwise, disallow scrolling. | 293 // Otherwise, disallow scrolling. |
| 293 virtual void setCanHaveScrollbars(bool) override; | 294 virtual void setCanHaveScrollbars(bool) override; |
| 294 | 295 |
| 295 LocalFrame* frame() const { return m_frame.get(); } | 296 LocalFrame* frame() const { return m_frame.get(); } |
| 296 WebFrameClient* client() const { return m_client; } | 297 WebFrameClient* client() const { return m_client; } |
| 297 void setClient(WebFrameClient* client) { m_client = client; } | 298 void setClient(WebFrameClient* client) { m_client = client; } |
| 298 | 299 |
| 299 WebAutofillClient* autofillClient() { return m_autofillClient; } | |
| 300 WebPermissionClient* permissionClient() { return m_permissionClient; } | 300 WebPermissionClient* permissionClient() { return m_permissionClient; } |
| 301 SharedWorkerRepositoryClientImpl* sharedWorkerRepositoryClient() const { ret
urn m_sharedWorkerRepositoryClient.get(); } | 301 SharedWorkerRepositoryClientImpl* sharedWorkerRepositoryClient() const { ret
urn m_sharedWorkerRepositoryClient.get(); } |
| 302 | 302 |
| 303 void setInputEventsTransformForEmulation(const IntSize&, float); | 303 void setInputEventsTransformForEmulation(const IntSize&, float); |
| 304 | 304 |
| 305 static void selectWordAroundPosition(LocalFrame*, VisiblePosition); | 305 static void selectWordAroundPosition(LocalFrame*, VisiblePosition); |
| 306 | 306 |
| 307 // Returns the text finder object if it already exists. | 307 // Returns the text finder object if it already exists. |
| 308 // Otherwise creates it and then returns. | 308 // Otherwise creates it and then returns. |
| 309 TextFinder& ensureTextFinder(); | 309 TextFinder& ensureTextFinder(); |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 GC_PLUGIN_IGNORE("340522") | 370 GC_PLUGIN_IGNORE("340522") |
| 371 Persistent<WebLocalFrameImpl> m_selfKeepAlive; | 371 Persistent<WebLocalFrameImpl> m_selfKeepAlive; |
| 372 #endif | 372 #endif |
| 373 }; | 373 }; |
| 374 | 374 |
| 375 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 375 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 376 | 376 |
| 377 } // namespace blink | 377 } // namespace blink |
| 378 | 378 |
| 379 #endif | 379 #endif |
| OLD | NEW |