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

Unified Diff: chrome/browser/tab_contents/render_view_context_menu.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/tab_contents/render_view_context_menu.cc
===================================================================
--- chrome/browser/tab_contents/render_view_context_menu.cc (revision 191609)
+++ chrome/browser/tab_contents/render_view_context_menu.cc (working copy)
@@ -412,14 +412,14 @@
return;
}
- chrome::ViewType view_type = chrome::GetViewType(source_web_contents_);
- if (view_type == chrome::VIEW_TYPE_APP_SHELL) {
+ extensions::ViewType view_type = chrome::GetViewType(source_web_contents_);
+ if (view_type == extensions::VIEW_TYPE_APP_SHELL) {
AppendPlatformAppItems();
return;
- } else if (view_type == chrome::VIEW_TYPE_EXTENSION_POPUP) {
+ } else if (view_type == extensions::VIEW_TYPE_EXTENSION_POPUP) {
AppendPopupExtensionItems();
return;
- } else if (view_type == chrome::VIEW_TYPE_PANEL) {
+ } else if (view_type == extensions::VIEW_TYPE_PANEL) {
AppendPanelItems();
return;
}

Powered by Google App Engine
This is Rietveld 408576698