summaryrefslogtreecommitdiffstats
path: root/content/public
diff options
context:
space:
mode:
authornasko@chromium.org <nasko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-06 22:10:53 +0000
committernasko@chromium.org <nasko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-06 22:10:53 +0000
commitade94b3ec1d1edfd5c527e7a33bab543d0bef04f (patch)
treed83db6bfb1433bf80d5c7e95e4fe81928af9bbb8 /content/public
parentd1ddf8c5d6e674664c91d8d557231e91ed7b3832 (diff)
downloadchromium_src-ade94b3ec1d1edfd5c527e7a33bab543d0bef04f.zip
chromium_src-ade94b3ec1d1edfd5c527e7a33bab543d0bef04f.tar.gz
chromium_src-ade94b3ec1d1edfd5c527e7a33bab543d0bef04f.tar.bz2
Move DidCommitProvisionalLoad code from RenderView to RenderFrame.
BUG=304341 R=creis@chromium.org Review URL: https://codereview.chromium.org/135723003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249516 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public')
-rw-r--r--content/public/browser/navigation_details.h4
-rw-r--r--content/public/browser/web_contents_observer.h1
-rw-r--r--content/public/test/render_view_test.cc3
3 files changed, 5 insertions, 3 deletions
diff --git a/content/public/browser/navigation_details.h b/content/public/browser/navigation_details.h
index 5a01aec..5103f64 100644
--- a/content/public/browser/navigation_details.h
+++ b/content/public/browser/navigation_details.h
@@ -51,8 +51,8 @@ struct CONTENT_EXPORT LoadCommittedDetails {
// When the committed load is a web page from the renderer, this string
// specifies the security state if the page is secure.
- // See ViewHostMsg_FrameNavigate_Params.security_info, where it comes from.
- // Use SSLManager::DeserializeSecurityInfo to decode it.
+ // See FrameHostMsg_DidCommitProvisionalLoad_Params.security_info, where it
+ // comes from. Use SSLManager::DeserializeSecurityInfo to decode it.
std::string serialized_security_info;
// Returns whether the main frame navigated to a different page (e.g., not
diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h
index 34cc96d..ae71eec 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -9,6 +9,7 @@
#include "base/process/process_handle.h"
#include "content/common/content_export.h"
#include "content/public/browser/navigation_controller.h"
+#include "content/public/common/frame_navigate_params.h"
#include "content/public/common/page_transition_types.h"
#include "ipc/ipc_listener.h"
#include "ipc/ipc_sender.h"
diff --git a/content/public/test/render_view_test.cc b/content/public/test/render_view_test.cc
index 5de488b..7bc229e 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -6,6 +6,7 @@
#include "base/run_loop.h"
#include "content/common/dom_storage/dom_storage_types.h"
+#include "content/common/frame_messages.h"
#include "content/common/input_messages.h"
#include "content/common/view_messages.h"
#include "content/public/browser/native_web_keyboard_event.h"
@@ -334,7 +335,7 @@ void RenderViewTest::Reload(const GURL& url) {
}
uint32 RenderViewTest::GetNavigationIPCType() {
- return ViewHostMsg_FrameNavigate::ID;
+ return FrameHostMsg_DidCommitProvisionalLoad::ID;
}
void RenderViewTest::Resize(gfx::Size new_size,