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

Side by Side Diff: webkit/glue/chrome_client_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 | « chrome/renderer/render_widget.cc ('k') | webkit/glue/plugins/webplugin_delegate_impl.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 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 gfx::Rect window_rect; 402 gfx::Rect window_rect;
403 d->GetWindowRect(webview_, &window_rect); 403 d->GetWindowRect(webview_, &window_rect);
404 screen_rect.move(window_rect.x(), window_rect.y()); 404 screen_rect.move(window_rect.x(), window_rect.y());
405 } 405 }
406 406
407 return screen_rect; 407 return screen_rect;
408 } 408 }
409 409
410 PlatformWidget ChromeClientImpl::platformWindow() const { 410 PlatformWidget ChromeClientImpl::platformWindow() const {
411 WebViewDelegate* d = webview_->delegate(); 411 WebViewDelegate* d = webview_->delegate();
412 return d ? d->GetContainingWindow(webview_) : NULL; 412 return d ? d->GetContainingView(webview_) : NULL;
413 } 413 }
414 414
415 void ChromeClientImpl::mouseDidMoveOverElement( 415 void ChromeClientImpl::mouseDidMoveOverElement(
416 const WebCore::HitTestResult& result, unsigned modifierFlags) { 416 const WebCore::HitTestResult& result, unsigned modifierFlags) {
417 // Find out if the mouse is over a link, and if so, let our UI know... somehow 417 // Find out if the mouse is over a link, and if so, let our UI know... somehow
418 WebViewDelegate* d = webview_->delegate(); 418 WebViewDelegate* d = webview_->delegate();
419 if (d) { 419 if (d) {
420 if (result.isLiveLink() && !result.absoluteLinkURL().string().isEmpty()) { 420 if (result.isLiveLink() && !result.absoluteLinkURL().string().isEmpty()) {
421 d->UpdateTargetURL(webview_, webkit_glue::KURLToGURL(result.absoluteLinkUR L())); 421 d->UpdateTargetURL(webview_, webkit_glue::KURLToGURL(result.absoluteLinkUR L()));
422 } else { 422 } else {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 WebViewDelegate* d = webview_->delegate(); 481 WebViewDelegate* d = webview_->delegate();
482 if (d) 482 if (d)
483 d->EnableSuddenTermination(); 483 d->EnableSuddenTermination();
484 } 484 }
485 485
486 void ChromeClientImpl::disableSuddenTermination() { 486 void ChromeClientImpl::disableSuddenTermination() {
487 WebViewDelegate* d = webview_->delegate(); 487 WebViewDelegate* d = webview_->delegate();
488 if (d) 488 if (d)
489 d->DisableSuddenTermination(); 489 d->DisableSuddenTermination();
490 } 490 }
OLDNEW
« no previous file with comments | « chrome/renderer/render_widget.cc ('k') | webkit/glue/plugins/webplugin_delegate_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698