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

Side by Side Diff: chrome/browser/bookmarks/bookmark_manager_extension_api.h

Issue 8612007: Add OVERRIDE to chrome/browser/. (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 10 matching lines...) Expand all
21 21
22 // Class that handles the chrome.experimental.bookmarkManager events. 22 // Class that handles the chrome.experimental.bookmarkManager events.
23 class BookmarkManagerExtensionEventRouter 23 class BookmarkManagerExtensionEventRouter
24 : public BookmarkTabHelper::BookmarkDrag { 24 : public BookmarkTabHelper::BookmarkDrag {
25 public: 25 public:
26 BookmarkManagerExtensionEventRouter(Profile* profile, 26 BookmarkManagerExtensionEventRouter(Profile* profile,
27 TabContentsWrapper* tab); 27 TabContentsWrapper* tab);
28 virtual ~BookmarkManagerExtensionEventRouter(); 28 virtual ~BookmarkManagerExtensionEventRouter();
29 29
30 // RenderViewHostDelegate::BookmarkDrag interface 30 // RenderViewHostDelegate::BookmarkDrag interface
31 virtual void OnDragEnter(const BookmarkNodeData& data); 31 virtual void OnDragEnter(const BookmarkNodeData& data) OVERRIDE;
32 virtual void OnDragOver(const BookmarkNodeData& data); 32 virtual void OnDragOver(const BookmarkNodeData& data) OVERRIDE;
33 virtual void OnDragLeave(const BookmarkNodeData& data); 33 virtual void OnDragLeave(const BookmarkNodeData& data) OVERRIDE;
34 virtual void OnDrop(const BookmarkNodeData& data); 34 virtual void OnDrop(const BookmarkNodeData& data) OVERRIDE;
35 35
36 // The bookmark drag and drop data. This gets set after a drop was done on 36 // The bookmark drag and drop data. This gets set after a drop was done on
37 // the page. This returns NULL if no data is available. 37 // the page. This returns NULL if no data is available.
38 const BookmarkNodeData* GetBookmarkNodeData(); 38 const BookmarkNodeData* GetBookmarkNodeData();
39 39
40 // Clears the drag and drop data. 40 // Clears the drag and drop data.
41 void ClearBookmarkNodeData(); 41 void ClearBookmarkNodeData();
42 42
43 private: 43 private:
44 // Helper to actually dispatch an event to extension listeners. 44 // Helper to actually dispatch an event to extension listeners.
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 class RecordLaunchBookmarkFunction : public BookmarksFunction { 141 class RecordLaunchBookmarkFunction : public BookmarksFunction {
142 public: 142 public:
143 virtual bool RunImpl() OVERRIDE; 143 virtual bool RunImpl() OVERRIDE;
144 144
145 private: 145 private:
146 DECLARE_EXTENSION_FUNCTION_NAME("experimental.bookmarkManager.recordLaunch") 146 DECLARE_EXTENSION_FUNCTION_NAME("experimental.bookmarkManager.recordLaunch")
147 }; 147 };
148 148
149 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_MANAGER_EXTENSION_API_H_ 149 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_MANAGER_EXTENSION_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698