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

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

Issue 10868116: Pass result of blockage across content API when new tab blocked. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 int error_code) OVERRIDE; 199 int error_code) OVERRIDE;
200 virtual base::TerminationStatus GetCrashedStatus() const OVERRIDE; 200 virtual base::TerminationStatus GetCrashedStatus() const OVERRIDE;
201 virtual bool IsBeingDestroyed() const OVERRIDE; 201 virtual bool IsBeingDestroyed() const OVERRIDE;
202 virtual void NotifyNavigationStateChanged(unsigned changed_flags) OVERRIDE; 202 virtual void NotifyNavigationStateChanged(unsigned changed_flags) OVERRIDE;
203 virtual base::TimeTicks GetLastSelectedTime() const OVERRIDE; 203 virtual base::TimeTicks GetLastSelectedTime() const OVERRIDE;
204 virtual void WasShown() OVERRIDE; 204 virtual void WasShown() OVERRIDE;
205 virtual void WasHidden() OVERRIDE; 205 virtual void WasHidden() OVERRIDE;
206 virtual bool NeedToFireBeforeUnload() OVERRIDE; 206 virtual bool NeedToFireBeforeUnload() OVERRIDE;
207 virtual void Stop() OVERRIDE; 207 virtual void Stop() OVERRIDE;
208 virtual content::WebContents* Clone() OVERRIDE; 208 virtual content::WebContents* Clone() OVERRIDE;
209 virtual void AddNewContents(content::WebContents* new_contents,
210 WindowOpenDisposition disposition,
211 const gfx::Rect& initial_pos,
212 bool user_gesture) OVERRIDE;
213 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; 209 virtual gfx::NativeView GetContentNativeView() const OVERRIDE;
214 virtual gfx::NativeView GetNativeView() const OVERRIDE; 210 virtual gfx::NativeView GetNativeView() const OVERRIDE;
215 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; 211 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE;
216 virtual void Focus() OVERRIDE; 212 virtual void Focus() OVERRIDE;
217 virtual void FocusThroughTabTraversal(bool reverse) OVERRIDE; 213 virtual void FocusThroughTabTraversal(bool reverse) OVERRIDE;
218 virtual bool ShowingInterstitialPage() const OVERRIDE; 214 virtual bool ShowingInterstitialPage() const OVERRIDE;
219 virtual content::InterstitialPage* GetInterstitialPage() const OVERRIDE; 215 virtual content::InterstitialPage* GetInterstitialPage() const OVERRIDE;
220 virtual bool IsSavable() OVERRIDE; 216 virtual bool IsSavable() OVERRIDE;
221 virtual void OnSavePage() OVERRIDE; 217 virtual void OnSavePage() OVERRIDE;
222 virtual bool SavePage(const FilePath& main_file, 218 virtual bool SavePage(const FilePath& main_file,
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 content::NotificationRegistrar registrar_; 822 content::NotificationRegistrar registrar_;
827 823
828 // Used during IPC message dispatching so that the handlers can get a pointer 824 // Used during IPC message dispatching so that the handlers can get a pointer
829 // to the RVH through which the message was received. 825 // to the RVH through which the message was received.
830 content::RenderViewHost* message_source_; 826 content::RenderViewHost* message_source_;
831 827
832 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 828 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
833 }; 829 };
834 830
835 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 831 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698