| 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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 bool WebURLRequest::checkForBrowserSideNavigation() const | 437 bool WebURLRequest::checkForBrowserSideNavigation() const |
| 438 { | 438 { |
| 439 return m_private->m_resourceRequest->checkForBrowserSideNavigation(); | 439 return m_private->m_resourceRequest->checkForBrowserSideNavigation(); |
| 440 } | 440 } |
| 441 | 441 |
| 442 void WebURLRequest::setCheckForBrowserSideNavigation(bool check) | 442 void WebURLRequest::setCheckForBrowserSideNavigation(bool check) |
| 443 { | 443 { |
| 444 m_private->m_resourceRequest->setCheckForBrowserSideNavigation(check); | 444 m_private->m_resourceRequest->setCheckForBrowserSideNavigation(check); |
| 445 } | 445 } |
| 446 | 446 |
| 447 void WebURLRequest::setBypassBeforeUnload(bool bypass) |
| 448 { |
| 449 m_private->m_resourceRequest->setBypassBeforeUnload(bypass); |
| 450 } |
| 451 |
| 447 double WebURLRequest::uiStartTime() const | 452 double WebURLRequest::uiStartTime() const |
| 448 { | 453 { |
| 449 return m_private->m_resourceRequest->uiStartTime(); | 454 return m_private->m_resourceRequest->uiStartTime(); |
| 450 } | 455 } |
| 451 | 456 |
| 452 void WebURLRequest::setUiStartTime(double time) | 457 void WebURLRequest::setUiStartTime(double time) |
| 453 { | 458 { |
| 454 m_private->m_resourceRequest->setUIStartTime(time); | 459 m_private->m_resourceRequest->setUIStartTime(time); |
| 455 } | 460 } |
| 456 | 461 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 485 // Subclasses may call this directly so a self-assignment check is needed | 490 // Subclasses may call this directly so a self-assignment check is needed |
| 486 // here as well as in the public assign method. | 491 // here as well as in the public assign method. |
| 487 if (m_private == p) | 492 if (m_private == p) |
| 488 return; | 493 return; |
| 489 if (m_private) | 494 if (m_private) |
| 490 m_private->dispose(); | 495 m_private->dispose(); |
| 491 m_private = p; | 496 m_private = p; |
| 492 } | 497 } |
| 493 | 498 |
| 494 } // namespace blink | 499 } // namespace blink |
| OLD | NEW |