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

Unified Diff: chrome/browser/printing/print_preview_tab_controller.cc

Issue 10837112: Add WebContents* to some more WebContentsDelegate methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/extension_host_mac.mm ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/print_preview_tab_controller.cc
diff --git a/chrome/browser/printing/print_preview_tab_controller.cc b/chrome/browser/printing/print_preview_tab_controller.cc
index 04bf2e007e3c23b0947666dc4add24ad6f881c8a..009a9842f53e031096f19c54aa91a49f0c4dd79d 100644
--- a/chrome/browser/printing/print_preview_tab_controller.cc
+++ b/chrome/browser/printing/print_preview_tab_controller.cc
@@ -162,6 +162,7 @@ class PrintPreviewWebContentDelegate : public WebDialogWebContentsDelegate,
// Overridden from WebDialogWebContentsDelegate:
virtual void HandleKeyboardEvent(
+ WebContents* source,
const NativeWebKeyboardEvent& event) OVERRIDE;
// Overridden from CoreTabHelperDelegate:
@@ -193,6 +194,7 @@ bool PrintPreviewWebContentDelegate::CanSaveContents(
}
void PrintPreviewWebContentDelegate::HandleKeyboardEvent(
+ WebContents* source,
const NativeWebKeyboardEvent& event) {
// Disabled on Mac due to http://crbug.com/112173
#if !defined(OS_MACOSX)
« no previous file with comments | « chrome/browser/extensions/extension_host_mac.mm ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698