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

Side by Side Diff: content/test/web_contents_observer_sanity_checker.h

Issue 2666193002: Switch RenderViewContextMenu to use RequestOpenURL (Closed)
Patch Set: Address Charlie's comments Created 3 years, 10 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
OLDNEW
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 void DidFailLoad(RenderFrameHost* render_frame_host, 54 void DidFailLoad(RenderFrameHost* render_frame_host,
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) override; 64 ui::PageTransition transition,
65 bool started_from_context_menu) override;
65 void MediaStartedPlaying(const MediaPlayerInfo& media_info, 66 void MediaStartedPlaying(const MediaPlayerInfo& media_info,
66 const MediaPlayerId& id) override; 67 const MediaPlayerId& id) override;
67 void MediaStoppedPlaying(const MediaPlayerInfo& media_info, 68 void MediaStoppedPlaying(const MediaPlayerInfo& media_info,
68 const MediaPlayerId& id) override; 69 const MediaPlayerId& id) override;
69 bool OnMessageReceived(const IPC::Message& message, 70 bool OnMessageReceived(const IPC::Message& message,
70 RenderFrameHost* render_frame_host) override; 71 RenderFrameHost* render_frame_host) override;
71 void WebContentsDestroyed() override; 72 void WebContentsDestroyed() override;
72 void DidStartLoading() override; 73 void DidStartLoading() override;
73 void DidStopLoading() override; 74 void DidStopLoading() override;
74 75
(...skipping 23 matching lines...) Expand all
98 bool is_loading_; 99 bool is_loading_;
99 100
100 bool web_contents_destroyed_; 101 bool web_contents_destroyed_;
101 102
102 DISALLOW_COPY_AND_ASSIGN(WebContentsObserverSanityChecker); 103 DISALLOW_COPY_AND_ASSIGN(WebContentsObserverSanityChecker);
103 }; 104 };
104 105
105 } // namespace content 106 } // namespace content
106 107
107 #endif // CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_ 108 #endif // CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698