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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 266053003: Remove page IDs from three WebContentsObserver APIs that don't need it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/browser/renderer_host/render_view_host_impl.h" 5 #include "content/browser/renderer_host/render_view_host_impl.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after
1231 } 1231 }
1232 1232
1233 void RenderViewHostImpl::OnDidChangeLoadProgress(double load_progress) { 1233 void RenderViewHostImpl::OnDidChangeLoadProgress(double load_progress) {
1234 delegate_->DidChangeLoadProgress(load_progress); 1234 delegate_->DidChangeLoadProgress(load_progress);
1235 } 1235 }
1236 1236
1237 void RenderViewHostImpl::OnDocumentAvailableInMainFrame() { 1237 void RenderViewHostImpl::OnDocumentAvailableInMainFrame() {
1238 delegate_->DocumentAvailableInMainFrame(this); 1238 delegate_->DocumentAvailableInMainFrame(this);
1239 } 1239 }
1240 1240
1241 void RenderViewHostImpl::OnDocumentOnLoadCompletedInMainFrame( 1241 void RenderViewHostImpl::OnDocumentOnLoadCompletedInMainFrame() {
1242 int32 page_id) { 1242 delegate_->DocumentOnLoadCompletedInMainFrame(this);
1243 delegate_->DocumentOnLoadCompletedInMainFrame(this, page_id);
1244 } 1243 }
1245 1244
1246 void RenderViewHostImpl::OnToggleFullscreen(bool enter_fullscreen) { 1245 void RenderViewHostImpl::OnToggleFullscreen(bool enter_fullscreen) {
1247 DCHECK_CURRENTLY_ON(BrowserThread::UI); 1246 DCHECK_CURRENTLY_ON(BrowserThread::UI);
1248 delegate_->ToggleFullscreenMode(enter_fullscreen); 1247 delegate_->ToggleFullscreenMode(enter_fullscreen);
1249 // We need to notify the contents that its fullscreen state has changed. This 1248 // We need to notify the contents that its fullscreen state has changed. This
1250 // is done as part of the resize message. 1249 // is done as part of the resize message.
1251 WasResized(); 1250 WasResized();
1252 } 1251 }
1253 1252
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
1732 return true; 1731 return true;
1733 } 1732 }
1734 1733
1735 void RenderViewHostImpl::AttachToFrameTree() { 1734 void RenderViewHostImpl::AttachToFrameTree() {
1736 FrameTree* frame_tree = delegate_->GetFrameTree(); 1735 FrameTree* frame_tree = delegate_->GetFrameTree();
1737 1736
1738 frame_tree->ResetForMainFrameSwap(); 1737 frame_tree->ResetForMainFrameSwap();
1739 } 1738 }
1740 1739
1741 } // namespace content 1740 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698