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

Side by Side Diff: Source/web/WebViewImpl.h

Issue 31043005: Remove WebView::setScrollbarColors (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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 | « no previous file | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 virtual WebAXObject accessibilityObject(); 300 virtual WebAXObject accessibilityObject();
301 virtual void applyAutofillSuggestions( 301 virtual void applyAutofillSuggestions(
302 const WebNode&, 302 const WebNode&,
303 const WebVector<WebString>& names, 303 const WebVector<WebString>& names,
304 const WebVector<WebString>& labels, 304 const WebVector<WebString>& labels,
305 const WebVector<WebString>& icons, 305 const WebVector<WebString>& icons,
306 const WebVector<int>& itemIDs, 306 const WebVector<int>& itemIDs,
307 int separatorIndex); 307 int separatorIndex);
308 virtual void hidePopups(); 308 virtual void hidePopups();
309 virtual void selectAutofillSuggestionAtIndex(unsigned listIndex); 309 virtual void selectAutofillSuggestionAtIndex(unsigned listIndex);
310 virtual void setScrollbarColors(unsigned inactiveColor,
311 unsigned activeColor,
312 unsigned trackColor);
313 virtual void setSelectionColors(unsigned activeBackgroundColor, 310 virtual void setSelectionColors(unsigned activeBackgroundColor,
314 unsigned activeForegroundColor, 311 unsigned activeForegroundColor,
315 unsigned inactiveBackgroundColor, 312 unsigned inactiveBackgroundColor,
316 unsigned inactiveForegroundColor); 313 unsigned inactiveForegroundColor);
317 virtual void performCustomContextMenuAction(unsigned action); 314 virtual void performCustomContextMenuAction(unsigned action);
318 virtual void showContextMenu(); 315 virtual void showContextMenu();
319 virtual void addPageOverlay(WebPageOverlay*, int /* zOrder */); 316 virtual void addPageOverlay(WebPageOverlay*, int /* zOrder */);
320 virtual void removePageOverlay(WebPageOverlay*); 317 virtual void removePageOverlay(WebPageOverlay*);
321 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara meters&); 318 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara meters&);
322 virtual void setShowPaintRects(bool); 319 virtual void setShowPaintRects(bool);
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 inline WebViewImpl* toWebViewImpl(WebView* webView) 829 inline WebViewImpl* toWebViewImpl(WebView* webView)
833 { 830 {
834 // We have no ways to check if the specified WebView is an instance of 831 // We have no ways to check if the specified WebView is an instance of
835 // WebViewImpl because WebViewImpl is the only implementation of WebView. 832 // WebViewImpl because WebViewImpl is the only implementation of WebView.
836 return static_cast<WebViewImpl*>(webView); 833 return static_cast<WebViewImpl*>(webView);
837 } 834 }
838 835
839 } // namespace WebKit 836 } // namespace WebKit
840 837
841 #endif 838 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698