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

Unified Diff: sky/engine/bindings-dart/common/ScheduledAction.h

Issue 875013003: Import Dart bindings as of Blink r188698. This merely copies the files over and does not attach any… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/bindings-dart/common/Nullable.h ('k') | sky/engine/bindings-dart/common/ScriptPromise.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/bindings-dart/common/ScheduledAction.h
diff --git a/sky/engine/platform/fonts/FontPlatformFeatures.h b/sky/engine/bindings-dart/common/ScheduledAction.h
similarity index 81%
copy from sky/engine/platform/fonts/FontPlatformFeatures.h
copy to sky/engine/bindings-dart/common/ScheduledAction.h
index 0585176ce1b520f704e61a939c532dd271f644fb..3e3ae1c0be1d4284a428c7dec4b191090656d17d 100644
--- a/sky/engine/platform/fonts/FontPlatformFeatures.h
+++ b/sky/engine/bindings-dart/common/ScheduledAction.h
@@ -28,21 +28,25 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SKY_ENGINE_PLATFORM_FONTS_FONTPLATFORMFEATURES_H_
-#define SKY_ENGINE_PLATFORM_FONTS_FONTPLATFORMFEATURES_H_
+#ifndef ScheduledAction_h
+#define ScheduledAction_h
-#include "sky/engine/platform/PlatformExport.h"
+#include "bindings/core/v8/ScriptSourceCode.h"
+#include "wtf/Noncopyable.h"
namespace blink {
-class FontPlatformFeatures {
-public:
- static bool canExpandAroundIdeographsInComplexText();
+class ExecutionContext;
-private:
- FontPlatformFeatures();
+class ScheduledAction {
+ WTF_MAKE_NONCOPYABLE(ScheduledAction);
+protected:
+ ScheduledAction() { }
+public:
+ virtual ~ScheduledAction() { }
+ virtual void execute(ExecutionContext*) = 0;
};
} // namespace blink
-#endif // SKY_ENGINE_PLATFORM_FONTS_FONTPLATFORMFEATURES_H_
+#endif // ScheduledAction_h
« no previous file with comments | « sky/engine/bindings-dart/common/Nullable.h ('k') | sky/engine/bindings-dart/common/ScriptPromise.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698