Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ios / web / web_state / js / crw_js_window_id_manager.h
blob95e0ab2fa1ad1fccca845073e977b108dfe5634c
1 // Copyright 2014 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_JS_CRW_JS_WINDOW_ID_MANAGER_H_
6 #define IOS_WEB_WEB_STATE_JS_CRW_JS_WINDOW_ID_MANAGER_H_
8 #import "ios/web/public/web_state/js/crw_js_injection_manager.h"
10 // Loads the JavaScript file window_id.js which sets __gCrWeb.windowId and
11 // manages the windowId for messages.
12 @interface CRWJSWindowIdManager : CRWJSInjectionManager
14 // A unique window ID is assigned when the script is injected.
15 @property(nonatomic, copy) NSString* windowId;
17 @end
19 #endif // IOS_WEB_WEB_STATE_JS_CRW_JS_WINDOW_ID_MANAGER_H_