| Index: android_webview/browser/parent_compositor_draw_constraints.h
|
| diff --git a/android_webview/browser/parent_compositor_draw_constraints.h b/android_webview/browser/parent_compositor_draw_constraints.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e1687c85b499cfa11ba95183e41f6d67ea9c1562
|
| --- /dev/null
|
| +++ b/android_webview/browser/parent_compositor_draw_constraints.h
|
| @@ -0,0 +1,26 @@
|
| +// Copyright 2014 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 ANDROID_WEBVIEW_BROWSER_PARENT_COMPOSITOR_DRAW_CONSTRAINTS_H_
|
| +#define ANDROID_WEBVIEW_BROWSER_PARENT_COMPOSITOR_DRAW_CONSTRAINTS_H_
|
| +
|
| +#include "ui/gfx/geometry/rect.h"
|
| +#include "ui/gfx/transform.h"
|
| +
|
| +namespace android_webview {
|
| +struct ParentCompositorDrawConstraints {
|
| + bool is_layer;
|
| + gfx::Transform transform;
|
| + gfx::Rect surface_rect;
|
| +
|
| + ParentCompositorDrawConstraints();
|
| + ParentCompositorDrawConstraints(bool is_layer,
|
| + gfx::Transform transform,
|
| + gfx::Rect surface_rect);
|
| + bool operator==(const ParentCompositorDrawConstraints& other) const;
|
| + bool operator!=(const ParentCompositorDrawConstraints& other) const;
|
| +};
|
| +
|
| +} // namespace android_webview
|
| +#endif // ANDROID_WEBVIEW_BROWSER_PARENT_COMPOSITOR_DRAW_CONSTRAINTS_H_
|
|
|