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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 2805763004: [System-Keyboard-Lock] Forward navigator functions to RenderFrameHost (Closed)
Patch Set: Resolve review comments Created 3 years, 8 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: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index 5fba3c3c600b524ebe622722c778279b67b3e85b..551e1ff27ff9ef6a6003d5690b7cedeeb0e41fa6 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -15,6 +15,7 @@
#include "base/metrics/histogram_macros.h"
#include "base/metrics/user_metrics.h"
#include "base/process/kill.h"
+#include "base/strings/utf_string_conversions.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "content/browser/accessibility/browser_accessibility_manager.h"
@@ -3256,6 +3257,18 @@ void RenderFrameHostImpl::GetInterfaceProvider(
renderer_info_.identity, renderer_spec);
}
+void RenderFrameHostImpl::RequestKeyLock(
+ const std::vector<std::string>& key_codes,
+ const RequestKeyLockCallback& callback) {
+ // TODO(zijiehe): Implementation required.
+ callback.Run(false, base::ASCIIToUTF16("Unsupported"));
+}
+
+void RenderFrameHostImpl::CancelKeyLock(const CancelKeyLockCallback& callback) {
+ // TODO(zijiehe): Implementation required.
+ callback.Run();
+}
+
#if BUILDFLAG(USE_EXTERNAL_POPUP_MENU)
#if defined(OS_MACOSX)

Powered by Google App Engine
This is Rietveld 408576698