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

Unified Diff: content/renderer/context_menu_params_builder.h

Issue 15049004: Move ContextMenuParams(WebContextMenuInfo) ctor to content/renderer/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
« no previous file with comments | « content/public/common/context_menu_params.cc ('k') | content/renderer/context_menu_params_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/context_menu_params_builder.h
diff --git a/content/renderer/context_menu_params_builder.h b/content/renderer/context_menu_params_builder.h
new file mode 100644
index 0000000000000000000000000000000000000000..6381a4d20b10bf1220827f2ddf869e0e5db375cb
--- /dev/null
+++ b/content/renderer/context_menu_params_builder.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_RENDERER_CONTEXT_MENU_PARAMS_BUILDER_H_
+#define CONTENT_RENDERER_CONTEXT_MENU_PARAMS_BUILDER_H_
+
+#include "content/public/common/context_menu_params.h"
+
+namespace content {
+
+class ContextMenuParamsBuilder : public ContextMenuParams {
+ public:
+ ContextMenuParamsBuilder(const WebKit::WebContextMenuData& data);
jamesr 2013/05/14 04:00:04 explicit if you decide to stick with this pattern
+};
+
+} // namespace content
+
+#endif // CONTENT_RENDERER_CONTEXT_MENU_PARAMS_BUILDER_H_
« no previous file with comments | « content/public/common/context_menu_params.cc ('k') | content/renderer/context_menu_params_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698