summaryrefslogtreecommitdiffstats
path: root/views/accelerator.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-28 06:32:33 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-28 06:32:33 +0000
commit6827766b1fcc5885b7a8bc8c707e283f71f46f09 (patch)
tree11dc18b19363119d8ab06faf6521b8d6d4d94d52 /views/accelerator.h
parentce681a8b14c05752f9279e7ed945943506f7d628 (diff)
downloadchromium_src-6827766b1fcc5885b7a8bc8c707e283f71f46f09.zip
chromium_src-6827766b1fcc5885b7a8bc8c707e283f71f46f09.tar.gz
chromium_src-6827766b1fcc5885b7a8bc8c707e283f71f46f09.tar.bz2
Create views.dll / libviews.so
R=sky@chromium.org,rvargas@chromium.org Review URL: http://codereview.chromium.org/7493017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94428 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/accelerator.h')
-rw-r--r--views/accelerator.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/views/accelerator.h b/views/accelerator.h
index a6cbaf4..20638b3 100644
--- a/views/accelerator.h
+++ b/views/accelerator.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -17,10 +17,11 @@
#include "base/string16.h"
#include "ui/base/models/accelerator.h"
#include "views/events/event.h"
+#include "views/views_api.h"
namespace views {
-class Accelerator : public ui::Accelerator {
+class VIEWS_API Accelerator : public ui::Accelerator {
public:
Accelerator() : ui::Accelerator() {}
@@ -59,7 +60,7 @@ class Accelerator : public ui::Accelerator {
// An interface that classes that want to register for keyboard accelerators
// should implement.
-class AcceleratorTarget {
+class VIEWS_API AcceleratorTarget {
public:
// This method should return true if the accelerator was processed.
virtual bool AcceleratorPressed(const Accelerator& accelerator) = 0;