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

Side by Side Diff: content/browser/web_contents/web_contents_impl.cc

Issue 103633002: Add RenderFrameHostDelegate and plumb it through all the necessary classes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years 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/web_contents/web_contents_impl.h" 5 #include "content/browser/web_contents/web_contents_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 WebContentsImpl::WebContentsImpl( 336 WebContentsImpl::WebContentsImpl(
337 BrowserContext* browser_context, 337 BrowserContext* browser_context,
338 WebContentsImpl* opener) 338 WebContentsImpl* opener)
339 : delegate_(NULL), 339 : delegate_(NULL),
340 controller_(this, browser_context), 340 controller_(this, browser_context),
341 render_view_host_delegate_view_(NULL), 341 render_view_host_delegate_view_(NULL),
342 opener_(opener), 342 opener_(opener),
343 #if defined(OS_WIN) && defined(USE_AURA) 343 #if defined(OS_WIN) && defined(USE_AURA)
344 accessible_parent_(NULL), 344 accessible_parent_(NULL),
345 #endif 345 #endif
346 frame_tree_(new Navigator(&controller_, this), this, this, this), 346 frame_tree_(new Navigator(&controller_, this), this, this, this, this),
347 is_loading_(false), 347 is_loading_(false),
348 crashed_status_(base::TERMINATION_STATUS_STILL_RUNNING), 348 crashed_status_(base::TERMINATION_STATUS_STILL_RUNNING),
349 crashed_error_code_(0), 349 crashed_error_code_(0),
350 waiting_for_response_(false), 350 waiting_for_response_(false),
351 load_state_(net::LOAD_STATE_IDLE, base::string16()), 351 load_state_(net::LOAD_STATE_IDLE, base::string16()),
352 upload_size_(0), 352 upload_size_(0),
353 upload_position_(0), 353 upload_position_(0),
354 displayed_insecure_content_(false), 354 displayed_insecure_content_(false),
355 capturer_count_(0), 355 capturer_count_(0),
356 should_normally_be_visible_(true), 356 should_normally_be_visible_(true),
(...skipping 3344 matching lines...) Expand 10 before | Expand all | Expand 10 after
3701 } 3701 }
3702 3702
3703 void WebContentsImpl::OnFrameRemoved( 3703 void WebContentsImpl::OnFrameRemoved(
3704 RenderViewHostImpl* render_view_host, 3704 RenderViewHostImpl* render_view_host,
3705 int64 frame_id) { 3705 int64 frame_id) {
3706 FOR_EACH_OBSERVER(WebContentsObserver, observers_, 3706 FOR_EACH_OBSERVER(WebContentsObserver, observers_,
3707 FrameDetached(render_view_host, frame_id)); 3707 FrameDetached(render_view_host, frame_id));
3708 } 3708 }
3709 3709
3710 } // namespace content 3710 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/browser/web_contents/web_contents_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698