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

Side by Side Diff: chrome/browser/extensions/api/webview/webview_api.cc

Issue 12213093: Remove ImageLoadingTracker class (Closed) Base URL: https://git.chromium.org/chromium/src.git@Issue_163929
Patch Set: Fix merge conflict Created 7 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "chrome/browser/extensions/api/webview/webview_api.h" 5 #include "chrome/browser/extensions/api/webview/webview_api.h"
6 6
7 #include "chrome/common/extensions/api/webview.h" 7 #include "chrome/common/extensions/api/webview.h"
8 #include "content/public/browser/render_view_host.h" 8 #include "content/public/browser/render_view_host.h"
9 #include "ui/gfx/image/image_skia.h"
9 10
10 using namespace extensions::api::webview; 11 using namespace extensions::api::webview;
11 12
12 WebviewExecuteScriptFunction::WebviewExecuteScriptFunction() { 13 WebviewExecuteScriptFunction::WebviewExecuteScriptFunction() {
13 } 14 }
14 15
15 WebviewExecuteScriptFunction::~WebviewExecuteScriptFunction() { 16 WebviewExecuteScriptFunction::~WebviewExecuteScriptFunction() {
16 } 17 }
17 18
18 bool WebviewExecuteScriptFunction::RunImpl() { 19 bool WebviewExecuteScriptFunction::RunImpl() {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 const ListValue& result) { 80 const ListValue& result) {
80 if (error.empty()) { 81 if (error.empty()) {
81 SetResult(result.DeepCopy()); 82 SetResult(result.DeepCopy());
82 } else { 83 } else {
83 SetError(error); 84 SetError(error);
84 } 85 }
85 SendResponse(error.empty()); 86 SendResponse(error.empty());
86 Release(); // Added in RunImpl(). 87 Release(); // Added in RunImpl().
87 } 88 }
88 89
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698