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

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

Issue 261633002: Add RenderView / Widget setDeviceColorProfile interface to Page (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merge to tip. Created 6 years, 7 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 | Annotate | Revision Log
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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 virtual float minimumPageScaleFactor() const OVERRIDE; 190 virtual float minimumPageScaleFactor() const OVERRIDE;
191 virtual float maximumPageScaleFactor() const OVERRIDE; 191 virtual float maximumPageScaleFactor() const OVERRIDE;
192 virtual void saveScrollAndScaleState() OVERRIDE; 192 virtual void saveScrollAndScaleState() OVERRIDE;
193 virtual void restoreScrollAndScaleState() OVERRIDE; 193 virtual void restoreScrollAndScaleState() OVERRIDE;
194 virtual void resetScrollAndScaleState() OVERRIDE; 194 virtual void resetScrollAndScaleState() OVERRIDE;
195 virtual void setIgnoreViewportTagScaleLimits(bool) OVERRIDE; 195 virtual void setIgnoreViewportTagScaleLimits(bool) OVERRIDE;
196 virtual WebSize contentsPreferredMinimumSize() OVERRIDE; 196 virtual WebSize contentsPreferredMinimumSize() OVERRIDE;
197 197
198 virtual float deviceScaleFactor() const OVERRIDE; 198 virtual float deviceScaleFactor() const OVERRIDE;
199 virtual void setDeviceScaleFactor(float) OVERRIDE; 199 virtual void setDeviceScaleFactor(float) OVERRIDE;
200 virtual void deviceColorProfileChanged(const char* profile, size_t) OVERRIDE ;
200 201
201 virtual void setFixedLayoutSize(const WebSize&) OVERRIDE; 202 virtual void setFixedLayoutSize(const WebSize&) OVERRIDE;
202 203
203 virtual void enableAutoResizeMode( 204 virtual void enableAutoResizeMode(
204 const WebSize& minSize, 205 const WebSize& minSize,
205 const WebSize& maxSize) OVERRIDE; 206 const WebSize& maxSize) OVERRIDE;
206 virtual void disableAutoResizeMode() OVERRIDE; 207 virtual void disableAutoResizeMode() OVERRIDE;
207 virtual void performMediaPlayerAction( 208 virtual void performMediaPlayerAction(
208 const WebMediaPlayerAction& action, 209 const WebMediaPlayerAction& action,
209 const WebPoint& location) OVERRIDE; 210 const WebPoint& location) OVERRIDE;
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 bool m_userGestureObserved; 731 bool m_userGestureObserved;
731 }; 732 };
732 733
733 // We have no ways to check if the specified WebView is an instance of 734 // We have no ways to check if the specified WebView is an instance of
734 // WebViewImpl because WebViewImpl is the only implementation of WebView. 735 // WebViewImpl because WebViewImpl is the only implementation of WebView.
735 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 736 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
736 737
737 } // namespace blink 738 } // namespace blink
738 739
739 #endif 740 #endif
OLDNEW
« no previous file with comments | « Source/core/page/Page.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | public/web/WebView.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698