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

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

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | « Source/web/PageOverlayList.h ('k') | Source/web/PageScaleConstraintsSet.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 /* 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 15 matching lines...) Expand all
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #include "config.h" 29 #include "config.h"
30 #include "PageOverlayList.h" 30 #include "PageOverlayList.h"
31 31
32 #include "PageOverlay.h" 32 #include "PageOverlay.h"
33 #include "WebPageOverlay.h" 33 #include "WebPageOverlay.h"
34 #include "WebViewImpl.h" 34 #include "WebViewImpl.h"
35 35
36 namespace WebKit { 36 namespace blink {
37 37
38 PassOwnPtr<PageOverlayList> PageOverlayList::create(WebViewImpl* viewImpl) 38 PassOwnPtr<PageOverlayList> PageOverlayList::create(WebViewImpl* viewImpl)
39 { 39 {
40 return adoptPtr(new PageOverlayList(viewImpl)); 40 return adoptPtr(new PageOverlayList(viewImpl));
41 } 41 }
42 42
43 PageOverlayList::PageOverlayList(WebViewImpl* viewImpl) 43 PageOverlayList::PageOverlayList(WebViewImpl* viewImpl)
44 : m_viewImpl(viewImpl) 44 : m_viewImpl(viewImpl)
45 { 45 {
46 } 46 }
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 129
130 size_t PageOverlayList::findGraphicsLayer(WebCore::GraphicsLayer* layer) 130 size_t PageOverlayList::findGraphicsLayer(WebCore::GraphicsLayer* layer)
131 { 131 {
132 for (size_t i = 0; i < m_pageOverlays.size(); ++i) { 132 for (size_t i = 0; i < m_pageOverlays.size(); ++i) {
133 if (m_pageOverlays[i]->graphicsLayer() == layer) 133 if (m_pageOverlays[i]->graphicsLayer() == layer)
134 return i; 134 return i;
135 } 135 }
136 return WTF::kNotFound; 136 return WTF::kNotFound;
137 } 137 }
138 138
139 } // namespace WebKit 139 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/PageOverlayList.h ('k') | Source/web/PageScaleConstraintsSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698