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

Side by Side Diff: chrome/browser/extensions/extension_function_dispatcher.cc

Issue 596105: Bookmark Manager Drag and Drop backend.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include "chrome/browser/extensions/extension_function_dispatcher.h" 5 #include "chrome/browser/extensions/extension_function_dispatcher.h"
6 6
7 #include "base/process_util.h" 7 #include "base/process_util.h"
8 #include "base/singleton.h" 8 #include "base/singleton.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/browser.h" 10 #include "chrome/browser/browser.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 // BookmarkManager 139 // BookmarkManager
140 RegisterFunction<CopyBookmarkManagerFunction>(); 140 RegisterFunction<CopyBookmarkManagerFunction>();
141 RegisterFunction<CutBookmarkManagerFunction>(); 141 RegisterFunction<CutBookmarkManagerFunction>();
142 RegisterFunction<PasteBookmarkManagerFunction>(); 142 RegisterFunction<PasteBookmarkManagerFunction>();
143 RegisterFunction<CanPasteBookmarkManagerFunction>(); 143 RegisterFunction<CanPasteBookmarkManagerFunction>();
144 RegisterFunction<ImportBookmarksFunction>(); 144 RegisterFunction<ImportBookmarksFunction>();
145 RegisterFunction<ExportBookmarksFunction>(); 145 RegisterFunction<ExportBookmarksFunction>();
146 RegisterFunction<SortChildrenBookmarkManagerFunction>(); 146 RegisterFunction<SortChildrenBookmarkManagerFunction>();
147 RegisterFunction<BookmarkManagerGetStringsFunction>(); 147 RegisterFunction<BookmarkManagerGetStringsFunction>();
148 RegisterFunction<StartDragBookmarkManagerFunction>();
149 RegisterFunction<DropBookmarkManagerFunction>();
148 150
149 // History 151 // History
150 RegisterFunction<AddUrlHistoryFunction>(); 152 RegisterFunction<AddUrlHistoryFunction>();
151 RegisterFunction<DeleteAllHistoryFunction>(); 153 RegisterFunction<DeleteAllHistoryFunction>();
152 RegisterFunction<DeleteRangeHistoryFunction>(); 154 RegisterFunction<DeleteRangeHistoryFunction>();
153 RegisterFunction<DeleteUrlHistoryFunction>(); 155 RegisterFunction<DeleteUrlHistoryFunction>();
154 RegisterFunction<GetVisitsHistoryFunction>(); 156 RegisterFunction<GetVisitsHistoryFunction>();
155 RegisterFunction<SearchHistoryFunction>(); 157 RegisterFunction<SearchHistoryFunction>();
156 158
157 // Toolstrips. 159 // Toolstrips.
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 } 356 }
355 } 357 }
356 358
357 Profile* ExtensionFunctionDispatcher::profile() { 359 Profile* ExtensionFunctionDispatcher::profile() {
358 return render_view_host_->process()->profile(); 360 return render_view_host_->process()->profile();
359 } 361 }
360 362
361 gfx::NativeWindow ExtensionFunctionDispatcher::GetFrameNativeWindow() { 363 gfx::NativeWindow ExtensionFunctionDispatcher::GetFrameNativeWindow() {
362 return delegate_ ? delegate_->GetFrameNativeWindow() : NULL; 364 return delegate_ ? delegate_->GetFrameNativeWindow() : NULL;
363 } 365 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698