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

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

Issue 1291903003: Oilpan: Move ChromeClient classes into Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix a raw reference in InspectorOverlayImpl.cpp. Created 5 years, 4 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 | « Source/web/ChromeClientImpl.h ('k') | Source/web/InspectorOverlayImpl.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 ChromeClientImpl::ChromeClientImpl(WebViewImpl* webView) 119 ChromeClientImpl::ChromeClientImpl(WebViewImpl* webView)
120 : m_webView(webView) 120 : m_webView(webView)
121 { 121 {
122 } 122 }
123 123
124 ChromeClientImpl::~ChromeClientImpl() 124 ChromeClientImpl::~ChromeClientImpl()
125 { 125 {
126 } 126 }
127 127
128 PassOwnPtrWillBeRawPtr<ChromeClientImpl> ChromeClientImpl::create(WebViewImpl* w ebView)
129 {
130 return adoptPtrWillBeNoop(new ChromeClientImpl(webView));
131 }
132
128 void* ChromeClientImpl::webView() const 133 void* ChromeClientImpl::webView() const
129 { 134 {
130 return static_cast<void*>(m_webView); 135 return static_cast<void*>(m_webView);
131 } 136 }
132 137
133 void ChromeClientImpl::chromeDestroyed() 138 void ChromeClientImpl::chromeDestroyed()
134 { 139 {
135 // Our lifetime is bound to the WebViewImpl. 140 // Our lifetime is bound to the WebViewImpl.
136 } 141 }
137 142
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
966 for (const auto& observer : observers) 971 for (const auto& observer : observers)
967 observer->willOpenPopup(); 972 observer->willOpenPopup();
968 } 973 }
969 974
970 FloatSize ChromeClientImpl::elasticOverscroll() const 975 FloatSize ChromeClientImpl::elasticOverscroll() const
971 { 976 {
972 return m_webView->elasticOverscroll(); 977 return m_webView->elasticOverscroll();
973 } 978 }
974 979
975 } // namespace blink 980 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/ChromeClientImpl.h ('k') | Source/web/InspectorOverlayImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698