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

Unified Diff: chrome/browser/extensions/api/developer_private/developer_private_api.cc

Issue 13375017: Move the ViewType enum to extensions\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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: chrome/browser/extensions/api/developer_private/developer_private_api.cc
===================================================================
--- chrome/browser/extensions/api/developer_private/developer_private_api.cc (revision 191609)
+++ chrome/browser/extensions/api/developer_private/developer_private_api.cc (working copy)
@@ -228,9 +228,9 @@
content::RenderViewHost* host = *iter;
content::WebContents* web_contents =
content::WebContents::FromRenderViewHost(host);
- chrome::ViewType host_type = chrome::GetViewType(web_contents);
- if (chrome::VIEW_TYPE_EXTENSION_POPUP == host_type ||
- chrome::VIEW_TYPE_EXTENSION_DIALOG == host_type)
+ extensions::ViewType host_type = chrome::GetViewType(web_contents);
Yoyo Zhou 2013/04/01 17:36:51 ditto
+ if (extensions::VIEW_TYPE_EXTENSION_POPUP == host_type ||
+ extensions::VIEW_TYPE_EXTENSION_DIALOG == host_type)
continue;
content::RenderProcessHost* process = host->GetProcess();

Powered by Google App Engine
This is Rietveld 408576698