| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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() 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; | |
| 80 | 79 |
| 81 virtual void didLoseWebGLContext(int arbRobustnessContextLostReason) overrid
e; | 80 virtual void didLoseWebGLContext(int arbRobustnessContextLostReason) overrid
e; |
| 82 | 81 |
| 83 virtual void dispatchDidChangeManifest() override; | 82 virtual void dispatchDidChangeManifest() override; |
| 84 | 83 |
| 85 private: | 84 private: |
| 86 virtual bool isFrameLoaderClientImpl() const override { return true; } | 85 virtual bool isFrameLoaderClientImpl() const override { return true; } |
| 87 | 86 |
| 88 // The WebFrame that owns this object and manages its lifetime. Therefore, | 87 // The WebFrame that owns this object and manages its lifetime. Therefore, |
| 89 // the web frame object is guaranteed to exist. | 88 // the web frame object is guaranteed to exist. |
| 90 WebLocalFrameImpl* m_webFrame; | 89 WebLocalFrameImpl* m_webFrame; |
| 91 }; | 90 }; |
| 92 | 91 |
| 93 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 92 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
| 94 | 93 |
| 95 } // namespace blink | 94 } // namespace blink |
| 96 | 95 |
| 97 #endif // SKY_ENGINE_WEB_FRAMELOADERCLIENTIMPL_H_ | 96 #endif // SKY_ENGINE_WEB_FRAMELOADERCLIENTIMPL_H_ |
| OLD | NEW |