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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 562603002: Move PageTransition from //content/public/common to //ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/strings/string16.h" 15 #include "base/strings/string16.h"
16 #include "base/time/time.h" 16 #include "base/time/time.h"
17 #include "content/browser/accessibility/browser_accessibility_manager.h" 17 #include "content/browser/accessibility/browser_accessibility_manager.h"
18 #include "content/common/accessibility_mode_enums.h" 18 #include "content/common/accessibility_mode_enums.h"
19 #include "content/common/content_export.h" 19 #include "content/common/content_export.h"
20 #include "content/common/mojo/service_registry_impl.h" 20 #include "content/common/mojo/service_registry_impl.h"
21 #include "content/public/browser/render_frame_host.h" 21 #include "content/public/browser/render_frame_host.h"
22 #include "content/public/common/javascript_message_type.h" 22 #include "content/public/common/javascript_message_type.h"
23 #include "content/public/common/page_transition_types.h"
24 #include "net/http/http_response_headers.h" 23 #include "net/http/http_response_headers.h"
25 #include "third_party/WebKit/public/platform/WebNotificationPermission.h" 24 #include "third_party/WebKit/public/platform/WebNotificationPermission.h"
26 #include "third_party/WebKit/public/web/WebTextDirection.h" 25 #include "third_party/WebKit/public/web/WebTextDirection.h"
27 #include "ui/accessibility/ax_node_data.h" 26 #include "ui/accessibility/ax_node_data.h"
27 #include "ui/base/page_transition_types.h"
28 28
29 class GURL; 29 class GURL;
30 struct AccessibilityHostMsg_EventParams; 30 struct AccessibilityHostMsg_EventParams;
31 struct AccessibilityHostMsg_LocationChangeParams; 31 struct AccessibilityHostMsg_LocationChangeParams;
32 struct FrameHostMsg_DidFailProvisionalLoadWithError_Params; 32 struct FrameHostMsg_DidFailProvisionalLoadWithError_Params;
33 struct FrameHostMsg_OpenURL_Params; 33 struct FrameHostMsg_OpenURL_Params;
34 struct FrameHostMsg_BeginNavigation_Params; 34 struct FrameHostMsg_BeginNavigation_Params;
35 struct FrameMsg_Navigate_Params; 35 struct FrameMsg_Navigate_Params;
36 #if defined(OS_MACOSX) || defined(OS_ANDROID) 36 #if defined(OS_MACOSX) || defined(OS_ANDROID)
37 struct FrameHostMsg_ShowPopup_Params; 37 struct FrameHostMsg_ShowPopup_Params;
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 // Called on the pending RenderFrameHost when the network response is ready to 169 // Called on the pending RenderFrameHost when the network response is ready to
170 // commit. We should ensure that the old RenderFrameHost runs its unload 170 // commit. We should ensure that the old RenderFrameHost runs its unload
171 // handler and determine whether a transfer to a different RenderFrameHost is 171 // handler and determine whether a transfer to a different RenderFrameHost is
172 // needed. 172 // needed.
173 void OnCrossSiteResponse( 173 void OnCrossSiteResponse(
174 const GlobalRequestID& global_request_id, 174 const GlobalRequestID& global_request_id,
175 scoped_ptr<CrossSiteTransferringRequest> cross_site_transferring_request, 175 scoped_ptr<CrossSiteTransferringRequest> cross_site_transferring_request,
176 const std::vector<GURL>& transfer_url_chain, 176 const std::vector<GURL>& transfer_url_chain,
177 const Referrer& referrer, 177 const Referrer& referrer,
178 PageTransition page_transition, 178 ui::PageTransition page_transition,
179 bool should_replace_current_entry); 179 bool should_replace_current_entry);
180 180
181 // Called on the current RenderFrameHost when the network response is first 181 // Called on the current RenderFrameHost when the network response is first
182 // receieved. 182 // receieved.
183 void OnDeferredAfterResponseStarted( 183 void OnDeferredAfterResponseStarted(
184 const GlobalRequestID& global_request_id, 184 const GlobalRequestID& global_request_id,
185 const TransitionLayerData& transition_data); 185 const TransitionLayerData& transition_data);
186 186
187 // Tells the renderer that this RenderFrame is being swapped out for one in a 187 // Tells the renderer that this RenderFrame is being swapped out for one in a
188 // different renderer process. It should run its unload handler, move to 188 // different renderer process. It should run its unload handler, move to
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 base::Callback<void(ui::AXEvent, int)> accessibility_testing_callback_; 487 base::Callback<void(ui::AXEvent, int)> accessibility_testing_callback_;
488 // The most recently received accessibility tree - for testing only. 488 // The most recently received accessibility tree - for testing only.
489 scoped_ptr<ui::AXTree> ax_tree_for_testing_; 489 scoped_ptr<ui::AXTree> ax_tree_for_testing_;
490 490
491 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 491 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
492 }; 492 };
493 493
494 } // namespace content 494 } // namespace content
495 495
496 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 496 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator_impl.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698