Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(566)

Unified Diff: extensions/browser/api/capture_web_contents_function.h

Issue 1055673002: [Extensions API] Remove inline enums (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/browser/api/capture_web_contents_function.h
diff --git a/extensions/browser/api/capture_web_contents_function.h b/extensions/browser/api/capture_web_contents_function.h
index 9f60234104d0db2760f335efb7778d6de2212586..37100a9ff3685d7654192f0435040f2ffe197f30 100644
--- a/extensions/browser/api/capture_web_contents_function.h
+++ b/extensions/browser/api/capture_web_contents_function.h
@@ -41,7 +41,6 @@ class CaptureWebContentsFunction : public AsyncExtensionFunction {
virtual void OnCaptureFailure(FailureReason reason) = 0;
private:
- typedef core_api::extension_types::ImageDetails ImageDetails;
void CopyFromBackingStoreComplete(const SkBitmap& bitmap,
content::ReadbackResponse response);
@@ -54,7 +53,7 @@ class CaptureWebContentsFunction : public AsyncExtensionFunction {
int context_id_;
// The format (JPEG vs PNG) of the resulting image. Set in RunAsync().
- ImageDetails::Format image_format_;
+ core_api::extension_types::ImageFormat image_format_;
// Quality setting to use when encoding jpegs. Set in RunAsync().
int image_quality_;
« no previous file with comments | « chrome/test/data/extensions/webui/runtime_last_error.js ('k') | extensions/browser/api/capture_web_contents_function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698