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

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

Issue 8215002: base::Bind: Cleanup in test_shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fix. Created 9 years, 2 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h"
10 #include "base/task.h" 11 #include "base/task.h"
11 #include "skia/ext/platform_canvas.h" 12 #include "skia/ext/platform_canvas.h"
12 #include "ui/gfx/native_widget_types.h" 13 #include "ui/gfx/native_widget_types.h"
13 #include "ui/gfx/rect.h" 14 #include "ui/gfx/rect.h"
14 15
15 namespace gfx { 16 namespace gfx {
16 class Size; 17 class Size;
17 } 18 }
18 19
19 namespace WebKit { 20 namespace WebKit {
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 // Since GtkWindow resize is asynchronous, we have to stash the dimensions, 147 // Since GtkWindow resize is asynchronous, we have to stash the dimensions,
147 // so that the backing store doesn't have to wait for sizing to take place. 148 // so that the backing store doesn't have to wait for sizing to take place.
148 gfx::Size logical_size_; 149 gfx::Size logical_size_;
149 #endif 150 #endif
150 151
151 #ifndef NDEBUG 152 #ifndef NDEBUG
152 bool painting_; 153 bool painting_;
153 #endif 154 #endif
154 155
155 private: 156 private:
156 ScopedRunnableMethodFactory<WebWidgetHost> factory_; 157 base::WeakPtrFactory<WebWidgetHost> weak_factory_;
157 }; 158 };
158 159
159 #endif // WEBKIT_TOOLS_TEST_SHELL_WEBWIDGET_HOST_H_ 160 #endif // WEBKIT_TOOLS_TEST_SHELL_WEBWIDGET_HOST_H_
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/test_webview_delegate_gtk.cc ('k') | webkit/tools/test_shell/webwidget_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698