| 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-2001 Lars Knoll <knoll@kde.org> | 3 * 1999-2001 Lars Knoll <knoll@kde.org> |
| 4 * 1999-2001 Antti Koivisto <koivisto@kde.org> | 4 * 1999-2001 Antti Koivisto <koivisto@kde.org> |
| 5 * 2000-2001 Simon Hausmann <hausmann@kde.org> | 5 * 2000-2001 Simon Hausmann <hausmann@kde.org> |
| 6 * 2000-2001 Dirk Mueller <mueller@kde.org> | 6 * 2000-2001 Dirk Mueller <mueller@kde.org> |
| 7 * 2000 Stefan Schimanski <1Stein@gmx.de> | 7 * 2000 Stefan Schimanski <1Stein@gmx.de> |
| 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights | 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights |
| 9 * reserved. | 9 * reserved. |
| 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 template <typename Strategy> | 56 template <typename Strategy> |
| 57 class EphemeralRangeTemplate; | 57 class EphemeralRangeTemplate; |
| 58 class EventHandler; | 58 class EventHandler; |
| 59 class FetchParameters; | 59 class FetchParameters; |
| 60 class FloatSize; | 60 class FloatSize; |
| 61 class FrameConsole; | 61 class FrameConsole; |
| 62 class FrameResourceCoordinator; | 62 class FrameResourceCoordinator; |
| 63 class FrameSelection; | 63 class FrameSelection; |
| 64 class InputMethodController; | 64 class InputMethodController; |
| 65 class CoreProbeSink; | 65 class CoreProbeSink; |
| 66 class HTMLMediaElement; |
| 66 class InterfaceProvider; | 67 class InterfaceProvider; |
| 67 class InterfaceRegistry; | 68 class InterfaceRegistry; |
| 68 class IntPoint; | 69 class IntPoint; |
| 69 class IntSize; | 70 class IntSize; |
| 70 class LayoutView; | 71 class LayoutView; |
| 71 class LayoutViewItem; | 72 class LayoutViewItem; |
| 72 class LocalDOMWindow; | 73 class LocalDOMWindow; |
| 73 class LocalWindowProxy; | 74 class LocalWindowProxy; |
| 74 class LocalFrameClient; | 75 class LocalFrameClient; |
| 75 class NavigationScheduler; | 76 class NavigationScheduler; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 bool ShouldClose() override; | 123 bool ShouldClose() override; |
| 123 SecurityContext* GetSecurityContext() const override; | 124 SecurityContext* GetSecurityContext() const override; |
| 124 void PrintNavigationErrorMessage(const Frame&, const char* reason) override; | 125 void PrintNavigationErrorMessage(const Frame&, const char* reason) override; |
| 125 void PrintNavigationWarning(const String&) override; | 126 void PrintNavigationWarning(const String&) override; |
| 126 bool PrepareForCommit() override; | 127 bool PrepareForCommit() override; |
| 127 void DidChangeVisibilityState() override; | 128 void DidChangeVisibilityState() override; |
| 128 | 129 |
| 129 void DetachChildren(); | 130 void DetachChildren(); |
| 130 void DocumentAttached(); | 131 void DocumentAttached(); |
| 131 | 132 |
| 133 void ShowDownloadMediaInProductHelp(HTMLMediaElement&); |
| 134 bool IsDownloadMediaInProductHelpVisibleForElement(HTMLMediaElement&); |
| 135 void LayoutUpdated(); |
| 136 void NotifyInProductHelpDismissed(); |
| 137 |
| 132 Frame* FindFrameForNavigation(const AtomicString& name, | 138 Frame* FindFrameForNavigation(const AtomicString& name, |
| 133 LocalFrame& active_frame); | 139 LocalFrame& active_frame); |
| 134 | 140 |
| 135 // Note: these two functions are not virtual but intentionally shadow the | 141 // Note: these two functions are not virtual but intentionally shadow the |
| 136 // corresponding method in the Frame base class to return the | 142 // corresponding method in the Frame base class to return the |
| 137 // LocalFrame-specific subclass. | 143 // LocalFrame-specific subclass. |
| 138 LocalWindowProxy* WindowProxy(DOMWrapperWorld&); | 144 LocalWindowProxy* WindowProxy(DOMWrapperWorld&); |
| 139 LocalDOMWindow* DomWindow() const; | 145 LocalDOMWindow* DomWindow() const; |
| 140 void SetDOMWindow(LocalDOMWindow*); | 146 void SetDOMWindow(LocalDOMWindow*); |
| 141 LocalFrameView* View() const override; | 147 LocalFrameView* View() const override; |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 bool in_view_source_mode_; | 326 bool in_view_source_mode_; |
| 321 | 327 |
| 322 Member<CoreProbeSink> probe_sink_; | 328 Member<CoreProbeSink> probe_sink_; |
| 323 Member<PerformanceMonitor> performance_monitor_; | 329 Member<PerformanceMonitor> performance_monitor_; |
| 324 | 330 |
| 325 InterfaceProvider* const interface_provider_; | 331 InterfaceProvider* const interface_provider_; |
| 326 InterfaceRegistry* const interface_registry_; | 332 InterfaceRegistry* const interface_registry_; |
| 327 | 333 |
| 328 IntRect remote_viewport_intersection_; | 334 IntRect remote_viewport_intersection_; |
| 329 Member<FrameResourceCoordinator> frame_resource_coordinator_; | 335 Member<FrameResourceCoordinator> frame_resource_coordinator_; |
| 336 |
| 337 // Restricts showing the download media in-product help to once per frame. |
| 338 bool media_in_product_help_shown_for_frame_ = false; |
| 339 WeakMember<HTMLMediaElement> element_with_active_in_product_help_; |
| 330 }; | 340 }; |
| 331 | 341 |
| 332 inline FrameLoader& LocalFrame::Loader() const { | 342 inline FrameLoader& LocalFrame::Loader() const { |
| 333 return loader_; | 343 return loader_; |
| 334 } | 344 } |
| 335 | 345 |
| 336 inline NavigationScheduler& LocalFrame::GetNavigationScheduler() const { | 346 inline NavigationScheduler& LocalFrame::GetNavigationScheduler() const { |
| 337 DCHECK(navigation_scheduler_); | 347 DCHECK(navigation_scheduler_); |
| 338 return *navigation_scheduler_.Get(); | 348 return *navigation_scheduler_.Get(); |
| 339 } | 349 } |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 explicit ScopedFrameBlamer(LocalFrame*); | 431 explicit ScopedFrameBlamer(LocalFrame*); |
| 422 ~ScopedFrameBlamer(); | 432 ~ScopedFrameBlamer(); |
| 423 | 433 |
| 424 private: | 434 private: |
| 425 Member<LocalFrame> frame_; | 435 Member<LocalFrame> frame_; |
| 426 }; | 436 }; |
| 427 | 437 |
| 428 } // namespace blink | 438 } // namespace blink |
| 429 | 439 |
| 430 #endif // LocalFrame_h | 440 #endif // LocalFrame_h |
| OLD | NEW |