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

Side by Side Diff: webkit/tools/test_shell/webview_host_win.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/webview_host_gtk.cc ('k') | webkit/tools/test_shell/webwidget_host.h » ('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/webview_host.h" 5 #include "webkit/tools/test_shell/webview_host.h"
6 6
7 #include "base/gfx/platform_canvas.h"
8 #include "base/gfx/rect.h" 7 #include "base/gfx/rect.h"
9 #include "base/gfx/size.h" 8 #include "base/gfx/size.h"
10 #include "base/win_util.h" 9 #include "base/win_util.h"
10 #include "skia/ext/platform_canvas.h"
11 #include "webkit/glue/webinputevent.h" 11 #include "webkit/glue/webinputevent.h"
12 #include "webkit/glue/webview.h" 12 #include "webkit/glue/webview.h"
13 13
14 static const wchar_t kWindowClassName[] = L"WebViewHost"; 14 static const wchar_t kWindowClassName[] = L"WebViewHost";
15 15
16 /*static*/ 16 /*static*/
17 WebViewHost* WebViewHost::Create(gfx::WindowHandle parent_window, 17 WebViewHost* WebViewHost::Create(gfx::WindowHandle parent_window,
18 WebViewDelegate* delegate, 18 WebViewDelegate* delegate,
19 const WebPreferences& prefs) { 19 const WebPreferences& prefs) {
20 WebViewHost* host = new WebViewHost(); 20 WebViewHost* host = new WebViewHost();
(...skipping 19 matching lines...) Expand all
40 40
41 host->webwidget_ = WebView::Create(delegate, prefs); 41 host->webwidget_ = WebView::Create(delegate, prefs);
42 42
43 return host; 43 return host;
44 } 44 }
45 45
46 WebView* WebViewHost::webview() const { 46 WebView* WebViewHost::webview() const {
47 return static_cast<WebView*>(webwidget_); 47 return static_cast<WebView*>(webwidget_);
48 } 48 }
49 49
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/webview_host_gtk.cc ('k') | webkit/tools/test_shell/webwidget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698