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

Side by Side Diff: content/browser/tab_contents/tab_contents_observer.cc

Issue 8366034: Adds browser-side component of Java Bridge for a TabContents (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Guards with ENABLE_JAVA_BRIDGE and addresses other comments Created 9 years, 2 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/browser/tab_contents/tab_contents_observer.h ('k') | content/content_browser.gypi » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/tab_contents/tab_contents_observer.h" 5 #include "content/browser/tab_contents/tab_contents_observer.h"
6 6
7 #include "content/browser/renderer_host/render_view_host.h" 7 #include "content/browser/renderer_host/render_view_host.h"
8 #include "content/browser/tab_contents/navigation_details.h" 8 #include "content/browser/tab_contents/navigation_details.h"
9 #include "content/browser/tab_contents/tab_contents.h" 9 #include "content/browser/tab_contents/tab_contents.h"
10 10
11 void TabContentsObserver::RenderViewCreated(RenderViewHost* render_view_host) { 11 void TabContentsObserver::RenderViewCreated(RenderViewHost* render_view_host) {
12 } 12 }
13 13
14 void TabContentsObserver::RenderViewDeleted(RenderViewHost* render_view_host) {
15 }
16
14 void TabContentsObserver::NavigateToPendingEntry( 17 void TabContentsObserver::NavigateToPendingEntry(
15 const GURL& url, 18 const GURL& url,
16 NavigationController::ReloadType reload_type) { 19 NavigationController::ReloadType reload_type) {
17 } 20 }
18 21
19 void TabContentsObserver::DidNavigateMainFramePostCommit( 22 void TabContentsObserver::DidNavigateMainFramePostCommit(
20 const content::LoadCommittedDetails& details, 23 const content::LoadCommittedDetails& details,
21 const ViewHostMsg_FrameNavigate_Params& params) { 24 const ViewHostMsg_FrameNavigate_Params& params) {
22 } 25 }
23 26
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 } 151 }
149 152
150 void TabContentsObserver::TabContentsDestroyed() { 153 void TabContentsObserver::TabContentsDestroyed() {
151 // Do cleanup so that 'this' can safely be deleted from 154 // Do cleanup so that 'this' can safely be deleted from
152 // TabContentsDestroyed. 155 // TabContentsDestroyed.
153 tab_contents_->RemoveObserver(this); 156 tab_contents_->RemoveObserver(this);
154 TabContents* tab = tab_contents_; 157 TabContents* tab = tab_contents_;
155 tab_contents_ = NULL; 158 tab_contents_ = NULL;
156 TabContentsDestroyed(tab); 159 TabContentsDestroyed(tab);
157 } 160 }
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents_observer.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698