| 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 19 matching lines...) Expand all Loading... |
| 30 #ifndef SKY_ENGINE_CORE_LOADER_FRAMELOADERCLIENT_H_ | 30 #ifndef SKY_ENGINE_CORE_LOADER_FRAMELOADERCLIENT_H_ |
| 31 #define SKY_ENGINE_CORE_LOADER_FRAMELOADERCLIENT_H_ | 31 #define SKY_ENGINE_CORE_LOADER_FRAMELOADERCLIENT_H_ |
| 32 | 32 |
| 33 #include "sky/engine/core/frame/FrameClient.h" | 33 #include "sky/engine/core/frame/FrameClient.h" |
| 34 #include "sky/engine/core/loader/FrameLoaderTypes.h" | 34 #include "sky/engine/core/loader/FrameLoaderTypes.h" |
| 35 #include "sky/engine/core/loader/NavigationPolicy.h" | 35 #include "sky/engine/core/loader/NavigationPolicy.h" |
| 36 #include "sky/engine/platform/network/ResourceLoadPriority.h" | 36 #include "sky/engine/platform/network/ResourceLoadPriority.h" |
| 37 #include "sky/engine/platform/weborigin/Referrer.h" | 37 #include "sky/engine/platform/weborigin/Referrer.h" |
| 38 #include "sky/engine/wtf/Forward.h" | 38 #include "sky/engine/wtf/Forward.h" |
| 39 #include "sky/engine/wtf/Vector.h" | 39 #include "sky/engine/wtf/Vector.h" |
| 40 #include "v8/include/v8.h" | 40 |
| 41 typedef struct _Dart_Isolate* Dart_Isolate; |
| 41 | 42 |
| 42 namespace mojo { | 43 namespace mojo { |
| 43 class View; | 44 class View; |
| 44 } | 45 } |
| 45 | 46 |
| 46 namespace blink { | 47 namespace blink { |
| 47 | 48 |
| 48 class Color; | 49 class Color; |
| 49 class Document; | 50 class Document; |
| 50 class DOMWindowExtension; | 51 class DOMWindowExtension; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 | 98 |
| 98 // Transmits the change in the set of watched CSS selectors property | 99 // Transmits the change in the set of watched CSS selectors property |
| 99 // that match any element on the frame. | 100 // that match any element on the frame. |
| 100 virtual void selectorMatchChanged(const Vector<String>& addedSelectors,
const Vector<String>& removedSelectors) = 0; | 101 virtual void selectorMatchChanged(const Vector<String>& addedSelectors,
const Vector<String>& removedSelectors) = 0; |
| 101 | 102 |
| 102 virtual void transitionToCommittedForNewPage() = 0; | 103 virtual void transitionToCommittedForNewPage() = 0; |
| 103 | 104 |
| 104 | 105 |
| 105 virtual void documentElementAvailable() = 0; | 106 virtual void documentElementAvailable() = 0; |
| 106 | 107 |
| 107 virtual void didCreateScriptContext(v8::Handle<v8::Context>) = 0; | |
| 108 virtual void willReleaseScriptContext(v8::Handle<v8::Context>) = 0; | |
| 109 | |
| 110 // Informs the embedder that a WebGL canvas inside this frame received a
lost context | 108 // Informs the embedder that a WebGL canvas inside this frame received a
lost context |
| 111 // notification with the given GL_ARB_robustness guilt/innocence code (s
ee Extensions3D.h). | 109 // notification with the given GL_ARB_robustness guilt/innocence code (s
ee Extensions3D.h). |
| 112 virtual void didLoseWebGLContext(int) { } | 110 virtual void didLoseWebGLContext(int) { } |
| 113 | 111 |
| 114 virtual void dispatchDidChangeResourcePriority(unsigned long identifier,
ResourceLoadPriority, int intraPriorityValue) { } | 112 virtual void dispatchDidChangeResourcePriority(unsigned long identifier,
ResourceLoadPriority, int intraPriorityValue) { } |
| 115 | 113 |
| 116 virtual void dispatchDidChangeManifest() { } | 114 virtual void dispatchDidChangeManifest() { } |
| 117 | 115 |
| 118 virtual bool isFrameLoaderClientImpl() const { return false; } | 116 virtual bool isFrameLoaderClientImpl() const { return false; } |
| 117 virtual void didCreateIsolate(Dart_Isolate isolate) {} |
| 119 }; | 118 }; |
| 120 | 119 |
| 121 } // namespace blink | 120 } // namespace blink |
| 122 | 121 |
| 123 #endif // SKY_ENGINE_CORE_LOADER_FRAMELOADERCLIENT_H_ | 122 #endif // SKY_ENGINE_CORE_LOADER_FRAMELOADERCLIENT_H_ |
| OLD | NEW |