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

Unified Diff: ios/web/web_state/web_state.cc

Issue 777183002: Upstream iOS web API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 6 years 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/web_state.cc
diff --git a/ios/web/web_state/web_state.cc b/ios/web/web_state/web_state.cc
new file mode 100644
index 0000000000000000000000000000000000000000..509e1e56d93599211bff8b87efc40c7039bec609
--- /dev/null
+++ b/ios/web/web_state/web_state.cc
@@ -0,0 +1,24 @@
+// 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.
+
+#include "ios/web/public/web_state/web_state.h"
+
+namespace web {
+
+WebState::OpenURLParams::OpenURLParams(const GURL& url,
+ const Referrer& referrer,
+ WindowOpenDisposition disposition,
+ ui::PageTransition transition,
+ bool is_renderer_initiated)
+ : url(url),
+ referrer(referrer),
+ disposition(disposition),
+ transition(transition),
+ is_renderer_initiated(is_renderer_initiated) {
+}
+
+WebState::OpenURLParams::~OpenURLParams() {
+}
+
+} // namespace web

Powered by Google App Engine
This is Rietveld 408576698