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

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

Issue 268143007: Simplify ExtensionPopup widget closing behavior. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove redundant TOOLKIT_VIEWS pre-processor conditions; fix Mac. Created 6 years, 7 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/browser_action_test_util.h
diff --git a/chrome/browser/extensions/browser_action_test_util.h b/chrome/browser/extensions/browser_action_test_util.h
index 25c77c9e005e6ae4c24209d1ab29f97395989026..f1554d91ca8fa6800c68da9d2586da9cdb9ed9b6 100644
--- a/chrome/browser/extensions/browser_action_test_util.h
+++ b/chrome/browser/extensions/browser_action_test_util.h
@@ -8,6 +8,7 @@
#include <string>
#include "build/build_config.h"
+#include "ui/gfx/native_widget_types.h"
class Browser;
class ExtensionAction;
@@ -53,6 +54,8 @@ class BrowserActionTestUtil {
// Returns the current tooltip for the browser action button.
std::string GetTooltip(int index);
+ gfx::NativeView GetPopupNativeView();
+
// Returns whether a browser action popup is being shown currently.
bool HasPopup();

Powered by Google App Engine
This is Rietveld 408576698