| 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 1428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1439 if (!plugin_container || !plugin_container->SupportsPaginatedPrint()) | 1439 if (!plugin_container || !plugin_container->SupportsPaginatedPrint()) |
| 1440 return false; | 1440 return false; |
| 1441 | 1441 |
| 1442 return plugin_container->GetPrintPresetOptionsFromDocument(preset_options); | 1442 return plugin_container->GetPrintPresetOptionsFromDocument(preset_options); |
| 1443 } | 1443 } |
| 1444 | 1444 |
| 1445 bool WebLocalFrameImpl::HasCustomPageSizeStyle(int page_index) { | 1445 bool WebLocalFrameImpl::HasCustomPageSizeStyle(int page_index) { |
| 1446 return GetFrame() | 1446 return GetFrame() |
| 1447 ->GetDocument() | 1447 ->GetDocument() |
| 1448 ->StyleForPage(page_index) | 1448 ->StyleForPage(page_index) |
| 1449 ->GetPageSizeType() != PAGE_SIZE_AUTO; | 1449 ->GetPageSizeType() != PageSizeType::kAuto; |
| 1450 } | 1450 } |
| 1451 | 1451 |
| 1452 bool WebLocalFrameImpl::IsPageBoxVisible(int page_index) { | 1452 bool WebLocalFrameImpl::IsPageBoxVisible(int page_index) { |
| 1453 return GetFrame()->GetDocument()->IsPageBoxVisible(page_index); | 1453 return GetFrame()->GetDocument()->IsPageBoxVisible(page_index); |
| 1454 } | 1454 } |
| 1455 | 1455 |
| 1456 void WebLocalFrameImpl::PageSizeAndMarginsInPixels(int page_index, | 1456 void WebLocalFrameImpl::PageSizeAndMarginsInPixels(int page_index, |
| 1457 WebDoubleSize& page_size, | 1457 WebDoubleSize& page_size, |
| 1458 int& margin_top, | 1458 int& margin_top, |
| 1459 int& margin_right, | 1459 int& margin_right, |
| (...skipping 1122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2582 TextCheckerClient& WebLocalFrameImpl::GetTextCheckerClient() const { | 2582 TextCheckerClient& WebLocalFrameImpl::GetTextCheckerClient() const { |
| 2583 return *text_checker_client_; | 2583 return *text_checker_client_; |
| 2584 } | 2584 } |
| 2585 | 2585 |
| 2586 void WebLocalFrameImpl::SetTextCheckClient( | 2586 void WebLocalFrameImpl::SetTextCheckClient( |
| 2587 WebTextCheckClient* text_check_client) { | 2587 WebTextCheckClient* text_check_client) { |
| 2588 text_check_client_ = text_check_client; | 2588 text_check_client_ = text_check_client; |
| 2589 } | 2589 } |
| 2590 | 2590 |
| 2591 } // namespace blink | 2591 } // namespace blink |
| OLD | NEW |