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

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: android Created 8 years 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/tab_contents/tab_contents.cc ('k') | chrome/browser/ui/views/external_tab_container_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698