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

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

Issue 9746: Change old code from "unloadListnerChanged" model to new WebKit EnableSuddenT... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 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 | « webkit/glue/chrome_client_impl.h ('k') | webkit/glue/webframe.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 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 focus_on_show)); 461 focus_on_show));
462 webwidget->Init(popup_view, webkit_glue::FromIntRect(bounds)); 462 webwidget->Init(popup_view, webkit_glue::FromIntRect(bounds));
463 } 463 }
464 } 464 }
465 465
466 void ChromeClientImpl::SetCursor(const WebCursor& cursor) { 466 void ChromeClientImpl::SetCursor(const WebCursor& cursor) {
467 WebViewDelegate* d = webview_->delegate(); 467 WebViewDelegate* d = webview_->delegate();
468 if (d) 468 if (d)
469 d->SetCursor(webview_, cursor); 469 d->SetCursor(webview_, cursor);
470 } 470 }
471
472 void ChromeClientImpl::enableSuddenTermination() {
473 WebViewDelegate* d = webview_->delegate();
474 if (d)
475 d->EnableSuddenTermination();
476 }
477
478 void ChromeClientImpl::disableSuddenTermination() {
479 WebViewDelegate* d = webview_->delegate();
480 if (d)
481 d->DisableSuddenTermination();
482 }
OLDNEW
« no previous file with comments | « webkit/glue/chrome_client_impl.h ('k') | webkit/glue/webframe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698