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

Unified Diff: content/public/common/transition_element.h

Issue 652953008: Navigation transitions (web to native app): Pass data after starting provisional load (Chrome side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 1 month 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: content/public/common/transition_element.h
diff --git a/content/public/common/transition_element.h b/content/public/common/transition_element.h
new file mode 100644
index 0000000000000000000000000000000000000000..d8168b8ccf55fd709a0976611112f948d4855731
--- /dev/null
+++ b/content/public/common/transition_element.h
@@ -0,0 +1,23 @@
+// 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 CONTENT_PUBLIC_COMMON_TRANSITION_ELEMENT_H_
+#define CONTENT_PUBLIC_COMMON_TRANSITION_ELEMENT_H_
+
+#include <string>
+
+#include "content/common/content_export.h"
+#include "ui/gfx/geometry/rect.h"
+
+namespace content {
+
+// This struct stores the information of one transition element.
+struct CONTENT_EXPORT TransitionElement {
+ std::string name;
+ gfx::Rect rect;
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_TRANSITION_ELEMENT_H_

Powered by Google App Engine
This is Rietveld 408576698