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 23 matching lines...) Expand all Loading... |
34 | 34 |
35 #include "bindings/core/v8/ScriptController.h" | 35 #include "bindings/core/v8/ScriptController.h" |
36 #include "core/CoreProbeSink.h" | 36 #include "core/CoreProbeSink.h" |
37 #include "core/dom/ChildFrameDisconnector.h" | 37 #include "core/dom/ChildFrameDisconnector.h" |
38 #include "core/dom/DocumentType.h" | 38 #include "core/dom/DocumentType.h" |
39 #include "core/dom/StyleChangeReason.h" | 39 #include "core/dom/StyleChangeReason.h" |
40 #include "core/editing/EditingUtilities.h" | 40 #include "core/editing/EditingUtilities.h" |
41 #include "core/editing/Editor.h" | 41 #include "core/editing/Editor.h" |
42 #include "core/editing/FrameSelection.h" | 42 #include "core/editing/FrameSelection.h" |
43 #include "core/editing/InputMethodController.h" | 43 #include "core/editing/InputMethodController.h" |
| 44 #include "core/editing/TextSuggestionController.h" |
44 #include "core/editing/serializers/Serialization.h" | 45 #include "core/editing/serializers/Serialization.h" |
45 #include "core/editing/spellcheck/SpellChecker.h" | 46 #include "core/editing/spellcheck/SpellChecker.h" |
46 #include "core/events/Event.h" | 47 #include "core/events/Event.h" |
47 #include "core/frame/ContentSettingsClient.h" | 48 #include "core/frame/ContentSettingsClient.h" |
48 #include "core/frame/EventHandlerRegistry.h" | 49 #include "core/frame/EventHandlerRegistry.h" |
49 #include "core/frame/FrameConsole.h" | 50 #include "core/frame/FrameConsole.h" |
50 #include "core/frame/LocalDOMWindow.h" | 51 #include "core/frame/LocalDOMWindow.h" |
51 #include "core/frame/LocalFrameClient.h" | 52 #include "core/frame/LocalFrameClient.h" |
52 #include "core/frame/LocalFrameView.h" | 53 #include "core/frame/LocalFrameView.h" |
53 #include "core/frame/PerformanceMonitor.h" | 54 #include "core/frame/PerformanceMonitor.h" |
(...skipping 309 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(text_suggestion_controller_); |
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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
895 navigation_scheduler_(NavigationScheduler::Create(this)), | 897 navigation_scheduler_(NavigationScheduler::Create(this)), |
896 script_controller_(ScriptController::Create( | 898 script_controller_(ScriptController::Create( |
897 *this, | 899 *this, |
898 *static_cast<LocalWindowProxyManager*>(GetWindowProxyManager()))), | 900 *static_cast<LocalWindowProxyManager*>(GetWindowProxyManager()))), |
899 editor_(Editor::Create(*this)), | 901 editor_(Editor::Create(*this)), |
900 spell_checker_(SpellChecker::Create(*this)), | 902 spell_checker_(SpellChecker::Create(*this)), |
901 selection_(FrameSelection::Create(*this)), | 903 selection_(FrameSelection::Create(*this)), |
902 event_handler_(new EventHandler(*this)), | 904 event_handler_(new EventHandler(*this)), |
903 console_(FrameConsole::Create(*this)), | 905 console_(FrameConsole::Create(*this)), |
904 input_method_controller_(InputMethodController::Create(*this)), | 906 input_method_controller_(InputMethodController::Create(*this)), |
| 907 text_suggestion_controller_(new TextSuggestionController(*this)), |
905 navigation_disable_count_(0), | 908 navigation_disable_count_(0), |
906 page_zoom_factor_(ParentPageZoomFactor(this)), | 909 page_zoom_factor_(ParentPageZoomFactor(this)), |
907 text_zoom_factor_(ParentTextZoomFactor(this)), | 910 text_zoom_factor_(ParentTextZoomFactor(this)), |
908 in_view_source_mode_(false), | 911 in_view_source_mode_(false), |
909 interface_provider_(interface_provider), | 912 interface_provider_(interface_provider), |
910 interface_registry_(interface_registry) { | 913 interface_registry_(interface_registry) { |
911 if (IsLocalRoot()) { | 914 if (IsLocalRoot()) { |
912 probe_sink_ = new CoreProbeSink(); | 915 probe_sink_ = new CoreProbeSink(); |
913 performance_monitor_ = new PerformanceMonitor(this); | 916 performance_monitor_ = new PerformanceMonitor(this); |
914 } else { | 917 } else { |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1211 void LocalFrame::SetViewportIntersectionFromParent( | 1214 void LocalFrame::SetViewportIntersectionFromParent( |
1212 const IntRect& viewport_intersection) { | 1215 const IntRect& viewport_intersection) { |
1213 if (remote_viewport_intersection_ != viewport_intersection) { | 1216 if (remote_viewport_intersection_ != viewport_intersection) { |
1214 remote_viewport_intersection_ = viewport_intersection; | 1217 remote_viewport_intersection_ = viewport_intersection; |
1215 if (View()) | 1218 if (View()) |
1216 View()->ScheduleAnimation(); | 1219 View()->ScheduleAnimation(); |
1217 } | 1220 } |
1218 } | 1221 } |
1219 | 1222 |
1220 } // namespace blink | 1223 } // namespace blink |
OLD | NEW |