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

Side by Side Diff: webkit/glue/webwidget_impl.cc

Issue 16489: Adjusting the name of a function to make it more descriptive. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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/webwidget_delegate.h ('k') | webkit/tools/test_shell/test_webview_delegate.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 "config.h" 5 #include "config.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 8
9 MSVC_PUSH_WARNING_LEVEL(0); 9 MSVC_PUSH_WARNING_LEVEL(0);
10 #include "Cursor.h" 10 #include "Cursor.h"
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 232
233 WebCore::IntRect WebWidgetImpl::windowToScreen( 233 WebCore::IntRect WebWidgetImpl::windowToScreen(
234 const WebCore::IntRect& rect) const { 234 const WebCore::IntRect& rect) const {
235 NOTIMPLEMENTED(); 235 NOTIMPLEMENTED();
236 return WebCore::IntRect(); 236 return WebCore::IntRect();
237 } 237 }
238 238
239 PlatformWidget WebWidgetImpl::platformWindow() const { 239 PlatformWidget WebWidgetImpl::platformWindow() const {
240 if (!delegate_) 240 if (!delegate_)
241 return NULL; 241 return NULL;
242 return delegate_->GetContainingWindow(const_cast<WebWidgetImpl*>(this)); 242 return delegate_->GetContainingView(const_cast<WebWidgetImpl*>(this));
243 } 243 }
244 244
245 //----------------------------------------------------------------------------- 245 //-----------------------------------------------------------------------------
246 // WebCore::FramelessScrollViewClient 246 // WebCore::FramelessScrollViewClient
247 247
248 void WebWidgetImpl::popupClosed(WebCore::FramelessScrollView* widget) { 248 void WebWidgetImpl::popupClosed(WebCore::FramelessScrollView* widget) {
249 DCHECK(widget == widget_); 249 DCHECK(widget == widget_);
250 if (widget_) { 250 if (widget_) {
251 widget_->setClient(NULL); 251 widget_->setClient(NULL);
252 widget_ = NULL; 252 widget_ = NULL;
(...skipping 13 matching lines...) Expand all
266 void WebWidgetImpl::onScrollPositionChanged(Widget* widget) { 266 void WebWidgetImpl::onScrollPositionChanged(Widget* widget) {
267 } 267 }
268 268
269 bool WebWidgetImpl::isHidden() { 269 bool WebWidgetImpl::isHidden() {
270 if (!delegate_) 270 if (!delegate_)
271 return true; 271 return true;
272 272
273 return delegate_->IsHidden(); 273 return delegate_->IsHidden();
274 } 274 }
275 #endif 275 #endif
OLDNEW
« no previous file with comments | « webkit/glue/webwidget_delegate.h ('k') | webkit/tools/test_shell/test_webview_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698