| 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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 | 410 |
| 411 return scale; | 411 return scale; |
| 412 } | 412 } |
| 413 | 413 |
| 414 private: | 414 private: |
| 415 void dispatchEventsForPrintingOnAllFrames() { | 415 void dispatchEventsForPrintingOnAllFrames() { |
| 416 HeapVector<Member<Document>> documents; | 416 HeapVector<Member<Document>> documents; |
| 417 for (Frame* currentFrame = frame(); currentFrame; | 417 for (Frame* currentFrame = frame(); currentFrame; |
| 418 currentFrame = currentFrame->tree().traverseNext(frame())) { | 418 currentFrame = currentFrame->tree().traverseNext(frame())) { |
| 419 if (currentFrame->isLocalFrame()) | 419 if (currentFrame->isLocalFrame()) |
| 420 documents.append(toLocalFrame(currentFrame)->document()); | 420 documents.push_back(toLocalFrame(currentFrame)->document()); |
| 421 } | 421 } |
| 422 | 422 |
| 423 for (auto& doc : documents) | 423 for (auto& doc : documents) |
| 424 doc->dispatchEventsForPrinting(); | 424 doc->dispatchEventsForPrinting(); |
| 425 } | 425 } |
| 426 | 426 |
| 427 // Set when printing. | 427 // Set when printing. |
| 428 float m_printedPageWidth; | 428 float m_printedPageWidth; |
| 429 }; | 429 }; |
| 430 | 430 |
| (...skipping 1930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2361 ->frameScheduler() | 2361 ->frameScheduler() |
| 2362 ->unthrottledTaskRunner() | 2362 ->unthrottledTaskRunner() |
| 2363 ->toSingleThreadTaskRunner(); | 2363 ->toSingleThreadTaskRunner(); |
| 2364 } | 2364 } |
| 2365 | 2365 |
| 2366 WebInputMethodControllerImpl* WebLocalFrameImpl::inputMethodController() const { | 2366 WebInputMethodControllerImpl* WebLocalFrameImpl::inputMethodController() const { |
| 2367 return m_inputMethodController.get(); | 2367 return m_inputMethodController.get(); |
| 2368 } | 2368 } |
| 2369 | 2369 |
| 2370 } // namespace blink | 2370 } // namespace blink |
| OLD | NEW |