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

Unified Diff: chrome/browser/extensions/extension_popup_api.h

Issue 385061: experimental.popup support for tab-content-viewed extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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
« no previous file with comments | « chrome/browser/extensions/extension_host.cc ('k') | chrome/browser/extensions/extension_popup_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_popup_api.h
===================================================================
--- chrome/browser/extensions/extension_popup_api.h (revision 31907)
+++ chrome/browser/extensions/extension_popup_api.h (working copy)
@@ -8,6 +8,10 @@
#include "chrome/browser/extensions/extension_function.h"
#include "chrome/common/notification_registrar.h"
+namespace gfx {
+class Point;
+} // namespace gfx
+
class Profile;
class ExtensionPopup;
@@ -24,6 +28,10 @@
DECLARE_EXTENSION_FUNCTION_NAME("experimental.popup.show")
private:
+ // Computes the screen-space position of the frame-relative point in the
+ // extension view that is requesting to display a popup.
+ bool ConvertHostPointToScreen(gfx::Point* point);
+
// NotificationObserver methods.
virtual void Observe(NotificationType type,
const NotificationSource& source,
« no previous file with comments | « chrome/browser/extensions/extension_host.cc ('k') | chrome/browser/extensions/extension_popup_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698