mirror of
https://github.com/servo/servo.git
synced 2025-06-15 11:54:28 +00:00
37 lines
1 KiB
Rust
37 lines
1 KiB
Rust
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#![feature(custom_attribute, custom_derive, plugin)]
|
|
#![plugin(serde_macros, plugins)]
|
|
|
|
extern crate app_units;
|
|
extern crate azure;
|
|
#[macro_use]
|
|
extern crate bitflags;
|
|
#[cfg(target_os = "macos")]
|
|
extern crate core_foundation;
|
|
extern crate cssparser;
|
|
extern crate euclid;
|
|
extern crate hyper;
|
|
#[cfg(target_os = "macos")]
|
|
extern crate io_surface;
|
|
extern crate ipc_channel;
|
|
extern crate layers;
|
|
extern crate rustc_serialize;
|
|
extern crate serde;
|
|
extern crate url;
|
|
extern crate util;
|
|
|
|
pub mod compositor_msg;
|
|
pub mod constellation_msg;
|
|
pub mod webdriver_msg;
|
|
|
|
use constellation_msg::PipelineId;
|
|
use cssparser::{Parser, SourcePosition};
|
|
|
|
pub trait ParseErrorReporter {
|
|
fn report_error(&self, input: &mut Parser, position: SourcePosition, message: &str);
|
|
fn clone(&self) -> Box<ParseErrorReporter + Send + Sync>;
|
|
fn pipeline(&self) -> PipelineId;
|
|
}
|