Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1006)

Side by Side Diff: sky/engine/core/loader/FrameLoaderClient.h

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/engine/core/loader/FrameLoader.cpp ('k') | sky/engine/core/loader/ImageLoader.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « sky/engine/core/loader/FrameLoader.cpp ('k') | sky/engine/core/loader/ImageLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698