Default to current UI locale when recommended locales are invalid
[chromium-blink-merge.git] / content / renderer / context_menu_params_builder.h
blob624f85505c8a9829dba91e80e707a32d42ad96e6
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_RENDERER_CONTEXT_MENU_PARAMS_BUILDER_H_
6 #define CONTENT_RENDERER_CONTEXT_MENU_PARAMS_BUILDER_H_
8 namespace blink {
9 struct WebContextMenuData;
12 namespace content {
13 struct ContextMenuParams;
15 class ContextMenuParamsBuilder {
16 public:
17 static ContextMenuParams Build(const blink::WebContextMenuData& data);
20 } // namespace content
22 #endif // CONTENT_RENDERER_CONTEXT_MENU_PARAMS_BUILDER_H_