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

Unified Diff: chrome/browser/ui/views/external_tab_container_win.h

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
Index: chrome/browser/ui/views/external_tab_container_win.h
diff --git a/chrome/browser/ui/views/external_tab_container_win.h b/chrome/browser/ui/views/external_tab_container_win.h
index 7f716770fc16acc010ac150f39e64c5399cf85ec..69ea200a34cbda0ad42c0921bf032b9e0bb7f8ed 100644
--- a/chrome/browser/ui/views/external_tab_container_win.h
+++ b/chrome/browser/ui/views/external_tab_container_win.h
@@ -130,11 +130,13 @@ class ExternalTabContainerWin : public ExternalTabContainer,
const GURL& target_url,
content::WebContents* new_contents) OVERRIDE;
virtual bool PreHandleKeyboardEvent(
+ content::WebContents* source,
const content::NativeWebKeyboardEvent& event,
bool* is_keyboard_shortcut) OVERRIDE;
virtual void HandleKeyboardEvent(
+ content::WebContents* source,
const content::NativeWebKeyboardEvent& event) OVERRIDE;
- virtual bool TakeFocus(bool reverse) OVERRIDE;
+ virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE;
virtual bool CanDownload(content::RenderViewHost* render_view_host,
int request_id,
const std::string& request_method) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698