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

Unified Diff: ios/web/web_state/js/crw_js_window_id_manager.h

Issue 1107083002: Upstream more leaf files in ios/web/web_state (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@web-resync
Patch Set: Created 5 years, 8 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
Index: ios/web/web_state/js/crw_js_window_id_manager.h
diff --git a/ios/web/web_state/js/crw_js_window_id_manager.h b/ios/web/web_state/js/crw_js_window_id_manager.h
new file mode 100644
index 0000000000000000000000000000000000000000..95e0ab2fa1ad1fccca845073e977b108dfe5634c
--- /dev/null
+++ b/ios/web/web_state/js/crw_js_window_id_manager.h
@@ -0,0 +1,19 @@
+// Copyright 2014 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 IOS_WEB_WEB_STATE_JS_CRW_JS_WINDOW_ID_MANAGER_H_
+#define IOS_WEB_WEB_STATE_JS_CRW_JS_WINDOW_ID_MANAGER_H_
+
+#import "ios/web/public/web_state/js/crw_js_injection_manager.h"
+
+// Loads the JavaScript file window_id.js which sets __gCrWeb.windowId and
+// manages the windowId for messages.
+@interface CRWJSWindowIdManager : CRWJSInjectionManager
+
+// A unique window ID is assigned when the script is injected.
+@property(nonatomic, copy) NSString* windowId;
+
+@end
+
+#endif // IOS_WEB_WEB_STATE_JS_CRW_JS_WINDOW_ID_MANAGER_H_
« no previous file with comments | « ios/web/web_state/js/crw_js_plugin_placeholder_manager.mm ('k') | ios/web/web_state/js/crw_js_window_id_manager.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698