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

Unified Diff: chrome/browser/ui/views/extensions/extension_view.h

Issue 8520036: Revert 110262 - Have ExtensionHost use TabContents instead of RenderViewHost. Try #2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
Index: chrome/browser/ui/views/extensions/extension_view.h
===================================================================
--- chrome/browser/ui/views/extensions/extension_view.h (revision 110269)
+++ chrome/browser/ui/views/extensions/extension_view.h (working copy)
@@ -28,6 +28,9 @@
class Container {
public:
virtual ~Container() {}
+ // Mouse event notifications from the view. (useful for hover UI).
+ virtual void OnExtensionMouseMove(ExtensionView* view) = 0;
+ virtual void OnExtensionMouseLeave(ExtensionView* view) = 0;
virtual void OnExtensionPreferredSizeChanged(ExtensionView* view) {}
};
@@ -40,6 +43,8 @@
// Notification from ExtensionHost.
void UpdatePreferredSize(const gfx::Size& new_size);
+ void HandleMouseMove();
+ void HandleMouseLeave();
// Method for the ExtensionHost to notify us when the RenderViewHost has a
// connection.
Property changes on: chrome/browser/ui/views/extensions/extension_view.h
___________________________________________________________________
Added: svn:mergeinfo
« no previous file with comments | « chrome/browser/ui/views/extensions/extension_popup.cc ('k') | chrome/browser/ui/views/extensions/extension_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698