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

Side by Side Diff: content/public/browser/web_contents_delegate.h

Issue 23593006: Add support for datalist to input type color Base URL: https://chromium.googlesource.com/chromium/src.git@colorstretch
Patch Set: Created 7 years, 3 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
« no previous file with comments | « content/content_common.gypi ('k') | content/public/browser/web_contents_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 22 matching lines...) Expand all
33 namespace content { 33 namespace content {
34 class BrowserContext; 34 class BrowserContext;
35 class ColorChooser; 35 class ColorChooser;
36 class DownloadItem; 36 class DownloadItem;
37 class JavaScriptDialogManager; 37 class JavaScriptDialogManager;
38 class PageState; 38 class PageState;
39 class RenderViewHost; 39 class RenderViewHost;
40 class SessionStorageNamespace; 40 class SessionStorageNamespace;
41 class WebContents; 41 class WebContents;
42 class WebContentsImpl; 42 class WebContentsImpl;
43 struct ColorSuggestion;
43 struct ContextMenuParams; 44 struct ContextMenuParams;
44 struct DropData; 45 struct DropData;
45 struct FileChooserParams; 46 struct FileChooserParams;
46 struct NativeWebKeyboardEvent; 47 struct NativeWebKeyboardEvent;
47 struct Referrer; 48 struct Referrer;
48 struct SSLStatus; 49 struct SSLStatus;
49 } 50 }
50 51
51 namespace gfx { 52 namespace gfx {
52 class Point; 53 class Point;
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 // NavigationController has configured its pending entry, but it has not yet 329 // NavigationController has configured its pending entry, but it has not yet
329 // been committed. 330 // been committed.
330 virtual void DidNavigateToPendingEntry(WebContents* source) {} 331 virtual void DidNavigateToPendingEntry(WebContents* source) {}
331 332
332 // Returns a pointer to a service to manage JavaScript dialogs. May return 333 // Returns a pointer to a service to manage JavaScript dialogs. May return
333 // NULL in which case dialogs aren't shown. 334 // NULL in which case dialogs aren't shown.
334 virtual JavaScriptDialogManager* GetJavaScriptDialogManager(); 335 virtual JavaScriptDialogManager* GetJavaScriptDialogManager();
335 336
336 // Called when color chooser should open. Returns the opened color chooser. 337 // Called when color chooser should open. Returns the opened color chooser.
337 // Ownership of the returned pointer is transferred to the caller. 338 // Ownership of the returned pointer is transferred to the caller.
338 virtual ColorChooser* OpenColorChooser(WebContents* web_contents, 339 virtual ColorChooser* OpenColorChooser(
339 SkColor color); 340 WebContents* web_contents,
341 SkColor color,
342 const std::vector<ColorSuggestion>& suggestions);
340 343
341 // Called when a file selection is to be done. 344 // Called when a file selection is to be done.
342 virtual void RunFileChooser(WebContents* web_contents, 345 virtual void RunFileChooser(WebContents* web_contents,
343 const FileChooserParams& params) {} 346 const FileChooserParams& params) {}
344 347
345 // Request to enumerate a directory. This is equivalent to running the file 348 // Request to enumerate a directory. This is equivalent to running the file
346 // chooser in directory-enumeration mode and having the user select the given 349 // chooser in directory-enumeration mode and having the user select the given
347 // directory. 350 // directory.
348 virtual void EnumerateDirectory(WebContents* web_contents, 351 virtual void EnumerateDirectory(WebContents* web_contents,
349 int request_id, 352 int request_id,
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 // Called when |this| is no longer the WebContentsDelegate for |source|. 448 // Called when |this| is no longer the WebContentsDelegate for |source|.
446 void Detach(WebContents* source); 449 void Detach(WebContents* source);
447 450
448 // The WebContents that this is currently a delegate for. 451 // The WebContents that this is currently a delegate for.
449 std::set<WebContents*> attached_contents_; 452 std::set<WebContents*> attached_contents_;
450 }; 453 };
451 454
452 } // namespace content 455 } // namespace content
453 456
454 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ 457 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/content_common.gypi ('k') | content/public/browser/web_contents_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698