| 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_EXTENSION_TABS_MODULE_H__ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "chrome/browser/extensions/extension_function.h" | 13 #include "chrome/browser/extensions/extension_function.h" |
| 14 #include "content/public/browser/notification_observer.h" | 14 #include "content/public/browser/notification_observer.h" |
| 15 #include "content/public/browser/notification_registrar.h" | 15 #include "content/public/browser/notification_registrar.h" |
| 16 #include "content/public/browser/web_contents_observer.h" | 16 #include "content/public/browser/web_contents_observer.h" |
| 17 #include "googleurl/src/gurl.h" | 17 #include "googleurl/src/gurl.h" |
| 18 | 18 |
| 19 class BackingStore; | 19 class BackingStore; |
| 20 class Extension; | |
| 21 class GURL; | 20 class GURL; |
| 22 class SkBitmap; | 21 class SkBitmap; |
| 23 class TabContentsWrapper; | 22 class TabContentsWrapper; |
| 23 |
| 24 namespace base { | 24 namespace base { |
| 25 class DictionaryValue; | 25 class DictionaryValue; |
| 26 } // namespace base | 26 } |
| 27 |
| 27 namespace content { | 28 namespace content { |
| 28 class WebContents; | 29 class WebContents; |
| 29 } // namespace content | 30 } |
| 31 |
| 30 namespace skia { | 32 namespace skia { |
| 31 class PlatformCanvas; | 33 class PlatformCanvas; |
| 32 } // namespace skia | 34 } |
| 33 | 35 |
| 34 // Windows | 36 // Windows |
| 35 class GetWindowFunction : public SyncExtensionFunction { | 37 class GetWindowFunction : public SyncExtensionFunction { |
| 36 virtual ~GetWindowFunction() {} | 38 virtual ~GetWindowFunction() {} |
| 37 virtual bool RunImpl() OVERRIDE; | 39 virtual bool RunImpl() OVERRIDE; |
| 38 DECLARE_EXTENSION_FUNCTION_NAME("windows.get") | 40 DECLARE_EXTENSION_FUNCTION_NAME("windows.get") |
| 39 }; | 41 }; |
| 40 class GetCurrentWindowFunction : public SyncExtensionFunction { | 42 class GetCurrentWindowFunction : public SyncExtensionFunction { |
| 41 virtual ~GetCurrentWindowFunction() {} | 43 virtual ~GetCurrentWindowFunction() {} |
| 42 virtual bool RunImpl() OVERRIDE; | 44 virtual bool RunImpl() OVERRIDE; |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 // The format (JPEG vs PNG) of the resulting image. Set in RunImpl(). | 195 // The format (JPEG vs PNG) of the resulting image. Set in RunImpl(). |
| 194 ImageFormat image_format_; | 196 ImageFormat image_format_; |
| 195 | 197 |
| 196 // Quality setting to use when encoding jpegs. Set in RunImpl(). | 198 // Quality setting to use when encoding jpegs. Set in RunImpl(). |
| 197 int image_quality_; | 199 int image_quality_; |
| 198 | 200 |
| 199 DECLARE_EXTENSION_FUNCTION_NAME("tabs.captureVisibleTab") | 201 DECLARE_EXTENSION_FUNCTION_NAME("tabs.captureVisibleTab") |
| 200 }; | 202 }; |
| 201 | 203 |
| 202 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ | 204 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ |
| OLD | NEW |