| Index: views/accelerator.h
|
| diff --git a/views/accelerator.h b/views/accelerator.h
|
| index a54a431380ce7f85efef7ee88a9c282cb682a90b..9296e88b3f6112a89abfcb220eaa2c5a39ba390b 100644
|
| --- a/views/accelerator.h
|
| +++ b/views/accelerator.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2010 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.
|
|
|
| @@ -22,6 +22,9 @@ class Accelerator : public menus::Accelerator {
|
| public:
|
| Accelerator() : menus::Accelerator() {}
|
|
|
| + Accelerator(base::KeyboardCode keycode, int modifiers)
|
| + : menus::Accelerator(keycode, modifiers) {}
|
| +
|
| Accelerator(base::KeyboardCode keycode,
|
| bool shift_pressed, bool ctrl_pressed, bool alt_pressed) {
|
| key_code_ = keycode;
|
|
|