OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_APP_CURRENT_WINDOW_INTERNAL_APP_CURRENT_WI
NDOW_INTERNAL_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_APP_CURRENT_WINDOW_INTERNAL_APP_CURRENT_WI
NDOW_INTERNAL_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_APP_CURRENT_WINDOW_INTERNAL_APP_CURRENT_WI
NDOW_INTERNAL_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_APP_CURRENT_WINDOW_INTERNAL_APP_CURRENT_WI
NDOW_INTERNAL_API_H_ |
7 | 7 |
8 #include "chrome/browser/extensions/extension_function.h" | 8 #include "chrome/browser/extensions/extension_function.h" |
9 | 9 |
10 namespace apps { | 10 namespace apps { |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 : public AppCurrentWindowInternalExtensionFunction { | 148 : public AppCurrentWindowInternalExtensionFunction { |
149 public: | 149 public: |
150 DECLARE_EXTENSION_FUNCTION("app.currentWindowInternal.setInputRegion", | 150 DECLARE_EXTENSION_FUNCTION("app.currentWindowInternal.setInputRegion", |
151 APP_CURRENTWINDOWINTERNAL_SETINPUTREGION) | 151 APP_CURRENTWINDOWINTERNAL_SETINPUTREGION) |
152 | 152 |
153 protected: | 153 protected: |
154 virtual ~AppCurrentWindowInternalSetInputRegionFunction() {} | 154 virtual ~AppCurrentWindowInternalSetInputRegionFunction() {} |
155 virtual bool RunWithWindow(apps::ShellWindow* window) OVERRIDE; | 155 virtual bool RunWithWindow(apps::ShellWindow* window) OVERRIDE; |
156 }; | 156 }; |
157 | 157 |
| 158 class AppCurrentWindowInternalSetAlwaysOnTopFunction |
| 159 : public AppCurrentWindowInternalExtensionFunction { |
| 160 public: |
| 161 DECLARE_EXTENSION_FUNCTION("app.currentWindowInternal.setAlwaysOnTop", |
| 162 APP_CURRENTWINDOWINTERNAL_SETALWAYSONTOP) |
| 163 |
| 164 protected: |
| 165 virtual ~AppCurrentWindowInternalSetAlwaysOnTopFunction() {} |
| 166 virtual bool RunWithWindow(apps::ShellWindow* window) OVERRIDE; |
| 167 }; |
| 168 |
158 } // namespace extensions | 169 } // namespace extensions |
159 | 170 |
160 #endif // CHROME_BROWSER_EXTENSIONS_API_APP_CURRENT_WINDOW_INTERNAL_APP_CURRENT
_WINDOW_INTERNAL_API_H_ | 171 #endif // CHROME_BROWSER_EXTENSIONS_API_APP_CURRENT_WINDOW_INTERNAL_APP_CURRENT
_WINDOW_INTERNAL_API_H_ |
OLD | NEW |