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

Side by Side Diff: content/renderer/load_progress_tracker.cc

Issue 6685072: Move a bunch more random files from chrome\renderer to content\renderer. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
« no previous file with comments | « content/renderer/load_progress_tracker.h ('k') | content/renderer/navigation_state.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/load_progress_tracker.h" 5 #include "content/renderer/load_progress_tracker.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "chrome/common/render_messages.h" 8 #include "chrome/common/render_messages.h"
9 #include "chrome/renderer/render_view.h" 9 #include "chrome/renderer/render_view.h"
10 10
11 namespace { 11 namespace {
12 12
13 const int kMinimumDelayBetweenUpdatesMS = 100; 13 const int kMinimumDelayBetweenUpdatesMS = 100;
14 14
15 } 15 }
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 new ViewHostMsg_DidChangeLoadProgress(render_view_->routing_id(), 77 new ViewHostMsg_DidChangeLoadProgress(render_view_->routing_id(),
78 progress_)); 78 progress_));
79 } 79 }
80 80
81 void LoadProgressTracker::ResetStates() { 81 void LoadProgressTracker::ResetStates() {
82 tracked_frame_ = NULL; 82 tracked_frame_ = NULL;
83 progress_ = 0.0; 83 progress_ = 0.0;
84 method_factory_.RevokeAll(); 84 method_factory_.RevokeAll();
85 last_time_progress_sent_ = base::TimeTicks(); 85 last_time_progress_sent_ = base::TimeTicks();
86 } 86 }
OLDNEW
« no previous file with comments | « content/renderer/load_progress_tracker.h ('k') | content/renderer/navigation_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698