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

Unified Diff: chrome/browser/guest_view/web_view/web_view_guest.h

Issue 288113005: <webview>: Cleanup Pointer Lock & Simplify HandleKeyboardEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unnecessary braces Created 6 years, 7 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 | « no previous file | chrome/browser/guest_view/web_view/web_view_guest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/guest_view/web_view/web_view_guest.h
diff --git a/chrome/browser/guest_view/web_view/web_view_guest.h b/chrome/browser/guest_view/web_view/web_view_guest.h
index f3e7898847af48159b8c664cf91582d67a39b509..2814dc5e4731b399c96c32415797f84dcbfe7b7f 100644
--- a/chrome/browser/guest_view/web_view/web_view_guest.h
+++ b/chrome/browser/guest_view/web_view/web_view_guest.h
@@ -85,7 +85,7 @@ class WebViewGuest : public GuestView<WebViewGuest>,
int active_match_ordinal,
bool final_update) OVERRIDE;
virtual void GuestProcessGone(base::TerminationStatus status) OVERRIDE;
- virtual bool HandleKeyboardEvent(
+ virtual void HandleKeyboardEvent(
const content::NativeWebKeyboardEvent& event) OVERRIDE;
virtual bool IsDragAndDropEnabled() OVERRIDE;
virtual bool IsOverridingUserAgent() const OVERRIDE;
@@ -305,6 +305,8 @@ class WebViewGuest : public GuestView<WebViewGuest>,
const PermissionResponseCallback& callback,
bool allowed_by_default);
+ bool HandleKeyboardShortcuts(const content::NativeWebKeyboardEvent& event);
+
ObserverList<extensions::TabHelper::ScriptExecutionObserver>
script_observers_;
scoped_ptr<extensions::ScriptExecutor> script_executor_;
« no previous file with comments | « no previous file | chrome/browser/guest_view/web_view/web_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698