| 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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 void SetFindEndstateFocusAndSelection(); | 384 void SetFindEndstateFocusAndSelection(); |
| 385 | 385 |
| 386 void DidFail(const ResourceError&, bool was_provisional, HistoryCommitType); | 386 void DidFail(const ResourceError&, bool was_provisional, HistoryCommitType); |
| 387 void DidFinish(); | 387 void DidFinish(); |
| 388 | 388 |
| 389 // Sets whether the WebLocalFrameImpl allows its document to be scrolled. | 389 // Sets whether the WebLocalFrameImpl allows its document to be scrolled. |
| 390 // If the parameter is true, allow the document to be scrolled. | 390 // If the parameter is true, allow the document to be scrolled. |
| 391 // Otherwise, disallow scrolling. | 391 // Otherwise, disallow scrolling. |
| 392 void SetCanHaveScrollbars(bool) override; | 392 void SetCanHaveScrollbars(bool) override; |
| 393 | 393 |
| 394 WebFrameClient* Client() const { return client_; } | 394 WebFrameClient* Client() const override { return client_; } |
| 395 void SetClient(WebFrameClient* client) { client_ = client; } | 395 void SetClient(WebFrameClient* client) { client_ = client; } |
| 396 | 396 |
| 397 ContentSettingsClient& GetContentSettingsClient() { | 397 ContentSettingsClient& GetContentSettingsClient() { |
| 398 return content_settings_client_; | 398 return content_settings_client_; |
| 399 } | 399 } |
| 400 | 400 |
| 401 SharedWorkerRepositoryClientImpl* SharedWorkerRepositoryClient() const { | 401 SharedWorkerRepositoryClientImpl* SharedWorkerRepositoryClient() const { |
| 402 return shared_worker_repository_client_.get(); | 402 return shared_worker_repository_client_.get(); |
| 403 } | 403 } |
| 404 | 404 |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 519 | 519 |
| 520 DEFINE_TYPE_CASTS(WebLocalFrameImpl, | 520 DEFINE_TYPE_CASTS(WebLocalFrameImpl, |
| 521 WebFrame, | 521 WebFrame, |
| 522 frame, | 522 frame, |
| 523 frame->IsWebLocalFrame(), | 523 frame->IsWebLocalFrame(), |
| 524 frame.IsWebLocalFrame()); | 524 frame.IsWebLocalFrame()); |
| 525 | 525 |
| 526 } // namespace blink | 526 } // namespace blink |
| 527 | 527 |
| 528 #endif | 528 #endif |
| OLD | NEW |