mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
After this patch, we can execute Dart code and draw the result via MGL. We still need to plumb in services.
24 lines
708 B
C++
24 lines
708 B
C++
// Copyright 2015 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef SKY_SHELL_GPU_DIRECT_SURFACE_NOTIFICATIONS_DIRECT_H_
|
|
#define SKY_SHELL_GPU_DIRECT_SURFACE_NOTIFICATIONS_DIRECT_H_
|
|
|
|
#include "sky/shell/platform_view.h"
|
|
|
|
namespace sky {
|
|
namespace shell {
|
|
|
|
class SurfaceNotificationsDirect {
|
|
public:
|
|
static void NotifyCreated(const PlatformView::Config& config,
|
|
gfx::AcceleratedWidget widget);
|
|
static void NotifyDestroyed(const PlatformView::Config& config);
|
|
};
|
|
|
|
} // namespace shell
|
|
} // namespace sky
|
|
|
|
#endif // SKY_SHELL_GPU_DIRECT_SURFACE_NOTIFICATIONS_DIRECT_H_
|