C++程序  |  24行  |  570 B

// Copyright (c) 2013 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 CONTENT_RENDERER_SKIA_BENCHMARKING_EXTENSION_H_
#define CONTENT_RENDERER_SKIA_BENCHMARKING_EXTENSION_H_

namespace v8 {
class Extension;
}

namespace content {

// V8 extension for Skia benchmarking
class SkiaBenchmarkingExtension {
 public:
  static v8::Extension* Get();
  static void InitSkGraphics();
};

}  // namespace content

#endif // CONTENT_RENDERER_SKIA_BENCHMARKING_EXTENSION_H_