summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_input_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_input_api.h')
-rw-r--r--chrome/browser/extensions/extension_input_api.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/extensions/extension_input_api.h b/chrome/browser/extensions/extension_input_api.h
index 3000211..39a8161 100644
--- a/chrome/browser/extensions/extension_input_api.h
+++ b/chrome/browser/extensions/extension_input_api.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.
@@ -9,7 +9,7 @@
#include "chrome/browser/extensions/extension_function.h"
namespace views {
- class RootView;
+class Widget;
} // namespace views
// Base class for input APIs.
@@ -30,7 +30,7 @@ class SendKeyboardEventInputFunction : public InputFunction {
DECLARE_EXTENSION_FUNCTION_NAME("experimental.input.sendKeyboardEvent");
private:
- views::RootView* GetRootView();
+ views::Widget* GetTopLevelWidget();
};
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_API_H_