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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 const GURL& validated_url, | 55 const GURL& validated_url, |
56 int error_code, | 56 int error_code, |
57 const base::string16& error_description, | 57 const base::string16& error_description, |
58 bool was_ignored_by_handler) override; | 58 bool was_ignored_by_handler) override; |
59 void DidOpenRequestedURL(WebContents* new_contents, | 59 void DidOpenRequestedURL(WebContents* new_contents, |
60 RenderFrameHost* source_render_frame_host, | 60 RenderFrameHost* source_render_frame_host, |
61 const GURL& url, | 61 const GURL& url, |
62 const Referrer& referrer, | 62 const Referrer& referrer, |
63 WindowOpenDisposition disposition, | 63 WindowOpenDisposition disposition, |
64 ui::PageTransition transition, | 64 ui::PageTransition transition, |
65 bool started_from_context_menu) override; | 65 bool started_from_context_menu, |
| 66 bool renderer_initiated) override; |
66 void MediaStartedPlaying(const MediaPlayerInfo& media_info, | 67 void MediaStartedPlaying(const MediaPlayerInfo& media_info, |
67 const MediaPlayerId& id) override; | 68 const MediaPlayerId& id) override; |
68 void MediaStoppedPlaying(const MediaPlayerInfo& media_info, | 69 void MediaStoppedPlaying(const MediaPlayerInfo& media_info, |
69 const MediaPlayerId& id) override; | 70 const MediaPlayerId& id) override; |
70 bool OnMessageReceived(const IPC::Message& message, | 71 bool OnMessageReceived(const IPC::Message& message, |
71 RenderFrameHost* render_frame_host) override; | 72 RenderFrameHost* render_frame_host) override; |
72 void WebContentsDestroyed() override; | 73 void WebContentsDestroyed() override; |
73 void DidStartLoading() override; | 74 void DidStartLoading() override; |
74 void DidStopLoading() override; | 75 void DidStopLoading() override; |
75 | 76 |
(...skipping 23 matching lines...) Expand all Loading... |
99 bool is_loading_; | 100 bool is_loading_; |
100 | 101 |
101 bool web_contents_destroyed_; | 102 bool web_contents_destroyed_; |
102 | 103 |
103 DISALLOW_COPY_AND_ASSIGN(WebContentsObserverSanityChecker); | 104 DISALLOW_COPY_AND_ASSIGN(WebContentsObserverSanityChecker); |
104 }; | 105 }; |
105 | 106 |
106 } // namespace content | 107 } // namespace content |
107 | 108 |
108 #endif // CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_ | 109 #endif // CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_ |
OLD | NEW |