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: webkit/tools/test_shell/mac/webview_host.mm

Issue 159057: Changing the include from "base/gfx/platform_canvas.h" to "skia/ext/platform_... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 5 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
« no previous file with comments | « webkit/glue/webmediaplayer_impl.h ('k') | webkit/tools/test_shell/mac/webwidget_host.mm » ('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) 2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include "webkit/tools/test_shell/webview_host.h" 7 #include "webkit/tools/test_shell/webview_host.h"
8 #include "webkit/tools/test_shell/mac/test_shell_webview.h" 8 #include "webkit/tools/test_shell/mac/test_shell_webview.h"
9 9
10 #include "base/gfx/platform_canvas.h"
11 #include "base/gfx/rect.h" 10 #include "base/gfx/rect.h"
12 #include "base/gfx/size.h" 11 #include "base/gfx/size.h"
12 #include "skia/ext/platform_canvas.h"
13 #include "webkit/api/public/WebSize.h" 13 #include "webkit/api/public/WebSize.h"
14 #include "webkit/glue/webview.h" 14 #include "webkit/glue/webview.h"
15 15
16 using WebKit::WebSize; 16 using WebKit::WebSize;
17 17
18 // static 18 // static
19 WebViewHost* WebViewHost::Create(NSView* parent_view, 19 WebViewHost* WebViewHost::Create(NSView* parent_view,
20 WebViewDelegate* delegate, 20 WebViewDelegate* delegate,
21 const WebPreferences& prefs) { 21 const WebPreferences& prefs) {
22 WebViewHost* host = new WebViewHost(); 22 WebViewHost* host = new WebViewHost();
(...skipping 13 matching lines...) Expand all
36 host->webwidget_ = WebView::Create(delegate, prefs); 36 host->webwidget_ = WebView::Create(delegate, prefs);
37 host->webwidget_->resize(WebSize(content_rect.size.width, 37 host->webwidget_->resize(WebSize(content_rect.size.width,
38 content_rect.size.height)); 38 content_rect.size.height));
39 39
40 return host; 40 return host;
41 } 41 }
42 42
43 WebView* WebViewHost::webview() const { 43 WebView* WebViewHost::webview() const {
44 return static_cast<WebView*>(webwidget_); 44 return static_cast<WebView*>(webwidget_);
45 } 45 }
OLDNEW
« no previous file with comments | « webkit/glue/webmediaplayer_impl.h ('k') | webkit/tools/test_shell/mac/webwidget_host.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698