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

Side by Side Diff: chrome/browser/ui/views/external_tab_container_win.h

Issue 11416013: Move RequestPpapiBrokerPermission from WebContentsObserver to WebContentsDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 8 years, 1 month 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 | Annotate | Revision Log
OLDNEW
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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 virtual void FindReply(content::WebContents* tab, 173 virtual void FindReply(content::WebContents* tab,
174 int request_id, 174 int request_id,
175 int number_of_matches, 175 int number_of_matches,
176 const gfx::Rect& selection_rect, 176 const gfx::Rect& selection_rect,
177 int active_match_ordinal, 177 int active_match_ordinal,
178 bool final_update) OVERRIDE; 178 bool final_update) OVERRIDE;
179 virtual void RequestMediaAccessPermission( 179 virtual void RequestMediaAccessPermission(
180 content::WebContents* web_contents, 180 content::WebContents* web_contents,
181 const content::MediaStreamRequest* request, 181 const content::MediaStreamRequest* request,
182 const content::MediaResponseCallback& callback) OVERRIDE; 182 const content::MediaResponseCallback& callback) OVERRIDE;
183 virtual void RequestPpapiBrokerPermission(
184 content::WebContents* web_contents,
185 const GURL& url,
186 const FilePath& plugin_path,
187 const base::Callback<void(bool)>& callback) OVERRIDE;
183 188
184 void RegisterRenderViewHost(content::RenderViewHost* render_view_host); 189 void RegisterRenderViewHost(content::RenderViewHost* render_view_host);
185 void UnregisterRenderViewHost(content::RenderViewHost* render_view_host); 190 void UnregisterRenderViewHost(content::RenderViewHost* render_view_host);
186 191
187 // Overridden from content::WebContentsObserver: 192 // Overridden from content::WebContentsObserver:
188 virtual bool OnMessageReceived(const IPC::Message& message); 193 virtual bool OnMessageReceived(const IPC::Message& message);
189 virtual void DidFailProvisionalLoad( 194 virtual void DidFailProvisionalLoad(
190 int64 frame_id, 195 int64 frame_id,
191 bool is_main_frame, 196 bool is_main_frame,
192 const GURL& validated_url, 197 const GURL& validated_url,
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 return false; 407 return false;
403 } 408 }
404 409
405 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, 410 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed,
406 bool* proceed_to_fire_unload) { 411 bool* proceed_to_fire_unload) {
407 NOTREACHED(); 412 NOTREACHED();
408 } 413 }
409 }; 414 };
410 415
411 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ 416 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698