| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 | 394 |
| 395 // Invoked when new FaviconURL candidates are received from the renderer | 395 // Invoked when new FaviconURL candidates are received from the renderer |
| 396 // process. | 396 // process. |
| 397 virtual void DidUpdateFaviconURL(const std::vector<FaviconURL>& candidates) {} | 397 virtual void DidUpdateFaviconURL(const std::vector<FaviconURL>& candidates) {} |
| 398 | 398 |
| 399 // Invoked when the WebContents is muted/unmuted. | 399 // Invoked when the WebContents is muted/unmuted. |
| 400 virtual void DidUpdateAudioMutingState(bool muted) {} | 400 virtual void DidUpdateAudioMutingState(bool muted) {} |
| 401 | 401 |
| 402 // Invoked when a pepper plugin creates and shows or destroys a fullscreen | 402 // Invoked when a pepper plugin creates and shows or destroys a fullscreen |
| 403 // RenderWidget. | 403 // RenderWidget. |
| 404 virtual void DidShowFullscreenWidget(int routing_id) {} | 404 virtual void DidShowFullscreenWidget() {} |
| 405 virtual void DidDestroyFullscreenWidget(int routing_id) {} | 405 virtual void DidDestroyFullscreenWidget() {} |
| 406 | 406 |
| 407 // Invoked when the renderer process has toggled the tab into/out of | 407 // Invoked when the renderer process has toggled the tab into/out of |
| 408 // fullscreen mode. | 408 // fullscreen mode. |
| 409 virtual void DidToggleFullscreenModeForTab(bool entered_fullscreen, | 409 virtual void DidToggleFullscreenModeForTab(bool entered_fullscreen, |
| 410 bool will_cause_resize) {} | 410 bool will_cause_resize) {} |
| 411 | 411 |
| 412 // Invoked when an interstitial page is attached or detached. | 412 // Invoked when an interstitial page is attached or detached. |
| 413 virtual void DidAttachInterstitialPage() {} | 413 virtual void DidAttachInterstitialPage() {} |
| 414 virtual void DidDetachInterstitialPage() {} | 414 virtual void DidDetachInterstitialPage() {} |
| 415 | 415 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 484 void ResetWebContents(); | 484 void ResetWebContents(); |
| 485 | 485 |
| 486 WebContentsImpl* web_contents_; | 486 WebContentsImpl* web_contents_; |
| 487 | 487 |
| 488 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver); | 488 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver); |
| 489 }; | 489 }; |
| 490 | 490 |
| 491 } // namespace content | 491 } // namespace content |
| 492 | 492 |
| 493 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ | 493 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ |
| OLD | NEW |