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

Unified Diff: ios/public/provider/web/web_state.h

Issue 18541002: Introduce the WebState iOS provider interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Created 7 years, 6 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/public/provider/web/web_state.h
diff --git a/ios/public/provider/web/web_state.h b/ios/public/provider/web/web_state.h
new file mode 100644
index 0000000000000000000000000000000000000000..8bab479f8ad56756de8b340fd0ba4eca54be0c39
--- /dev/null
+++ b/ios/public/provider/web/web_state.h
@@ -0,0 +1,21 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
stuartmorgan 2013/07/02 15:24:26 s/(c) 2012/2013/
blundell 2013/07/02 16:16:37 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef IOS_PUBLIC_PROVIDER_WEB_WEB_STATE_H_
+#define IOS_PUBLIC_PROVIDER_WEB_WEB_STATE_H_
+
+#include "ios/public/consumer/base/supports_user_data.h"
+
+namespace ios {
+
+// Core interface for interaction with the web. There is one WebState per tab.
stuartmorgan 2013/07/02 15:24:26 Since web/ is intended to parallel content/, we sh
blundell 2013/07/02 16:16:37 Removed. Didn't add anything else, since this inte
+class WebState : public ios::SupportsUserData {
+ protected:
+ WebState() {}
+ virtual ~WebState() {}
stuartmorgan 2013/07/02 15:24:26 These are intended one level too far. Also, why is
blundell 2013/07/02 16:16:37 Done.
+};
+
+} // namespace ios
+
+#endif // IOS_PUBLIC_PROVIDER_WEB_WEB_STATE_H_

Powered by Google App Engine
This is Rietveld 408576698