Fix cpplint errors.
This commit is contained in:
parent
09f8488893
commit
c9e9080a35
2 changed files with 3 additions and 1 deletions
|
@ -70,7 +70,8 @@ bool StringToAccelerator(const std::string& description,
|
||||||
} else if (tokens[i][0] >= '0' && tokens[i][0] <= '9') {
|
} else if (tokens[i][0] >= '0' && tokens[i][0] <= '9') {
|
||||||
key = static_cast<ui::KeyboardCode>(ui::VKEY_0 + (tokens[i][0] - '0'));
|
key = static_cast<ui::KeyboardCode>(ui::VKEY_0 + (tokens[i][0] - '0'));
|
||||||
} else if (tokens[i][0] >= '+' && tokens[i][0] <= '.') {
|
} else if (tokens[i][0] >= '+' && tokens[i][0] <= '.') {
|
||||||
key = static_cast<ui::KeyboardCode>(ui::VKEY_OEM_PLUS + (tokens[i][0] - '+'));
|
key = static_cast<ui::KeyboardCode>(
|
||||||
|
ui::VKEY_OEM_PLUS + (tokens[i][0] - '+'));
|
||||||
} else {
|
} else {
|
||||||
LOG(WARNING) << "Invalid accelerator character: " << tokens[i];
|
LOG(WARNING) << "Invalid accelerator character: " << tokens[i];
|
||||||
key = ui::VKEY_UNKNOWN;
|
key = ui::VKEY_UNKNOWN;
|
||||||
|
|
|
@ -8,6 +8,7 @@ browser/atom_event_processing_window.h
|
||||||
browser/atom_application_mac.h
|
browser/atom_application_mac.h
|
||||||
browser/atom_application_delegate_mac.h
|
browser/atom_application_delegate_mac.h
|
||||||
browser/native_window_mac.h
|
browser/native_window_mac.h
|
||||||
|
browser/nsalert_synchronous_sheet.h
|
||||||
common/api/api_messages.cc
|
common/api/api_messages.cc
|
||||||
common/api/api_messages.h'
|
common/api/api_messages.h'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue