| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. |
| 3 * Copyright (C) 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2012 Google 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 | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 | 86 |
| 87 virtual void dispatchAddNavigationTransitionData(const String& origin, c
onst String& selector, const String& markup) { } | 87 virtual void dispatchAddNavigationTransitionData(const String& origin, c
onst String& selector, const String& markup) { } |
| 88 virtual void dispatchWillRequestResource(FetchRequest*) { } | 88 virtual void dispatchWillRequestResource(FetchRequest*) { } |
| 89 | 89 |
| 90 virtual void didStartLoading(LoadStartType) = 0; | 90 virtual void didStartLoading(LoadStartType) = 0; |
| 91 virtual void progressEstimateChanged(double progressEstimate) = 0; | 91 virtual void progressEstimateChanged(double progressEstimate) = 0; |
| 92 virtual void didStopLoading() = 0; | 92 virtual void didStopLoading() = 0; |
| 93 | 93 |
| 94 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy,
const String& suggestedName = String()) = 0; | 94 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy,
const String& suggestedName = String()) = 0; |
| 95 | 95 |
| 96 virtual mojo::View* createChildFrame(const KURL&) = 0; | 96 virtual mojo::View* createChildFrame() = 0; |
| 97 | 97 |
| 98 // Transmits the change in the set of watched CSS selectors property | 98 // Transmits the change in the set of watched CSS selectors property |
| 99 // that match any element on the frame. | 99 // that match any element on the frame. |
| 100 virtual void selectorMatchChanged(const Vector<String>& addedSelectors,
const Vector<String>& removedSelectors) = 0; | 100 virtual void selectorMatchChanged(const Vector<String>& addedSelectors,
const Vector<String>& removedSelectors) = 0; |
| 101 | 101 |
| 102 virtual void transitionToCommittedForNewPage() = 0; | 102 virtual void transitionToCommittedForNewPage() = 0; |
| 103 | 103 |
| 104 | 104 |
| 105 virtual void documentElementAvailable() = 0; | 105 virtual void documentElementAvailable() = 0; |
| 106 | 106 |
| 107 virtual void didCreateScriptContext(v8::Handle<v8::Context>) = 0; | 107 virtual void didCreateScriptContext(v8::Handle<v8::Context>) = 0; |
| 108 virtual void willReleaseScriptContext(v8::Handle<v8::Context>) = 0; | 108 virtual void willReleaseScriptContext(v8::Handle<v8::Context>) = 0; |
| 109 | 109 |
| 110 virtual void didChangeScrollOffset() { } | 110 virtual void didChangeScrollOffset() { } |
| 111 | 111 |
| 112 // Informs the embedder that a WebGL canvas inside this frame received a
lost context | 112 // Informs the embedder that a WebGL canvas inside this frame received a
lost context |
| 113 // notification with the given GL_ARB_robustness guilt/innocence code (s
ee Extensions3D.h). | 113 // notification with the given GL_ARB_robustness guilt/innocence code (s
ee Extensions3D.h). |
| 114 virtual void didLoseWebGLContext(int) { } | 114 virtual void didLoseWebGLContext(int) { } |
| 115 | 115 |
| 116 virtual void dispatchDidChangeResourcePriority(unsigned long identifier,
ResourceLoadPriority, int intraPriorityValue) { } | 116 virtual void dispatchDidChangeResourcePriority(unsigned long identifier,
ResourceLoadPriority, int intraPriorityValue) { } |
| 117 | 117 |
| 118 virtual void dispatchDidChangeManifest() { } | 118 virtual void dispatchDidChangeManifest() { } |
| 119 | 119 |
| 120 virtual bool isFrameLoaderClientImpl() const { return false; } | 120 virtual bool isFrameLoaderClientImpl() const { return false; } |
| 121 }; | 121 }; |
| 122 | 122 |
| 123 } // namespace blink | 123 } // namespace blink |
| 124 | 124 |
| 125 #endif // SKY_ENGINE_CORE_LOADER_FRAMELOADERCLIENT_H_ | 125 #endif // SKY_ENGINE_CORE_LOADER_FRAMELOADERCLIENT_H_ |
| OLD | NEW |