| 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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 | 388 |
| 389 ContentSettingsClient& GetContentSettingsClient() override { | 389 ContentSettingsClient& GetContentSettingsClient() override { |
| 390 return content_settings_client_; | 390 return content_settings_client_; |
| 391 }; | 391 }; |
| 392 | 392 |
| 393 SharedWorkerRepositoryClientImpl* SharedWorkerRepositoryClient() | 393 SharedWorkerRepositoryClientImpl* SharedWorkerRepositoryClient() |
| 394 const override { | 394 const override { |
| 395 return shared_worker_repository_client_.get(); | 395 return shared_worker_repository_client_.get(); |
| 396 } | 396 } |
| 397 | 397 |
| 398 void SetInputEventsTransformForEmulation(const IntSize&, float); | 398 void SetInputEventsTransformForEmulation(const IntSize&, float) override; |
| 399 | 399 |
| 400 static void SelectWordAroundPosition(LocalFrame*, VisiblePosition); | 400 static void SelectWordAroundPosition(LocalFrame*, VisiblePosition); |
| 401 | 401 |
| 402 TextCheckerClient& GetTextCheckerClient() const override; | 402 TextCheckerClient& GetTextCheckerClient() const override; |
| 403 WebTextCheckClient* TextCheckClient() const override { | 403 WebTextCheckClient* TextCheckClient() const override { |
| 404 return text_check_client_; | 404 return text_check_client_; |
| 405 } | 405 } |
| 406 | 406 |
| 407 TextFinder* GetTextFinder() const; | 407 TextFinder* GetTextFinder() const override; |
| 408 // Returns the text finder object if it already exists. | 408 // Returns the text finder object if it already exists. |
| 409 // Otherwise creates it and then returns. | 409 // Otherwise creates it and then returns. |
| 410 TextFinder& EnsureTextFinder() override; | 410 TextFinder& EnsureTextFinder() override; |
| 411 | 411 |
| 412 // Returns a hit-tested VisiblePosition for the given point | 412 // Returns a hit-tested VisiblePosition for the given point |
| 413 VisiblePosition VisiblePositionForViewportPoint(const WebPoint&); | 413 VisiblePosition VisiblePositionForViewportPoint(const WebPoint&); |
| 414 | 414 |
| 415 void SetFrameWidget(WebFrameWidgetBase*) override; | 415 void SetFrameWidget(WebFrameWidgetBase*) override; |
| 416 | 416 |
| 417 // DevTools front-end bindings. | 417 // DevTools front-end bindings. |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 | 516 |
| 517 DEFINE_TYPE_CASTS(WebLocalFrameImpl, | 517 DEFINE_TYPE_CASTS(WebLocalFrameImpl, |
| 518 WebFrame, | 518 WebFrame, |
| 519 frame, | 519 frame, |
| 520 frame->IsWebLocalFrame(), | 520 frame->IsWebLocalFrame(), |
| 521 frame.IsWebLocalFrame()); | 521 frame.IsWebLocalFrame()); |
| 522 | 522 |
| 523 } // namespace blink | 523 } // namespace blink |
| 524 | 524 |
| 525 #endif | 525 #endif |
| OLD | NEW |