Revert of Disable spdy tests for constant failures on Volantis bot (patchset #2 id...
[chromium-blink-merge.git] / android_webview / browser / parent_compositor_draw_constraints.h
blob4355aa9feedb24c5da5663a3d78245dee8be51d6
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ANDROID_WEBVIEW_BROWSER_PARENT_COMPOSITOR_DRAW_CONSTRAINTS_H_
6 #define ANDROID_WEBVIEW_BROWSER_PARENT_COMPOSITOR_DRAW_CONSTRAINTS_H_
8 #include "ui/gfx/geometry/rect.h"
9 #include "ui/gfx/transform.h"
11 namespace android_webview {
13 struct ParentCompositorDrawConstraints {
14 bool is_layer;
15 gfx::Transform transform;
16 gfx::Rect surface_rect;
18 ParentCompositorDrawConstraints();
19 ParentCompositorDrawConstraints(bool is_layer,
20 const gfx::Transform& transform,
21 const gfx::Rect& surface_rect);
22 bool Equals(const ParentCompositorDrawConstraints& other) const;
25 } // namespace android_webview
27 #endif // ANDROID_WEBVIEW_BROWSER_PARENT_COMPOSITOR_DRAW_CONSTRAINTS_H_