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

Side by Side Diff: Source/web/PageOverlay.cpp

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android Created 7 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 | « Source/web/LinkHighlight.h ('k') | Source/web/PageWidgetDelegate.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 10 *
(...skipping 16 matching lines...) Expand all
27 */ 27 */
28 28
29 #include "config.h" 29 #include "config.h"
30 #include "PageOverlay.h" 30 #include "PageOverlay.h"
31 31
32 #include "WebPageOverlay.h" 32 #include "WebPageOverlay.h"
33 #include "WebViewClient.h" 33 #include "WebViewClient.h"
34 #include "WebViewImpl.h" 34 #include "WebViewImpl.h"
35 #include "core/page/Page.h" 35 #include "core/page/Page.h"
36 #include "core/page/Settings.h" 36 #include "core/page/Settings.h"
37 #include "core/platform/graphics/GraphicsLayer.h" 37 #include "platform/graphics/GraphicsLayer.h"
38 #include "core/platform/graphics/GraphicsLayerClient.h" 38 #include "platform/graphics/GraphicsLayerClient.h"
39 #include "public/platform/WebLayer.h" 39 #include "public/platform/WebLayer.h"
40 40
41 using namespace WebCore; 41 using namespace WebCore;
42 42
43 namespace blink { 43 namespace blink {
44 44
45 namespace { 45 namespace {
46 46
47 WebCanvas* ToWebCanvas(GraphicsContext* gc) 47 WebCanvas* ToWebCanvas(GraphicsContext* gc)
48 { 48 {
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 // this is not on a critical codepath? In order to do so, we'd 156 // this is not on a critical codepath? In order to do so, we'd
157 // have to take scrolling into account. 157 // have to take scrolling into account.
158 const WebSize& size = m_viewImpl->size(); 158 const WebSize& size = m_viewImpl->size();
159 WebRect damagedRect(0, 0, size.width, size.height); 159 WebRect damagedRect(0, 0, size.width, size.height);
160 if (m_viewImpl->client()) 160 if (m_viewImpl->client())
161 m_viewImpl->client()->didInvalidateRect(damagedRect); 161 m_viewImpl->client()->didInvalidateRect(damagedRect);
162 } 162 }
163 } 163 }
164 164
165 } // namespace blink 165 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/LinkHighlight.h ('k') | Source/web/PageWidgetDelegate.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698