OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #import "ios/web/public/web_state/context_menu_params.h" | 5 #import "ios/web/public/web_state/context_menu_params.h" |
6 | 6 |
| 7 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 8 #error "This file requires ARC support." |
| 9 #endif |
| 10 |
7 namespace web { | 11 namespace web { |
8 | 12 |
9 ContextMenuParams::ContextMenuParams() | 13 ContextMenuParams::ContextMenuParams() |
10 : referrer_policy(ReferrerPolicyDefault), location(CGPointZero) {} | 14 : referrer_policy(ReferrerPolicyDefault), location(CGPointZero) {} |
11 | 15 |
12 ContextMenuParams::ContextMenuParams(const ContextMenuParams& other) = default; | 16 ContextMenuParams::ContextMenuParams(const ContextMenuParams& other) = default; |
13 | 17 |
14 ContextMenuParams::~ContextMenuParams() {} | 18 ContextMenuParams::~ContextMenuParams() {} |
15 | 19 |
16 } // namespace web | 20 } // namespace web |
OLD | NEW |