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

Unified Diff: chrome/browser/bookmarks/bookmark_manager_extension_api.h

Issue 10544021: Disable the new window context menu option in the bookmarks extension for Windows 8 metro mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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/bookmarks/bookmark_manager_extension_api.h
===================================================================
--- chrome/browser/bookmarks/bookmark_manager_extension_api.h (revision 140583)
+++ chrome/browser/bookmarks/bookmark_manager_extension_api.h (working copy)
@@ -182,4 +182,17 @@
virtual bool RunImpl() OVERRIDE;
};
+class CanOpenNewWindowsBookmarkFunction : public BookmarksFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION_NAME(
+ "experimental.bookmarkManager.canOpenNewWindows");
+
+ protected:
+ virtual ~CanOpenNewWindowsBookmarkFunction() {}
+
+ // ExtensionFunction:
+ virtual bool RunImpl() OVERRIDE;
+};
+
+
#endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_MANAGER_EXTENSION_API_H_

Powered by Google App Engine
This is Rietveld 408576698