| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_GEARS_INTEGRATION_H__ | 5 #ifndef CHROME_BROWSER_GEARS_INTEGRATION_H__ |
| 6 #define CHROME_BROWSER_GEARS_INTEGRATION_H__ | 6 #define CHROME_BROWSER_GEARS_INTEGRATION_H__ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/gfx/native_widget_types.h" | 10 #include "app/gfx/native_widget_types.h" |
| 11 #include "base/task.h" | 11 #include "base/task.h" |
| 12 #include "chrome/common/gears_api.h" | 12 #include "chrome/common/gears_api.h" |
| 13 | 13 |
| 14 // TODO(michaeln): Rework this interface to match how other first class | 14 // TODO(michaeln): Rework this interface to match how other first class |
| 15 // citizens of chrome are structured, as a GearsService with an accessor | 15 // citizens of chrome are structured, as a GearsService with an accessor |
| 16 // available via browser.gears_service(). | 16 // available via browser.gears_service(). |
| 17 | 17 |
| 18 class CPCommandInterface; | 18 class CPCommandInterface; |
| 19 class GURL; | 19 class GURL; |
| 20 class SkBitmap; | 20 class SkBitmap; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 51 // asynchronously via the callback. The callback's arguments will be NULL | 51 // asynchronously via the callback. The callback's arguments will be NULL |
| 52 // if there was an error. | 52 // if there was an error. |
| 53 typedef Callback1<GearsShortcutList*>::Type GearsQueryShortcutsCallback; | 53 typedef Callback1<GearsShortcutList*>::Type GearsQueryShortcutsCallback; |
| 54 | 54 |
| 55 void GearsQueryShortcuts(GearsQueryShortcutsCallback* callback); | 55 void GearsQueryShortcuts(GearsQueryShortcutsCallback* callback); |
| 56 | 56 |
| 57 // When the Gears shortcut database is modified, the main thread is notified | 57 // When the Gears shortcut database is modified, the main thread is notified |
| 58 // via the NotificationService, NOTIFY_WEB_APP_INSTALL_CHANGED. | 58 // via the NotificationService, NOTIFY_WEB_APP_INSTALL_CHANGED. |
| 59 | 59 |
| 60 #endif // CHROME_BROWSER_GEARS_INTEGRATION_H__ | 60 #endif // CHROME_BROWSER_GEARS_INTEGRATION_H__ |
| OLD | NEW |