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

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

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
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 #include "content/public/browser/web_contents_delegate.h" 5 #include "content/public/browser/web_contents_delegate.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
10 #include "content/public/browser/render_view_host.h" 10 #include "content/public/browser/render_view_host.h"
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 JavaScriptDialogManager* WebContentsDelegate::GetJavaScriptDialogManager() { 135 JavaScriptDialogManager* WebContentsDelegate::GetJavaScriptDialogManager() {
136 return NULL; 136 return NULL;
137 } 137 }
138 138
139 bool WebContentsDelegate::IsFullscreenForTabOrPending( 139 bool WebContentsDelegate::IsFullscreenForTabOrPending(
140 const WebContents* web_contents) const { 140 const WebContents* web_contents) const {
141 return false; 141 return false;
142 } 142 }
143 143
144 content::ColorChooser* WebContentsDelegate::OpenColorChooser( 144 content::ColorChooser* WebContentsDelegate::OpenColorChooser(
145 WebContents* web_contents, SkColor color) { 145 WebContents* web_contents,
146 SkColor color,
147 const std::vector<ColorSuggestion>& suggestions) {
146 return NULL; 148 return NULL;
147 } 149 }
148 150
149 bool WebContentsDelegate::RequestPpapiBrokerPermission( 151 bool WebContentsDelegate::RequestPpapiBrokerPermission(
150 WebContents* web_contents, 152 WebContents* web_contents,
151 const GURL& url, 153 const GURL& url,
152 const base::FilePath& plugin_path, 154 const base::FilePath& plugin_path,
153 const base::Callback<void(bool)>& callback) { 155 const base::Callback<void(bool)>& callback) {
154 return false; 156 return false;
155 } 157 }
(...skipping 10 matching lines...) Expand all
166 DCHECK(attached_contents_.find(web_contents) == attached_contents_.end()); 168 DCHECK(attached_contents_.find(web_contents) == attached_contents_.end());
167 attached_contents_.insert(web_contents); 169 attached_contents_.insert(web_contents);
168 } 170 }
169 171
170 void WebContentsDelegate::Detach(WebContents* web_contents) { 172 void WebContentsDelegate::Detach(WebContents* web_contents) {
171 DCHECK(attached_contents_.find(web_contents) != attached_contents_.end()); 173 DCHECK(attached_contents_.find(web_contents) != attached_contents_.end());
172 attached_contents_.erase(web_contents); 174 attached_contents_.erase(web_contents);
173 } 175 }
174 176
175 } // namespace content 177 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/web_contents_delegate.h ('k') | content/public/common/color_suggestion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698