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

Side by Side Diff: chrome/renderer/render_view.cc

Issue 115919: Consider an immediate redirect as machine-initiated and slow one as... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include "chrome/renderer/render_view.h" 5 #include "chrome/renderer/render_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 1279 matching lines...) Expand 10 before | Expand all | Expand 10 after
1290 } 1290 }
1291 } 1291 }
1292 1292
1293 void RenderView::DidFailLoadWithError(WebView* webview, 1293 void RenderView::DidFailLoadWithError(WebView* webview,
1294 const WebError& error, 1294 const WebError& error,
1295 WebFrame* frame) { 1295 WebFrame* frame) {
1296 } 1296 }
1297 1297
1298 void RenderView::DidFinishDocumentLoadForFrame(WebView* webview, 1298 void RenderView::DidFinishDocumentLoadForFrame(WebView* webview,
1299 WebFrame* frame) { 1299 WebFrame* frame) {
1300 Send(new ViewHostMsg_DocumentLoadedInFrame(routing_id_));
1301
1300 // Check whether we have new encoding name. 1302 // Check whether we have new encoding name.
1301 UpdateEncoding(frame, webview->GetMainFrameEncodingName()); 1303 UpdateEncoding(frame, webview->GetMainFrameEncodingName());
1302 1304
1303 if (RenderThread::current()) // Will be NULL during unit tests. 1305 if (RenderThread::current()) // Will be NULL during unit tests.
1304 RenderThread::current()->user_script_slave()->InjectScripts( 1306 RenderThread::current()->user_script_slave()->InjectScripts(
1305 frame, UserScript::DOCUMENT_END); 1307 frame, UserScript::DOCUMENT_END);
1306 } 1308 }
1307 1309
1308 void RenderView::DidHandleOnloadEventsForFrame(WebView* webview, 1310 void RenderView::DidHandleOnloadEventsForFrame(WebView* webview,
1309 WebFrame* frame) { 1311 WebFrame* frame) {
(...skipping 1558 matching lines...) Expand 10 before | Expand all | Expand 10 after
2868 // If id is valid, alert the browser side that an accessibility focus change 2870 // If id is valid, alert the browser side that an accessibility focus change
2869 // occurred. 2871 // occurred.
2870 if (acc_obj_id >= 0) 2872 if (acc_obj_id >= 0)
2871 Send(new ViewHostMsg_AccessibilityFocusChange(routing_id_, acc_obj_id)); 2873 Send(new ViewHostMsg_AccessibilityFocusChange(routing_id_, acc_obj_id));
2872 2874
2873 #else // defined(OS_WIN) 2875 #else // defined(OS_WIN)
2874 // TODO(port): accessibility not yet implemented 2876 // TODO(port): accessibility not yet implemented
2875 NOTIMPLEMENTED(); 2877 NOTIMPLEMENTED();
2876 #endif 2878 #endif
2877 } 2879 }
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/test/data/History/history_length_test_page_1.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698