Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ios / web / web_state / frame_info.h
blob825f17f4745e15050d9bab7f02d45837acec2939
1 // Copyright 2015 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 IOS_WEB_WEB_STATE_FRAME_INFO_H_
6 #define IOS_WEB_WEB_STATE_FRAME_INFO_H_
8 namespace web {
10 // Data Transfer Object which encapsulates information about a frame.
11 struct FrameInfo {
12 explicit FrameInfo(bool main_frame) : is_main_frame(main_frame) {}
13 // true if frame is main frame, false if subframe.
14 bool is_main_frame;
17 } // namespace web
19 #endif // IOS_WEB_WEB_STATE_FRAME_INFO_H_