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

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

Issue 7880003: content: Move constrained window code from TabContents to TabContentsWrapper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac compile (add forward declaration to file that didn't have it) 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
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
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 void TabContentsObserver::DocumentLoadedInFrame(int64 frame_id) { 55 void TabContentsObserver::DocumentLoadedInFrame(int64 frame_id) {
56 } 56 }
57 57
58 void TabContentsObserver::DidFinishLoad(int64 frame_id) { 58 void TabContentsObserver::DidFinishLoad(int64 frame_id) {
59 } 59 }
60 60
61 void TabContentsObserver::DidGetUserGesture() { 61 void TabContentsObserver::DidGetUserGesture() {
62 } 62 }
63 63
64 void TabContentsObserver::DidGetIgnoredUIEvent() {
65 }
66
64 void TabContentsObserver::DidBecomeSelected() { 67 void TabContentsObserver::DidBecomeSelected() {
65 } 68 }
66 69
67 void TabContentsObserver::DidStartLoading() { 70 void TabContentsObserver::DidStartLoading() {
68 } 71 }
69 72
70 void TabContentsObserver::DidStopLoading() { 73 void TabContentsObserver::DidStopLoading() {
71 } 74 }
72 75
73 void TabContentsObserver::RenderViewGone() { 76 void TabContentsObserver::RenderViewGone() {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 } 137 }
135 138
136 void TabContentsObserver::TabContentsDestroyed() { 139 void TabContentsObserver::TabContentsDestroyed() {
137 // Do cleanup so that 'this' can safely be deleted from 140 // Do cleanup so that 'this' can safely be deleted from
138 // TabContentsDestroyed. 141 // TabContentsDestroyed.
139 tab_contents_->RemoveObserver(this); 142 tab_contents_->RemoveObserver(this);
140 TabContents* tab = tab_contents_; 143 TabContents* tab = tab_contents_;
141 tab_contents_ = NULL; 144 tab_contents_ = NULL;
142 TabContentsDestroyed(tab); 145 TabContentsDestroyed(tab);
143 } 146 }
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents_observer.h ('k') | content/browser/tab_contents/tab_contents_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698