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 CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 5 #ifndef CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
6 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 6 #define CHROME_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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 const content::MediaResponseCallback& callback) OVERRIDE; | 107 const content::MediaResponseCallback& callback) OVERRIDE; |
108 virtual void CanDownload(const std::string& request_method, | 108 virtual void CanDownload(const std::string& request_method, |
109 const GURL& url, | 109 const GURL& url, |
110 const base::Callback<void(bool)>& callback) OVERRIDE; | 110 const base::Callback<void(bool)>& callback) OVERRIDE; |
111 virtual void RequestPointerLockPermission( | 111 virtual void RequestPointerLockPermission( |
112 bool user_gesture, | 112 bool user_gesture, |
113 bool last_unlocked_by_target, | 113 bool last_unlocked_by_target, |
114 const base::Callback<void(bool)>& callback) OVERRIDE; | 114 const base::Callback<void(bool)>& callback) OVERRIDE; |
115 virtual content::JavaScriptDialogManager* | 115 virtual content::JavaScriptDialogManager* |
116 GetJavaScriptDialogManager() OVERRIDE; | 116 GetJavaScriptDialogManager() OVERRIDE; |
| 117 virtual content::ColorChooser* OpenColorChooser( |
| 118 content::WebContents* web_contents, |
| 119 SkColor color, |
| 120 const std::vector<content::ColorSuggestion>& suggestions) OVERRIDE; |
| 121 virtual void RunFileChooser( |
| 122 content::WebContents* web_contents, |
| 123 const content::FileChooserParams& params) OVERRIDE; |
117 | 124 |
118 // NotificationObserver implementation. | 125 // NotificationObserver implementation. |
119 virtual void Observe(int type, | 126 virtual void Observe(int type, |
120 const content::NotificationSource& source, | 127 const content::NotificationSource& source, |
121 const content::NotificationDetails& details) OVERRIDE; | 128 const content::NotificationDetails& details) OVERRIDE; |
122 | 129 |
123 // Set the zoom factor. | 130 // Set the zoom factor. |
124 virtual void SetZoom(double zoom_factor) OVERRIDE; | 131 virtual void SetZoom(double zoom_factor) OVERRIDE; |
125 | 132 |
126 // Returns the current zoom factor. | 133 // Returns the current zoom factor. |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 scoped_ptr<chromeos::AccessibilityStatusSubscription> | 356 scoped_ptr<chromeos::AccessibilityStatusSubscription> |
350 accessibility_subscription_; | 357 accessibility_subscription_; |
351 #endif | 358 #endif |
352 | 359 |
353 std::map<int, int> bridge_id_to_request_id_map_; | 360 std::map<int, int> bridge_id_to_request_id_map_; |
354 | 361 |
355 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); | 362 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); |
356 }; | 363 }; |
357 | 364 |
358 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 365 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
OLD | NEW |