| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |