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

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

Issue 8760024: Cross-process postMessage (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 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
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 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_
7 7
8 #include "base/process_util.h" 8 #include "base/process_util.h"
9 #include "content/browser/tab_contents/navigation_controller.h" 9 #include "content/browser/tab_contents/navigation_controller.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 int error_code, 67 int error_code,
68 const string16& error_description); 68 const string16& error_description);
69 virtual void DidGetUserGesture(); 69 virtual void DidGetUserGesture();
70 virtual void DidGetIgnoredUIEvent(); 70 virtual void DidGetIgnoredUIEvent();
71 virtual void DidBecomeSelected(); 71 virtual void DidBecomeSelected();
72 72
73 virtual void DidStartLoading(); 73 virtual void DidStartLoading();
74 virtual void DidStopLoading(); 74 virtual void DidStopLoading();
75 virtual void StopNavigation(); 75 virtual void StopNavigation();
76 76
77 // TODO(supersat): Add opener_frame_id and/or other parameters when I finalize the API
77 virtual void DidOpenURL(const GURL& url, 78 virtual void DidOpenURL(const GURL& url,
78 const GURL& referrer, 79 const GURL& referrer,
79 WindowOpenDisposition disposition, 80 WindowOpenDisposition disposition,
80 content::PageTransition transition); 81 content::PageTransition transition);
81 82
83 // TODO(supersat): Add opener_frame_id and/or other parameters when I finalize the API
82 virtual void DidOpenRequestedURL(TabContents* new_contents, 84 virtual void DidOpenRequestedURL(TabContents* new_contents,
83 const GURL& url, 85 const GURL& url,
84 const GURL& referrer, 86 const GURL& referrer,
85 WindowOpenDisposition disposition, 87 WindowOpenDisposition disposition,
86 content::PageTransition transition, 88 content::PageTransition transition,
87 int64 source_frame_id); 89 int64 source_frame_id);
88 90
89 virtual void AppCacheAccessed(const GURL& manifest_url, 91 virtual void AppCacheAccessed(const GURL& manifest_url,
90 bool blocked_by_policy); 92 bool blocked_by_policy);
91 #if 0 93 #if 0
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 // Invoked from TabContents. Invokes TabContentsDestroyed and NULL out 140 // Invoked from TabContents. Invokes TabContentsDestroyed and NULL out
139 // |tab_contents_|. 141 // |tab_contents_|.
140 void TabContentsDestroyed(); 142 void TabContentsDestroyed();
141 143
142 TabContents* tab_contents_; 144 TabContents* tab_contents_;
143 145
144 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver); 146 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver);
145 }; 147 };
146 148
147 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ 149 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698