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

Side by Side Diff: chrome/browser/automation/automation_provider_observers.cc

Issue 10453101: Convert most of the rest of chrome to ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider_observers_chromeos.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "chrome/browser/automation/automation_provider_observers.h" 5 #include "chrome/browser/automation/automation_provider_observers.h"
6 6
7 #include <deque> 7 #include <deque>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 #include "chrome/common/extensions/extension.h" 72 #include "chrome/common/extensions/extension.h"
73 #include "chrome/common/view_type.h" 73 #include "chrome/common/view_type.h"
74 #include "content/public/browser/dom_operation_notification_details.h" 74 #include "content/public/browser/dom_operation_notification_details.h"
75 #include "content/public/browser/navigation_controller.h" 75 #include "content/public/browser/navigation_controller.h"
76 #include "content/public/browser/notification_service.h" 76 #include "content/public/browser/notification_service.h"
77 #include "content/public/browser/render_process_host.h" 77 #include "content/public/browser/render_process_host.h"
78 #include "content/public/browser/render_view_host.h" 78 #include "content/public/browser/render_view_host.h"
79 #include "content/public/browser/web_contents.h" 79 #include "content/public/browser/web_contents.h"
80 #include "content/public/common/process_type.h" 80 #include "content/public/common/process_type.h"
81 #include "googleurl/src/gurl.h" 81 #include "googleurl/src/gurl.h"
82 #include "third_party/skia/include/core/SkBitmap.h"
83 #include "ui/gfx/codec/png_codec.h" 82 #include "ui/gfx/codec/png_codec.h"
84 #include "ui/gfx/rect.h" 83 #include "ui/gfx/rect.h"
85 84
86 using content::BrowserThread; 85 using content::BrowserThread;
87 using content::DomOperationNotificationDetails; 86 using content::DomOperationNotificationDetails;
88 using content::DownloadItem; 87 using content::DownloadItem;
89 using content::DownloadManager; 88 using content::DownloadManager;
90 using content::NavigationController; 89 using content::NavigationController;
91 using content::RenderViewHost; 90 using content::RenderViewHost;
92 using content::WebContents; 91 using content::WebContents;
(...skipping 2924 matching lines...) Expand 10 before | Expand all | Expand 10 after
3017 } 3016 }
3018 3017
3019 ExtensionHost* host = content::Details<ExtensionHost>(details).ptr(); 3018 ExtensionHost* host = content::Details<ExtensionHost>(details).ptr();
3020 if (host->extension_id() == extension_id_ && 3019 if (host->extension_id() == extension_id_ &&
3021 host->extension_host_type() == chrome::VIEW_TYPE_EXTENSION_POPUP) { 3020 host->extension_host_type() == chrome::VIEW_TYPE_EXTENSION_POPUP) {
3022 AutomationJSONReply(automation_, reply_message_.release()) 3021 AutomationJSONReply(automation_, reply_message_.release())
3023 .SendSuccess(NULL); 3022 .SendSuccess(NULL);
3024 delete this; 3023 delete this;
3025 } 3024 }
3026 } 3025 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider_observers_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698