Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Side by Side Diff: android_webview/browser/parent_compositor_draw_constraints.h

Issue 1001643004: Remove android webview rendering cruft (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename var Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_BROWSER_PARENT_COMPOSITOR_DRAW_CONSTRAINTS_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_PARENT_COMPOSITOR_DRAW_CONSTRAINTS_H_
6 #define ANDROID_WEBVIEW_BROWSER_PARENT_COMPOSITOR_DRAW_CONSTRAINTS_H_ 6 #define ANDROID_WEBVIEW_BROWSER_PARENT_COMPOSITOR_DRAW_CONSTRAINTS_H_
7 7
8 #include "ui/gfx/geometry/rect.h" 8 #include "ui/gfx/geometry/rect.h"
9 #include "ui/gfx/transform.h" 9 #include "ui/gfx/transform.h"
10 10
11 namespace android_webview { 11 namespace android_webview {
12 12
13 class ChildFrame;
14
13 struct ParentCompositorDrawConstraints { 15 struct ParentCompositorDrawConstraints {
14 bool is_layer; 16 bool is_layer;
15 gfx::Transform transform; 17 gfx::Transform transform;
16 gfx::Rect surface_rect; 18 gfx::Rect surface_rect;
17 19
18 ParentCompositorDrawConstraints(); 20 ParentCompositorDrawConstraints();
19 ParentCompositorDrawConstraints(bool is_layer, 21 ParentCompositorDrawConstraints(bool is_layer,
20 const gfx::Transform& transform, 22 const gfx::Transform& transform,
21 const gfx::Rect& surface_rect); 23 const gfx::Rect& surface_rect);
22 bool Equals(const ParentCompositorDrawConstraints& other) const; 24 bool NeedUpdate(const ChildFrame& frame) const;
23 }; 25 };
24 26
25 } // namespace android_webview 27 } // namespace android_webview
26 28
27 #endif // ANDROID_WEBVIEW_BROWSER_PARENT_COMPOSITOR_DRAW_CONSTRAINTS_H_ 29 #endif // ANDROID_WEBVIEW_BROWSER_PARENT_COMPOSITOR_DRAW_CONSTRAINTS_H_
OLDNEW
« no previous file with comments | « android_webview/browser/hardware_renderer.cc ('k') | android_webview/browser/parent_compositor_draw_constraints.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698