| 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 EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
| 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 virtual void CanDownload(content::RenderViewHost* render_view_host, | 124 virtual void CanDownload(content::RenderViewHost* render_view_host, |
| 125 const GURL& url, | 125 const GURL& url, |
| 126 const std::string& request_method, | 126 const std::string& request_method, |
| 127 const base::Callback<void(bool)>& callback) OVERRIDE; | 127 const base::Callback<void(bool)>& callback) OVERRIDE; |
| 128 virtual content::JavaScriptDialogManager* | 128 virtual content::JavaScriptDialogManager* |
| 129 GetJavaScriptDialogManager() OVERRIDE; | 129 GetJavaScriptDialogManager() OVERRIDE; |
| 130 virtual content::ColorChooser* OpenColorChooser( | 130 virtual content::ColorChooser* OpenColorChooser( |
| 131 content::WebContents* web_contents, | 131 content::WebContents* web_contents, |
| 132 SkColor color, | 132 SkColor color, |
| 133 const std::vector<content::ColorSuggestion>& suggestions) OVERRIDE; | 133 const std::vector<content::ColorSuggestion>& suggestions) OVERRIDE; |
| 134 virtual void RunFileChooser( | |
| 135 content::WebContents* web_contents, | |
| 136 const content::FileChooserParams& params) OVERRIDE; | |
| 137 virtual void AddNewContents(content::WebContents* source, | 134 virtual void AddNewContents(content::WebContents* source, |
| 138 content::WebContents* new_contents, | 135 content::WebContents* new_contents, |
| 139 WindowOpenDisposition disposition, | 136 WindowOpenDisposition disposition, |
| 140 const gfx::Rect& initial_pos, | 137 const gfx::Rect& initial_pos, |
| 141 bool user_gesture, | 138 bool user_gesture, |
| 142 bool* was_blocked) OVERRIDE; | 139 bool* was_blocked) OVERRIDE; |
| 143 virtual content::WebContents* OpenURLFromTab( | 140 virtual content::WebContents* OpenURLFromTab( |
| 144 content::WebContents* source, | 141 content::WebContents* source, |
| 145 const content::OpenURLParams& params) OVERRIDE; | 142 const content::OpenURLParams& params) OVERRIDE; |
| 146 virtual void WebContentsCreated(content::WebContents* source_contents, | 143 virtual void WebContentsCreated(content::WebContents* source_contents, |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 | 345 |
| 349 typedef std::map<WebViewGuest*, NewWindowInfo> PendingWindowMap; | 346 typedef std::map<WebViewGuest*, NewWindowInfo> PendingWindowMap; |
| 350 PendingWindowMap pending_new_windows_; | 347 PendingWindowMap pending_new_windows_; |
| 351 | 348 |
| 352 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); | 349 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); |
| 353 }; | 350 }; |
| 354 | 351 |
| 355 } // namespace extensions | 352 } // namespace extensions |
| 356 | 353 |
| 357 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 354 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
| OLD | NEW |