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

Unified Diff: chrome/browser/tab_contents/render_view_context_menu.h

Issue 9235002: Enable devtools via context menu in platform apps and popup extensions. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Keep inspect popup command working Created 8 years, 11 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.h
diff --git a/chrome/browser/tab_contents/render_view_context_menu.h b/chrome/browser/tab_contents/render_view_context_menu.h
index e28bb76bb50f82069f4b5a7c1a2b174ab68a3ecb..5ef298d321afb5c713401f5a2fd0efd5ae1bf04b 100644
--- a/chrome/browser/tab_contents/render_view_context_menu.h
+++ b/chrome/browser/tab_contents/render_view_context_menu.h
@@ -195,6 +195,9 @@ class RenderViewContextMenu : public ui::SimpleMenuModel::Delegate,
Profile* profile,
bool can_cross_incognito);
+ // Gets the extension (if any) associated with the TabContents that we're
+ // in.
not at google - send to devlin 2012/01/23 05:43:51 1 line
benwells 2012/01/23 06:42:23 Done.
+ const Extension* GetExtension() const;
// Gets the platform app (if any) associated with the TabContents that we're
// in.
const Extension* GetPlatformApp() const;
not at google - send to devlin 2012/01/23 05:43:51 I reckon we don't need this method at all anymore.
benwells 2012/01/23 06:42:23 Done.

Powered by Google App Engine
This is Rietveld 408576698