| 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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 visitor->Trace(navigation_scheduler_); | 377 visitor->Trace(navigation_scheduler_); |
| 378 visitor->Trace(view_); | 378 visitor->Trace(view_); |
| 379 visitor->Trace(dom_window_); | 379 visitor->Trace(dom_window_); |
| 380 visitor->Trace(page_popup_owner_); | 380 visitor->Trace(page_popup_owner_); |
| 381 visitor->Trace(script_controller_); | 381 visitor->Trace(script_controller_); |
| 382 visitor->Trace(editor_); | 382 visitor->Trace(editor_); |
| 383 visitor->Trace(spell_checker_); | 383 visitor->Trace(spell_checker_); |
| 384 visitor->Trace(selection_); | 384 visitor->Trace(selection_); |
| 385 visitor->Trace(event_handler_); | 385 visitor->Trace(event_handler_); |
| 386 visitor->Trace(console_); | 386 visitor->Trace(console_); |
| 387 visitor->Trace(input_method_controller_); | |
| 388 visitor->Trace(frame_resource_coordinator_); | 387 visitor->Trace(frame_resource_coordinator_); |
| 389 Frame::Trace(visitor); | 388 Frame::Trace(visitor); |
| 390 Supplementable<LocalFrame>::Trace(visitor); | 389 Supplementable<LocalFrame>::Trace(visitor); |
| 391 } | 390 } |
| 392 | 391 |
| 393 void LocalFrame::Navigate(Document& origin_document, | 392 void LocalFrame::Navigate(Document& origin_document, |
| 394 const KURL& url, | 393 const KURL& url, |
| 395 bool replace_current_item, | 394 bool replace_current_item, |
| 396 UserGestureStatus user_gesture_status) { | 395 UserGestureStatus user_gesture_status) { |
| 397 navigation_scheduler_->ScheduleLocationChange(&origin_document, url, | 396 navigation_scheduler_->ScheduleLocationChange(&origin_document, url, |
| (...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 928 loader_(this), | 927 loader_(this), |
| 929 navigation_scheduler_(NavigationScheduler::Create(this)), | 928 navigation_scheduler_(NavigationScheduler::Create(this)), |
| 930 script_controller_(ScriptController::Create( | 929 script_controller_(ScriptController::Create( |
| 931 *this, | 930 *this, |
| 932 *static_cast<LocalWindowProxyManager*>(GetWindowProxyManager()))), | 931 *static_cast<LocalWindowProxyManager*>(GetWindowProxyManager()))), |
| 933 editor_(Editor::Create(*this)), | 932 editor_(Editor::Create(*this)), |
| 934 spell_checker_(SpellChecker::Create(*this)), | 933 spell_checker_(SpellChecker::Create(*this)), |
| 935 selection_(FrameSelection::Create(*this)), | 934 selection_(FrameSelection::Create(*this)), |
| 936 event_handler_(new EventHandler(*this)), | 935 event_handler_(new EventHandler(*this)), |
| 937 console_(FrameConsole::Create(*this)), | 936 console_(FrameConsole::Create(*this)), |
| 938 input_method_controller_(InputMethodController::Create(*this)), | |
| 939 navigation_disable_count_(0), | 937 navigation_disable_count_(0), |
| 940 page_zoom_factor_(ParentPageZoomFactor(this)), | 938 page_zoom_factor_(ParentPageZoomFactor(this)), |
| 941 text_zoom_factor_(ParentTextZoomFactor(this)), | 939 text_zoom_factor_(ParentTextZoomFactor(this)), |
| 942 in_view_source_mode_(false), | 940 in_view_source_mode_(false), |
| 943 interface_provider_(interface_provider), | 941 interface_provider_(interface_provider), |
| 944 interface_registry_(interface_registry) { | 942 interface_registry_(interface_registry) { |
| 945 if (FrameResourceCoordinator::IsEnabled()) { | 943 if (FrameResourceCoordinator::IsEnabled()) { |
| 946 frame_resource_coordinator_ = | 944 frame_resource_coordinator_ = |
| 947 FrameResourceCoordinator::Create(interface_provider); | 945 FrameResourceCoordinator::Create(interface_provider); |
| 948 } | 946 } |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1248 | 1246 |
| 1249 void LocalFrame::SetViewportIntersectionFromParent( | 1247 void LocalFrame::SetViewportIntersectionFromParent( |
| 1250 const IntRect& viewport_intersection) { | 1248 const IntRect& viewport_intersection) { |
| 1251 if (remote_viewport_intersection_ != viewport_intersection) { | 1249 if (remote_viewport_intersection_ != viewport_intersection) { |
| 1252 remote_viewport_intersection_ = viewport_intersection; | 1250 remote_viewport_intersection_ = viewport_intersection; |
| 1253 if (View()) | 1251 if (View()) |
| 1254 View()->ScheduleAnimation(); | 1252 View()->ScheduleAnimation(); |
| 1255 } | 1253 } |
| 1256 } | 1254 } |
| 1257 | 1255 |
| 1256 InputMethodController& LocalFrame::GetInputMethodController() const { |
| 1257 return *DomWindow()->GetInputMethodController(); |
| 1258 } |
| 1259 |
| 1258 } // namespace blink | 1260 } // namespace blink |
| OLD | NEW |