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

Side by Side Diff: webkit/tools/test_shell/webwidget_host.h

Issue 14110: Move the "platform" wrappers in skia/ext to the skia namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years 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 | Annotate | Revision Log
« no previous file with comments | « webkit/tools/test_shell/test_shell.cc ('k') | webkit/tools/test_shell/webwidget_host_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 WEBKIT_TOOLS_TEST_SHELL_WEBWIDGET_HOST_H_ 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_WEBWIDGET_HOST_H_
6 #define WEBKIT_TOOLS_TEST_SHELL_WEBWIDGET_HOST_H_ 6 #define WEBKIT_TOOLS_TEST_SHELL_WEBWIDGET_HOST_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/gfx/native_widget_types.h" 9 #include "base/gfx/native_widget_types.h"
10 #include "base/gfx/rect.h" 10 #include "base/gfx/rect.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 void PaintRect(const gfx::Rect& rect); 93 void PaintRect(const gfx::Rect& rect);
94 94
95 void set_painting(bool value) { 95 void set_painting(bool value) {
96 #ifndef NDEBUG 96 #ifndef NDEBUG
97 painting_ = value; 97 painting_ = value;
98 #endif 98 #endif
99 } 99 }
100 100
101 gfx::NativeView view_; 101 gfx::NativeView view_;
102 WebWidget* webwidget_; 102 WebWidget* webwidget_;
103 scoped_ptr<gfx::PlatformCanvas> canvas_; 103 scoped_ptr<skia::PlatformCanvas> canvas_;
104 104
105 // specifies the portion of the webwidget that needs painting 105 // specifies the portion of the webwidget that needs painting
106 gfx::Rect paint_rect_; 106 gfx::Rect paint_rect_;
107 107
108 // specifies the portion of the webwidget that needs scrolling 108 // specifies the portion of the webwidget that needs scrolling
109 gfx::Rect scroll_rect_; 109 gfx::Rect scroll_rect_;
110 int scroll_dx_; 110 int scroll_dx_;
111 int scroll_dy_; 111 int scroll_dy_;
112 112
113 bool track_mouse_leave_; 113 bool track_mouse_leave_;
114 114
115 #ifndef NDEBUG 115 #ifndef NDEBUG
116 bool painting_; 116 bool painting_;
117 #endif 117 #endif
118 }; 118 };
119 119
120 #endif // WEBKIT_TOOLS_TEST_SHELL_WEBWIDGET_HOST_H_ 120 #endif // WEBKIT_TOOLS_TEST_SHELL_WEBWIDGET_HOST_H_
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/test_shell.cc ('k') | webkit/tools/test_shell/webwidget_host_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698