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

Side by Side Diff: webkit/tools/test_shell/webwidget_host_gtk.cc

Issue 11588: Remove base versions of the graphics headers, which previously just forwarded... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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/webwidget_host.h ('k') | webkit/tools/test_shell/webwidget_host_win.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 #include "webkit/tools/test_shell/webwidget_host.h" 5 #include "webkit/tools/test_shell/webwidget_host.h"
6 6
7 #include <cairo/cairo.h> 7 #include <cairo/cairo.h>
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/gfx/platform_canvas_linux.h" 11 #include "skia/ext/bitmap_platform_device_linux.h"
12 #include "base/gfx/platform_device_linux.h" 12 #include "skia/ext/platform_canvas_linux.h"
13 #include "base/gfx/bitmap_platform_device_linux.h" 13 #include "skia/ext/platform_device_linux.h"
14 #include "webkit/glue/webinputevent.h" 14 #include "webkit/glue/webinputevent.h"
15 #include "webkit/glue/webwidget.h" 15 #include "webkit/glue/webwidget.h"
16 16
17 namespace { 17 namespace {
18 18
19 // In response to an invalidation, we call into WebKit to do layout. On 19 // In response to an invalidation, we call into WebKit to do layout. On
20 // Windows, WM_PAINT is a virtual message so any extra invalidates that come up 20 // Windows, WM_PAINT is a virtual message so any extra invalidates that come up
21 // while it's doing layout are implicitly swallowed as soon as we actually do 21 // while it's doing layout are implicitly swallowed as soon as we actually do
22 // drawing via BeginPaint. 22 // drawing via BeginPaint.
23 // 23 //
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 } 267 }
268 268
269 // ----------------------------------------------------------------------------- 269 // -----------------------------------------------------------------------------
270 // This is called when the GTK window is destroyed. In the Windows code this 270 // This is called when the GTK window is destroyed. In the Windows code this
271 // deletes this object. Since it's only test_shell it probably doesn't matter 271 // deletes this object. Since it's only test_shell it probably doesn't matter
272 // that much. 272 // that much.
273 // ----------------------------------------------------------------------------- 273 // -----------------------------------------------------------------------------
274 void WebWidgetHost::WindowDestroyed() { 274 void WebWidgetHost::WindowDestroyed() {
275 delete this; 275 delete this;
276 } 276 }
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/webwidget_host.h ('k') | webkit/tools/test_shell/webwidget_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698