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

Side by Side Diff: extensions/browser/guest_view/web_view/web_view_guest.h

Issue 889873004: Move Color Picker Plumbing From WebViewGuest to GuestViewBase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months 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
OLDNEW
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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 const base::Callback<void(bool)>& callback) override; 138 const base::Callback<void(bool)>& callback) override;
139 bool CheckMediaAccessPermission(content::WebContents* source, 139 bool CheckMediaAccessPermission(content::WebContents* source,
140 const GURL& security_origin, 140 const GURL& security_origin,
141 content::MediaStreamType type) override; 141 content::MediaStreamType type) override;
142 void CanDownload(content::RenderViewHost* render_view_host, 142 void CanDownload(content::RenderViewHost* render_view_host,
143 const GURL& url, 143 const GURL& url,
144 const std::string& request_method, 144 const std::string& request_method,
145 const base::Callback<void(bool)>& callback) override; 145 const base::Callback<void(bool)>& callback) override;
146 content::JavaScriptDialogManager* GetJavaScriptDialogManager( 146 content::JavaScriptDialogManager* GetJavaScriptDialogManager(
147 content::WebContents* source) override; 147 content::WebContents* source) override;
148 content::ColorChooser* OpenColorChooser(
149 content::WebContents* web_contents,
150 SkColor color,
151 const std::vector<content::ColorSuggestion>& suggestions) override;
152 void AddNewContents(content::WebContents* source, 148 void AddNewContents(content::WebContents* source,
153 content::WebContents* new_contents, 149 content::WebContents* new_contents,
154 WindowOpenDisposition disposition, 150 WindowOpenDisposition disposition,
155 const gfx::Rect& initial_pos, 151 const gfx::Rect& initial_pos,
156 bool user_gesture, 152 bool user_gesture,
157 bool* was_blocked) override; 153 bool* was_blocked) override;
158 content::WebContents* OpenURLFromTab( 154 content::WebContents* OpenURLFromTab(
159 content::WebContents* source, 155 content::WebContents* source,
160 const content::OpenURLParams& params) override; 156 const content::OpenURLParams& params) override;
161 void WebContentsCreated(content::WebContents* source_contents, 157 void WebContentsCreated(content::WebContents* source_contents,
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 // This is used to ensure pending tasks will not fire after this object is 364 // This is used to ensure pending tasks will not fire after this object is
369 // destroyed. 365 // destroyed.
370 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; 366 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_;
371 367
372 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); 368 DISALLOW_COPY_AND_ASSIGN(WebViewGuest);
373 }; 369 };
374 370
375 } // namespace extensions 371 } // namespace extensions
376 372
377 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 373 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
OLDNEW
« no previous file with comments | « extensions/browser/guest_view/guest_view_base.cc ('k') | extensions/browser/guest_view/web_view/web_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698