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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_MANAGER_EXTENSION_API_H_ 5 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_MANAGER_EXTENSION_API_H_
6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_MANAGER_EXTENSION_API_H_ 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_MANAGER_EXTENSION_API_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/bookmarks/bookmark_extension_api.h" 9 #include "chrome/browser/bookmarks/bookmark_extension_api.h"
10 #include "chrome/browser/bookmarks/bookmark_node_data.h" 10 #include "chrome/browser/bookmarks/bookmark_node_data.h"
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 public: 175 public:
176 DECLARE_EXTENSION_FUNCTION_NAME("experimental.bookmarkManager.recordLaunch") 176 DECLARE_EXTENSION_FUNCTION_NAME("experimental.bookmarkManager.recordLaunch")
177 177
178 protected: 178 protected:
179 virtual ~RecordLaunchBookmarkFunction() {} 179 virtual ~RecordLaunchBookmarkFunction() {}
180 180
181 // ExtensionFunction: 181 // ExtensionFunction:
182 virtual bool RunImpl() OVERRIDE; 182 virtual bool RunImpl() OVERRIDE;
183 }; 183 };
184 184
185 class CanOpenNewWindowsBookmarkFunction : public BookmarksFunction {
186 public:
187 DECLARE_EXTENSION_FUNCTION_NAME(
188 "experimental.bookmarkManager.canOpenNewWindows");
189
190 protected:
191 virtual ~CanOpenNewWindowsBookmarkFunction() {}
192
193 // ExtensionFunction:
194 virtual bool RunImpl() OVERRIDE;
195 };
196
197
185 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_MANAGER_EXTENSION_API_H_ 198 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_MANAGER_EXTENSION_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698