| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
| 3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
| 4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
| 5 * 2000 Simon Hausmann <hausmann@kde.org> | 5 * 2000 Simon Hausmann <hausmann@kde.org> |
| 6 * 2000 Stefan Schimanski <1Stein@gmx.de> | 6 * 2000 Stefan Schimanski <1Stein@gmx.de> |
| 7 * 2001 George Staikos <staikos@kde.org> | 7 * 2001 George Staikos <staikos@kde.org> |
| 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All | 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All |
| 9 * rights reserved. | 9 * rights reserved. |
| 10 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com> | 10 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com> |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 #include "platform/RuntimeEnabledFeatures.h" | 85 #include "platform/RuntimeEnabledFeatures.h" |
| 86 #include "platform/ScriptForbiddenScope.h" | 86 #include "platform/ScriptForbiddenScope.h" |
| 87 #include "platform/WebFrameScheduler.h" | 87 #include "platform/WebFrameScheduler.h" |
| 88 #include "platform/graphics/GraphicsContext.h" | 88 #include "platform/graphics/GraphicsContext.h" |
| 89 #include "platform/graphics/StaticBitmapImage.h" | 89 #include "platform/graphics/StaticBitmapImage.h" |
| 90 #include "platform/graphics/paint/ClipRecorder.h" | 90 #include "platform/graphics/paint/ClipRecorder.h" |
| 91 #include "platform/graphics/paint/PaintCanvas.h" | 91 #include "platform/graphics/paint/PaintCanvas.h" |
| 92 #include "platform/graphics/paint/PaintController.h" | 92 #include "platform/graphics/paint/PaintController.h" |
| 93 #include "platform/graphics/paint/PaintRecordBuilder.h" | 93 #include "platform/graphics/paint/PaintRecordBuilder.h" |
| 94 #include "platform/graphics/paint/TransformDisplayItem.h" | 94 #include "platform/graphics/paint/TransformDisplayItem.h" |
| 95 #include "platform/instrumentation/resource_coordinator/FrameResourceCoordinator
.h" |
| 95 #include "platform/json/JSONValues.h" | 96 #include "platform/json/JSONValues.h" |
| 96 #include "platform/loader/fetch/FetchParameters.h" | 97 #include "platform/loader/fetch/FetchParameters.h" |
| 97 #include "platform/loader/fetch/ResourceFetcher.h" | 98 #include "platform/loader/fetch/ResourceFetcher.h" |
| 98 #include "platform/loader/fetch/ResourceRequest.h" | 99 #include "platform/loader/fetch/ResourceRequest.h" |
| 99 #include "platform/plugins/PluginData.h" | 100 #include "platform/plugins/PluginData.h" |
| 100 #include "platform/scheduler/renderer/web_view_scheduler.h" | 101 #include "platform/scheduler/renderer/web_view_scheduler.h" |
| 101 #include "platform/text/TextStream.h" | 102 #include "platform/text/TextStream.h" |
| 102 #include "platform/wtf/PtrUtil.h" | 103 #include "platform/wtf/PtrUtil.h" |
| 103 #include "platform/wtf/StdLibExtras.h" | 104 #include "platform/wtf/StdLibExtras.h" |
| 104 #include "public/platform/InterfaceProvider.h" | 105 #include "public/platform/InterfaceProvider.h" |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 visitor->Trace(view_); | 364 visitor->Trace(view_); |
| 364 visitor->Trace(dom_window_); | 365 visitor->Trace(dom_window_); |
| 365 visitor->Trace(page_popup_owner_); | 366 visitor->Trace(page_popup_owner_); |
| 366 visitor->Trace(script_controller_); | 367 visitor->Trace(script_controller_); |
| 367 visitor->Trace(editor_); | 368 visitor->Trace(editor_); |
| 368 visitor->Trace(spell_checker_); | 369 visitor->Trace(spell_checker_); |
| 369 visitor->Trace(selection_); | 370 visitor->Trace(selection_); |
| 370 visitor->Trace(event_handler_); | 371 visitor->Trace(event_handler_); |
| 371 visitor->Trace(console_); | 372 visitor->Trace(console_); |
| 372 visitor->Trace(input_method_controller_); | 373 visitor->Trace(input_method_controller_); |
| 374 visitor->Trace(frame_resource_coordinator_); |
| 373 Frame::Trace(visitor); | 375 Frame::Trace(visitor); |
| 374 Supplementable<LocalFrame>::Trace(visitor); | 376 Supplementable<LocalFrame>::Trace(visitor); |
| 375 } | 377 } |
| 376 | 378 |
| 377 void LocalFrame::Navigate(Document& origin_document, | 379 void LocalFrame::Navigate(Document& origin_document, |
| 378 const KURL& url, | 380 const KURL& url, |
| 379 bool replace_current_item, | 381 bool replace_current_item, |
| 380 UserGestureStatus user_gesture_status) { | 382 UserGestureStatus user_gesture_status) { |
| 381 navigation_scheduler_->ScheduleLocationChange(&origin_document, url, | 383 navigation_scheduler_->ScheduleLocationChange(&origin_document, url, |
| 382 replace_current_item); | 384 replace_current_item); |
| (...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 892 spell_checker_(SpellChecker::Create(*this)), | 894 spell_checker_(SpellChecker::Create(*this)), |
| 893 selection_(FrameSelection::Create(*this)), | 895 selection_(FrameSelection::Create(*this)), |
| 894 event_handler_(new EventHandler(*this)), | 896 event_handler_(new EventHandler(*this)), |
| 895 console_(FrameConsole::Create(*this)), | 897 console_(FrameConsole::Create(*this)), |
| 896 input_method_controller_(InputMethodController::Create(*this)), | 898 input_method_controller_(InputMethodController::Create(*this)), |
| 897 navigation_disable_count_(0), | 899 navigation_disable_count_(0), |
| 898 page_zoom_factor_(ParentPageZoomFactor(this)), | 900 page_zoom_factor_(ParentPageZoomFactor(this)), |
| 899 text_zoom_factor_(ParentTextZoomFactor(this)), | 901 text_zoom_factor_(ParentTextZoomFactor(this)), |
| 900 in_view_source_mode_(false), | 902 in_view_source_mode_(false), |
| 901 interface_provider_(interface_provider), | 903 interface_provider_(interface_provider), |
| 902 interface_registry_(interface_registry) { | 904 interface_registry_(interface_registry), |
| 905 frame_resource_coordinator_( |
| 906 FrameResourceCoordinator::Create(interface_provider)) { |
| 903 if (IsLocalRoot()) { | 907 if (IsLocalRoot()) { |
| 904 probe_sink_ = new CoreProbeSink(); | 908 probe_sink_ = new CoreProbeSink(); |
| 905 performance_monitor_ = new PerformanceMonitor(this); | 909 performance_monitor_ = new PerformanceMonitor(this); |
| 906 } else { | 910 } else { |
| 907 probe_sink_ = LocalFrameRoot().probe_sink_; | 911 probe_sink_ = LocalFrameRoot().probe_sink_; |
| 908 performance_monitor_ = LocalFrameRoot().performance_monitor_; | 912 performance_monitor_ = LocalFrameRoot().performance_monitor_; |
| 909 } | 913 } |
| 910 } | 914 } |
| 911 | 915 |
| 912 WebFrameScheduler* LocalFrame::FrameScheduler() { | 916 WebFrameScheduler* LocalFrame::FrameScheduler() { |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1203 void LocalFrame::SetViewportIntersectionFromParent( | 1207 void LocalFrame::SetViewportIntersectionFromParent( |
| 1204 const IntRect& viewport_intersection) { | 1208 const IntRect& viewport_intersection) { |
| 1205 if (remote_viewport_intersection_ != viewport_intersection) { | 1209 if (remote_viewport_intersection_ != viewport_intersection) { |
| 1206 remote_viewport_intersection_ = viewport_intersection; | 1210 remote_viewport_intersection_ = viewport_intersection; |
| 1207 if (View()) | 1211 if (View()) |
| 1208 View()->ScheduleAnimation(); | 1212 View()->ScheduleAnimation(); |
| 1209 } | 1213 } |
| 1210 } | 1214 } |
| 1211 | 1215 |
| 1212 } // namespace blink | 1216 } // namespace blink |
| OLD | NEW |