0
Files
src/content/browser/keyboard_lock_browsertest.h
Joe Downing 190f4ac229 [KeyboardLock] MacOS RWHV integration
This change includes the integration of the MacOS KeyboardHook impl in
the RenderWidgetHostViewMac and RenderWidgetHostViewCocoa classes.

RWHVMac handles the lock/unlock calls from RenderWidgetHostImpl and
forwards them to RWHVCocoa which handles the events and input routing.

The RenderWidgetHostViewMac and RenderWidgetHostViewCocoa integration
follows the same pattern I used for RenderWidgetHostViewAura and
RenderWidgetHostViewEventHandler. The main difference between this impl
and the Aura impl is that there is a bridge class between RWHVMac and
RWHVCocoa (RenderWidgetHostViewNsBridgeView).

BUG=680809

Change-Id: I524c98c059ae4883bf597704c326b5a0055f1212
Reviewed-on: https://chromium-review.googlesource.com/989618
Reviewed-by: ccameron <ccameron@chromium.org>
Reviewed-by: Nick Carter <nick@chromium.org>
Commit-Queue: Joe Downing <joedow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#551491}
2018-04-17 22:00:27 +00:00

17 lines
496 B
C++

// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_KEYBOARD_LOCK_BROWSERTEST_H_
#define CONTENT_BROWSER_KEYBOARD_LOCK_BROWSERTEST_H_
namespace content {
void SetWindowFocusForKeyboardLockBrowserTests(bool is_focused);
void InstallCreateHooksForKeyboardLockBrowserTests();
} // namespace content
#endif // CONTENT_BROWSER_KEYBOARD_LOCK_BROWSERTEST_H_