| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_ | 5 #ifndef CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_ |
| 6 #define CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_ | 6 #define CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 void DidFailLoad(RenderFrameHost* render_frame_host, | 71 void DidFailLoad(RenderFrameHost* render_frame_host, |
| 72 const GURL& validated_url, | 72 const GURL& validated_url, |
| 73 int error_code, | 73 int error_code, |
| 74 const base::string16& error_description, | 74 const base::string16& error_description, |
| 75 bool was_ignored_by_handler) override; | 75 bool was_ignored_by_handler) override; |
| 76 void DidOpenRequestedURL(WebContents* new_contents, | 76 void DidOpenRequestedURL(WebContents* new_contents, |
| 77 RenderFrameHost* source_render_frame_host, | 77 RenderFrameHost* source_render_frame_host, |
| 78 const GURL& url, | 78 const GURL& url, |
| 79 const Referrer& referrer, | 79 const Referrer& referrer, |
| 80 WindowOpenDisposition disposition, | 80 WindowOpenDisposition disposition, |
| 81 ui::PageTransition transition) override; | 81 ui::PageTransition transition, |
| 82 bool started_from_context_menu) override; |
| 82 void MediaStartedPlaying(const MediaPlayerInfo& media_info, | 83 void MediaStartedPlaying(const MediaPlayerInfo& media_info, |
| 83 const MediaPlayerId& id) override; | 84 const MediaPlayerId& id) override; |
| 84 void MediaStoppedPlaying(const MediaPlayerInfo& media_info, | 85 void MediaStoppedPlaying(const MediaPlayerInfo& media_info, |
| 85 const MediaPlayerId& id) override; | 86 const MediaPlayerId& id) override; |
| 86 bool OnMessageReceived(const IPC::Message& message, | 87 bool OnMessageReceived(const IPC::Message& message, |
| 87 RenderFrameHost* render_frame_host) override; | 88 RenderFrameHost* render_frame_host) override; |
| 88 void WebContentsDestroyed() override; | 89 void WebContentsDestroyed() override; |
| 89 void DidStartLoading() override; | 90 void DidStartLoading() override; |
| 90 void DidStopLoading() override; | 91 void DidStopLoading() override; |
| 91 | 92 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 115 bool is_loading_; | 116 bool is_loading_; |
| 116 | 117 |
| 117 bool web_contents_destroyed_; | 118 bool web_contents_destroyed_; |
| 118 | 119 |
| 119 DISALLOW_COPY_AND_ASSIGN(WebContentsObserverSanityChecker); | 120 DISALLOW_COPY_AND_ASSIGN(WebContentsObserverSanityChecker); |
| 120 }; | 121 }; |
| 121 | 122 |
| 122 } // namespace content | 123 } // namespace content |
| 123 | 124 |
| 124 #endif // CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_ | 125 #endif // CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_ |
| OLD | NEW |