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

Unified Diff: content/browser/transition_request_manager.h

Issue 672973003: Navigation transitions (web to native app): Clear navigation transition data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « content/browser/transition_browsertest.cc ('k') | content/browser/web_contents/web_contents_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/transition_request_manager.h
diff --git a/content/browser/transition_request_manager.h b/content/browser/transition_request_manager.h
index a610896a6b7c772ca34fe55fc0c8624658fa3542..3db4d87e64d91ceb461b1bb20c66599bab38fb39 100644
--- a/content/browser/transition_request_manager.h
+++ b/content/browser/transition_request_manager.h
@@ -28,8 +28,8 @@ namespace content {
// This struct passes data about an imminent transition between threads.
struct TransitionLayerData {
- TransitionLayerData();
- ~TransitionLayerData();
+ CONTENT_EXPORT TransitionLayerData();
+ CONTENT_EXPORT ~TransitionLayerData();
std::string markup;
std::string css_selector;
@@ -60,10 +60,11 @@ class TransitionRequestManager {
// Returns whether the RenderFrameHost specified by the given IDs currently
// has any pending transition request data. If so, we will have to delay the
// response until the embedder resumes the request.
- bool HasPendingTransitionRequest(int render_process_id,
- int render_frame_id,
- const GURL& request_url,
- TransitionLayerData* transition_data);
+ CONTENT_EXPORT bool HasPendingTransitionRequest(
+ int render_process_id,
+ int render_frame_id,
+ const GURL& request_url,
+ TransitionLayerData* transition_data);
// Adds pending request data for a transition navigation for the
// RenderFrameHost specified by the given IDs.
@@ -79,8 +80,8 @@ class TransitionRequestManager {
int render_process_id,
int render_frame_id);
- void ClearPendingTransitionRequestData(int render_process_id,
- int render_frame_id);
+ CONTENT_EXPORT void ClearPendingTransitionRequestData(int render_process_id,
+ int render_frame_id);
private:
class TransitionRequestData {
« no previous file with comments | « content/browser/transition_browsertest.cc ('k') | content/browser/web_contents/web_contents_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698