| OLD | NEW |
| 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_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ | 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ |
| 7 | 7 |
| 8 #include "base/process/kill.h" | 8 #include "base/process/kill.h" |
| 9 #include "base/process/process_handle.h" | 9 #include "base/process/process_handle.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 virtual void DidUpdateFaviconURL(const std::vector<FaviconURL>& candidates) {} | 304 virtual void DidUpdateFaviconURL(const std::vector<FaviconURL>& candidates) {} |
| 305 | 305 |
| 306 // Invoked when a pepper plugin creates and shows or destroys a fullscreen | 306 // Invoked when a pepper plugin creates and shows or destroys a fullscreen |
| 307 // render widget. | 307 // render widget. |
| 308 virtual void DidShowFullscreenWidget(int routing_id) {} | 308 virtual void DidShowFullscreenWidget(int routing_id) {} |
| 309 virtual void DidDestroyFullscreenWidget(int routing_id) {} | 309 virtual void DidDestroyFullscreenWidget(int routing_id) {} |
| 310 | 310 |
| 311 // Invoked when the renderer has toggled the tab into/out of fullscreen mode. | 311 // Invoked when the renderer has toggled the tab into/out of fullscreen mode. |
| 312 virtual void DidToggleFullscreenModeForTab(bool entered_fullscreen) {} | 312 virtual void DidToggleFullscreenModeForTab(bool entered_fullscreen) {} |
| 313 | 313 |
| 314 // Invoked when visible SSL state (as defined by SSLStatus) changes. | |
| 315 virtual void DidChangeVisibleSSLState() {} | |
| 316 | |
| 317 // Invoked when an interstitial page is attached or detached. | 314 // Invoked when an interstitial page is attached or detached. |
| 318 virtual void DidAttachInterstitialPage() {} | 315 virtual void DidAttachInterstitialPage() {} |
| 319 virtual void DidDetachInterstitialPage() {} | 316 virtual void DidDetachInterstitialPage() {} |
| 320 | 317 |
| 321 // Invoked before a form repost warning is shown. | 318 // Invoked before a form repost warning is shown. |
| 322 virtual void BeforeFormRepostWarningShow() {} | 319 virtual void BeforeFormRepostWarningShow() {} |
| 323 | 320 |
| 324 // Invoked when the beforeunload handler fires. The time is from the renderer. | 321 // Invoked when the beforeunload handler fires. The time is from the renderer. |
| 325 virtual void BeforeUnloadFired(const base::TimeTicks& proceed_time) {} | 322 virtual void BeforeUnloadFired(const base::TimeTicks& proceed_time) {} |
| 326 | 323 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 void ResetWebContents(); | 362 void ResetWebContents(); |
| 366 | 363 |
| 367 WebContentsImpl* web_contents_; | 364 WebContentsImpl* web_contents_; |
| 368 | 365 |
| 369 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver); | 366 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver); |
| 370 }; | 367 }; |
| 371 | 368 |
| 372 } // namespace content | 369 } // namespace content |
| 373 | 370 |
| 374 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ | 371 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ |
| OLD | NEW |