Side by Side Diff
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Keyboard Shortcuts
File
u
:
up to issue
j
/
k
:
jump to file after / before current file
J
/
K
:
jump to next file with a comment after / before current file
Side-by-side diff
i
:
toggle intra-line diffs
e
:
expand all comments
c
:
collapse all comments
s
:
toggle showing all comments
n
/
p
:
next / previous diff chunk or comment
N
/
P
:
next / previous comment
<Up>
/
<Down>
:
next / previous line
Issue
u
:
up to list of issues
j
/
k
:
jump to patch after / before current patch
o
/
<Enter>
:
open current patch in side-by-side view
i
:
open current patch in unified diff view
Issue List
j
/
k
:
jump to issue after / before current issue
o
/
<Enter>
:
open current issue
Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr)
|
Please choose your nickname with
Settings
|
Help
|
Chromium Project
|
Gerrit Changes
|
Sign out
(15)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: ui/events/devices/input_device_manager.cc
Issue
2028593004
:
Add new InputDeviceManager interface. (Closed)
Base URL: https://chromium.googlesource.com/chromium/src.git@remove_keyboard
Patch Set:
Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Context:
3 lines
10 lines
25 lines
50 lines
75 lines
100 lines
Whole file
Column Width:
Tab Spaces:
Jump to:
ash/display/display_change_observer_chromeos.cc
ash/virtual_keyboard_controller.cc
chrome/browser/chromeos/events/event_rewriter.cc
chrome/browser/chromeos/system/pointer_device_observer.cc
chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc
chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h
chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc
ui/base/touch/touch_device_linux.cc
ui/events/devices/BUILD.gn
ui/events/devices/device_data_manager.h
ui/events/devices/device_data_manager.cc
ui/events/devices/input_device_manager.h
ui/events/devices/input_device_manager.cc
ui/events/x/events_x_utils.cc
View unified diff
|
Download patch
« ui/events/devices/input_device_manager.h
('K') |
« ui/events/devices/input_device_manager.h
('k') |
ui/events/x/events_x_utils.cc »
('j') |
no next file with comments »
Toggle Intra-line Diffs
('i') |
Expand Comments
('e') |
Collapse Comments
('c') |
Show Comments
Hide Comments
('s')
OLD
NEW
(Empty)
1
// Copyright 2016 The Chromium Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#include "ui/events/devices/input_device_manager.h"
6
7
namespace ui {
8
9
InputDeviceManager* InputDeviceManager::instance_ = nullptr;
10
11
// static
12
InputDeviceManager* InputDeviceManager::GetInstance() {
13
DCHECK(instance_);
14
return instance_;
15
}
16
17
// static
18
bool InputDeviceManager::HasInstance() {
19
return instance_;
20
}
21
22
// static
23
void InputDeviceManager::SetInstance(InputDeviceManager* instance) {
24
DCHECK(!instance_);
25
instance_ = instance;
26
}
27
28
// static
29
void InputDeviceManager::ClearInstance() {
30
instance_ = nullptr;
31
}
32
33
} // namespace ui
OLD
NEW
« ui/events/devices/input_device_manager.h
('K') |
« ui/events/devices/input_device_manager.h
('k') |
ui/events/x/events_x_utils.cc »
('j') |
no next file with comments »
Issue 2028593004: Add new InputDeviceManager interface. (Closed)
Created 4 years, 6 months ago by kylechar
Modified 4 years, 6 months ago
Reviewers: sadrul, sky
Base URL: https://chromium.googlesource.com/chromium/src.git@remove_keyboard
Comments: 2
This is Rietveld
408576698