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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 namespace blink { | 42 namespace blink { |
43 | 43 |
44 class Color; | 44 class Color; |
45 class Document; | 45 class Document; |
46 class DOMWindowExtension; | 46 class DOMWindowExtension; |
47 class DOMWrapperWorld; | 47 class DOMWrapperWorld; |
48 class Element; | 48 class Element; |
49 class FetchRequest; | 49 class FetchRequest; |
50 class FrameLoader; | 50 class FrameLoader; |
51 class FrameNetworkingContext; | 51 class FrameNetworkingContext; |
| 52 class HTMLViewElement; |
52 class IntSize; | 53 class IntSize; |
53 class KURL; | 54 class KURL; |
54 class LocalFrame; | 55 class LocalFrame; |
55 class Page; | 56 class Page; |
56 class ResourceError; | 57 class ResourceError; |
57 class ResourceHandle; | 58 class ResourceHandle; |
58 class ResourceRequest; | 59 class ResourceRequest; |
59 class ResourceResponse; | 60 class ResourceResponse; |
60 class SharedBuffer; | 61 class SharedBuffer; |
61 class Widget; | 62 class Widget; |
(...skipping 18 matching lines...) Expand all Loading... |
80 | 81 |
81 virtual void dispatchAddNavigationTransitionData(const String& origin, c
onst String& selector, const String& markup) { } | 82 virtual void dispatchAddNavigationTransitionData(const String& origin, c
onst String& selector, const String& markup) { } |
82 virtual void dispatchWillRequestResource(FetchRequest*) { } | 83 virtual void dispatchWillRequestResource(FetchRequest*) { } |
83 | 84 |
84 virtual void didStartLoading(LoadStartType) = 0; | 85 virtual void didStartLoading(LoadStartType) = 0; |
85 virtual void progressEstimateChanged(double progressEstimate) = 0; | 86 virtual void progressEstimateChanged(double progressEstimate) = 0; |
86 virtual void didStopLoading() = 0; | 87 virtual void didStopLoading() = 0; |
87 | 88 |
88 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy,
const String& suggestedName = String()) = 0; | 89 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy,
const String& suggestedName = String()) = 0; |
89 | 90 |
| 91 // TODO(mpcomplete): return surface ID? |
| 92 virtual void createView(const KURL&, HTMLViewElement*) = 0; |
| 93 |
90 // Transmits the change in the set of watched CSS selectors property | 94 // Transmits the change in the set of watched CSS selectors property |
91 // that match any element on the frame. | 95 // that match any element on the frame. |
92 virtual void selectorMatchChanged(const Vector<String>& addedSelectors,
const Vector<String>& removedSelectors) = 0; | 96 virtual void selectorMatchChanged(const Vector<String>& addedSelectors,
const Vector<String>& removedSelectors) = 0; |
93 | 97 |
94 virtual void transitionToCommittedForNewPage() = 0; | 98 virtual void transitionToCommittedForNewPage() = 0; |
95 | 99 |
96 | 100 |
97 virtual void documentElementAvailable() = 0; | 101 virtual void documentElementAvailable() = 0; |
98 | 102 |
99 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi
onGroup, int worldId) = 0; | 103 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi
onGroup, int worldId) = 0; |
100 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world
Id) = 0; | 104 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world
Id) = 0; |
101 | 105 |
102 virtual void didChangeScrollOffset() { } | 106 virtual void didChangeScrollOffset() { } |
103 virtual void didRemoveAllPendingStylesheet() { } | 107 virtual void didRemoveAllPendingStylesheet() { } |
104 | 108 |
105 // Informs the embedder that a WebGL canvas inside this frame received a
lost context | 109 // Informs the embedder that a WebGL canvas inside this frame received a
lost context |
106 // notification with the given GL_ARB_robustness guilt/innocence code (s
ee Extensions3D.h). | 110 // notification with the given GL_ARB_robustness guilt/innocence code (s
ee Extensions3D.h). |
107 virtual void didLoseWebGLContext(int) { } | 111 virtual void didLoseWebGLContext(int) { } |
108 | 112 |
109 virtual void dispatchDidChangeResourcePriority(unsigned long identifier,
ResourceLoadPriority, int intraPriorityValue) { } | 113 virtual void dispatchDidChangeResourcePriority(unsigned long identifier,
ResourceLoadPriority, int intraPriorityValue) { } |
110 | 114 |
111 virtual void dispatchDidChangeManifest() { } | 115 virtual void dispatchDidChangeManifest() { } |
112 | 116 |
113 virtual bool isFrameLoaderClientImpl() const { return false; } | 117 virtual bool isFrameLoaderClientImpl() const { return false; } |
114 }; | 118 }; |
115 | 119 |
116 } // namespace blink | 120 } // namespace blink |
117 | 121 |
118 #endif // FrameLoaderClient_h | 122 #endif // FrameLoaderClient_h |
OLD | NEW |