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

Side by Side Diff: chrome/browser/ui/browser.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
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/views/external_tab_container_win.h » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 "chrome/browser/ui/browser.h" 5 #include "chrome/browser/ui/browser.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #include <shellapi.h> 9 #include <shellapi.h>
10 #endif // defined(OS_WIN) 10 #endif // defined(OS_WIN)
(...skipping 1569 matching lines...) Expand 10 before | Expand all | Expand 10 after
1580 1580
1581 void Browser::DidNavigateToPendingEntry(WebContents* web_contents) { 1581 void Browser::DidNavigateToPendingEntry(WebContents* web_contents) {
1582 if (web_contents == tab_strip_model_->GetActiveWebContents()) 1582 if (web_contents == tab_strip_model_->GetActiveWebContents())
1583 UpdateBookmarkBarState(BOOKMARK_BAR_STATE_CHANGE_TAB_STATE); 1583 UpdateBookmarkBarState(BOOKMARK_BAR_STATE_CHANGE_TAB_STATE);
1584 } 1584 }
1585 1585
1586 content::JavaScriptDialogManager* Browser::GetJavaScriptDialogManager() { 1586 content::JavaScriptDialogManager* Browser::GetJavaScriptDialogManager() {
1587 return GetJavaScriptDialogManagerInstance(); 1587 return GetJavaScriptDialogManagerInstance();
1588 } 1588 }
1589 1589
1590 content::ColorChooser* Browser::OpenColorChooser(WebContents* web_contents, 1590 content::ColorChooser* Browser::OpenColorChooser(
1591 SkColor initial_color) { 1591 WebContents* web_contents,
1592 SkColor initial_color,
1593 const std::vector<SkColor>& suggestions,
1594 const std::vector<string16>& suggestion_labels) {
1592 return chrome::ShowColorChooser(web_contents, initial_color); 1595 return chrome::ShowColorChooser(web_contents, initial_color);
1593 } 1596 }
1594 1597
1595 void Browser::RunFileChooser(WebContents* web_contents, 1598 void Browser::RunFileChooser(WebContents* web_contents,
1596 const content::FileChooserParams& params) { 1599 const content::FileChooserParams& params) {
1597 FileSelectHelper::RunFileChooser(web_contents, params); 1600 FileSelectHelper::RunFileChooser(web_contents, params);
1598 } 1601 }
1599 1602
1600 void Browser::EnumerateDirectory(WebContents* web_contents, 1603 void Browser::EnumerateDirectory(WebContents* web_contents,
1601 int request_id, 1604 int request_id,
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
2280 if (contents && !allow_js_access) { 2283 if (contents && !allow_js_access) {
2281 contents->web_contents()->GetController().LoadURL( 2284 contents->web_contents()->GetController().LoadURL(
2282 target_url, 2285 target_url,
2283 content::Referrer(), 2286 content::Referrer(),
2284 content::PAGE_TRANSITION_LINK, 2287 content::PAGE_TRANSITION_LINK,
2285 std::string()); // No extra headers. 2288 std::string()); // No extra headers.
2286 } 2289 }
2287 2290
2288 return contents != NULL; 2291 return contents != NULL;
2289 } 2292 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/views/external_tab_container_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698