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 CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 virtual void FindReply(content::WebContents* tab, | 172 virtual void FindReply(content::WebContents* tab, |
173 int request_id, | 173 int request_id, |
174 int number_of_matches, | 174 int number_of_matches, |
175 const gfx::Rect& selection_rect, | 175 const gfx::Rect& selection_rect, |
176 int active_match_ordinal, | 176 int active_match_ordinal, |
177 bool final_update) OVERRIDE; | 177 bool final_update) OVERRIDE; |
178 virtual void RequestMediaAccessPermission( | 178 virtual void RequestMediaAccessPermission( |
179 content::WebContents* web_contents, | 179 content::WebContents* web_contents, |
180 const content::MediaStreamRequest* request, | 180 const content::MediaStreamRequest* request, |
181 const content::MediaResponseCallback& callback) OVERRIDE; | 181 const content::MediaResponseCallback& callback) OVERRIDE; |
| 182 virtual bool RequestPpapiBrokerPermission( |
| 183 content::WebContents* web_contents, |
| 184 const GURL& url, |
| 185 const FilePath& plugin_path, |
| 186 const base::Callback<void(bool)>& callback) OVERRIDE; |
182 | 187 |
183 void RegisterRenderViewHost(content::RenderViewHost* render_view_host); | 188 void RegisterRenderViewHost(content::RenderViewHost* render_view_host); |
184 void UnregisterRenderViewHost(content::RenderViewHost* render_view_host); | 189 void UnregisterRenderViewHost(content::RenderViewHost* render_view_host); |
185 | 190 |
186 // Overridden from content::WebContentsObserver: | 191 // Overridden from content::WebContentsObserver: |
187 virtual bool OnMessageReceived(const IPC::Message& message); | 192 virtual bool OnMessageReceived(const IPC::Message& message); |
188 virtual void DidFailProvisionalLoad( | 193 virtual void DidFailProvisionalLoad( |
189 int64 frame_id, | 194 int64 frame_id, |
190 bool is_main_frame, | 195 bool is_main_frame, |
191 const GURL& validated_url, | 196 const GURL& validated_url, |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 return false; | 406 return false; |
402 } | 407 } |
403 | 408 |
404 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, | 409 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, |
405 bool* proceed_to_fire_unload) { | 410 bool* proceed_to_fire_unload) { |
406 NOTREACHED(); | 411 NOTREACHED(); |
407 } | 412 } |
408 }; | 413 }; |
409 | 414 |
410 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ | 415 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ |
OLD | NEW |