| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 virtual void dispatchDidReceiveTitle(const String&) override; | 66 virtual void dispatchDidReceiveTitle(const String&) override; |
| 67 virtual void dispatchDidFailLoad(const ResourceError&) override; | 67 virtual void dispatchDidFailLoad(const ResourceError&) override; |
| 68 | 68 |
| 69 virtual NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, D
ocument*, NavigationPolicy, bool isTransitionNavigation) override; | 69 virtual NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, D
ocument*, NavigationPolicy, bool isTransitionNavigation) override; |
| 70 virtual void dispatchAddNavigationTransitionData(const String& allowedDestin
ationOrigin, const String& selector, const String& markup) override; | 70 virtual void dispatchAddNavigationTransitionData(const String& allowedDestin
ationOrigin, const String& selector, const String& markup) override; |
| 71 virtual void dispatchWillRequestResource(FetchRequest*) override; | 71 virtual void dispatchWillRequestResource(FetchRequest*) override; |
| 72 virtual void didStartLoading(LoadStartType) override; | 72 virtual void didStartLoading(LoadStartType) override; |
| 73 virtual void didStopLoading() override; | 73 virtual void didStopLoading() override; |
| 74 virtual void progressEstimateChanged(double progressEstimate) override; | 74 virtual void progressEstimateChanged(double progressEstimate) override; |
| 75 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, con
st String& suggestedName = String()) override; | 75 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, con
st String& suggestedName = String()) override; |
| 76 virtual mojo::View* createChildFrame(const KURL&) override; | 76 virtual mojo::View* createChildFrame() override; |
| 77 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons
t Vector<String>& removedSelectors) override; | 77 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons
t Vector<String>& removedSelectors) override; |
| 78 virtual void transitionToCommittedForNewPage() override; | 78 virtual void transitionToCommittedForNewPage() override; |
| 79 virtual void didChangeScrollOffset() override; | 79 virtual void didChangeScrollOffset() override; |
| 80 | 80 |
| 81 virtual void didLoseWebGLContext(int arbRobustnessContextLostReason) overrid
e; | 81 virtual void didLoseWebGLContext(int arbRobustnessContextLostReason) overrid
e; |
| 82 | 82 |
| 83 virtual void dispatchDidChangeManifest() override; | 83 virtual void dispatchDidChangeManifest() override; |
| 84 | 84 |
| 85 private: | 85 private: |
| 86 virtual bool isFrameLoaderClientImpl() const override { return true; } | 86 virtual bool isFrameLoaderClientImpl() const override { return true; } |
| 87 | 87 |
| 88 // The WebFrame that owns this object and manages its lifetime. Therefore, | 88 // The WebFrame that owns this object and manages its lifetime. Therefore, |
| 89 // the web frame object is guaranteed to exist. | 89 // the web frame object is guaranteed to exist. |
| 90 WebLocalFrameImpl* m_webFrame; | 90 WebLocalFrameImpl* m_webFrame; |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 93 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
| 94 | 94 |
| 95 } // namespace blink | 95 } // namespace blink |
| 96 | 96 |
| 97 #endif // SKY_ENGINE_WEB_FRAMELOADERCLIENTIMPL_H_ | 97 #endif // SKY_ENGINE_WEB_FRAMELOADERCLIENTIMPL_H_ |
| OLD | NEW |