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

Side by Side Diff: third_party/WebKit/public/web/WebView.h

Issue 2609093002: Revert of Use consistent types for ICC profiles (Closed)
Patch Set: Created 3 years, 11 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 | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | ui/gfx/BUILD.gn » ('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) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2010, 2011, 2012 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 22 matching lines...) Expand all
33 33
34 #include "../platform/WebColor.h" 34 #include "../platform/WebColor.h"
35 #include "../platform/WebDisplayMode.h" 35 #include "../platform/WebDisplayMode.h"
36 #include "../platform/WebDragOperation.h" 36 #include "../platform/WebDragOperation.h"
37 #include "../platform/WebFocusType.h" 37 #include "../platform/WebFocusType.h"
38 #include "../platform/WebPageVisibilityState.h" 38 #include "../platform/WebPageVisibilityState.h"
39 #include "../platform/WebString.h" 39 #include "../platform/WebString.h"
40 #include "../platform/WebVector.h" 40 #include "../platform/WebVector.h"
41 #include "WebWidget.h" 41 #include "WebWidget.h"
42 42
43 namespace gfx {
44 class ColorSpace;
45 }
46
47 namespace blink { 43 namespace blink {
48 44
49 class WebAXObject; 45 class WebAXObject;
50 class WebCompositedDisplayList; 46 class WebCompositedDisplayList;
51 class WebCredentialManagerClient; 47 class WebCredentialManagerClient;
52 class WebFrame; 48 class WebFrame;
53 class WebHitTestResult; 49 class WebHitTestResult;
54 class WebLocalFrame; 50 class WebLocalFrame;
55 class WebPageImportanceSignals; 51 class WebPageImportanceSignals;
56 class WebPrerendererClient; 52 class WebPrerendererClient;
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 // Sets the ratio as computed by computePageScaleConstraints. 311 // Sets the ratio as computed by computePageScaleConstraints.
316 // TODO(oshima): Remove this once the device scale factor implementation is 312 // TODO(oshima): Remove this once the device scale factor implementation is
317 // fully migrated to use zooming mechanism. 313 // fully migrated to use zooming mechanism.
318 virtual void setDeviceScaleFactor(float) = 0; 314 virtual void setDeviceScaleFactor(float) = 0;
319 315
320 // Sets the additional zoom factor used for device scale factor. This is used 316 // Sets the additional zoom factor used for device scale factor. This is used
321 // to scale the content by the device scale factor, without affecting zoom 317 // to scale the content by the device scale factor, without affecting zoom
322 // level. 318 // level.
323 virtual void setZoomFactorForDeviceScaleFactor(float) = 0; 319 virtual void setZoomFactorForDeviceScaleFactor(float) = 0;
324 320
325 // Set and reset the device color space. 321 // Set and reset the device color profile.
326 virtual void setDeviceColorSpace(const gfx::ColorSpace&) = 0; 322 virtual void setDeviceColorProfile(const WebVector<char>&) = 0;
327 323
328 // Resize the view at the same time as changing the state of the top 324 // Resize the view at the same time as changing the state of the top
329 // controls. If |browserControlsShrinkLayout| is true, the embedder shrunk the 325 // controls. If |browserControlsShrinkLayout| is true, the embedder shrunk the
330 // WebView size by the browser controls height. 326 // WebView size by the browser controls height.
331 virtual void resizeWithBrowserControls(const WebSize&, 327 virtual void resizeWithBrowserControls(const WebSize&,
332 float browserControlsHeight, 328 float browserControlsHeight,
333 bool browserControlsShrinkLayout) = 0; 329 bool browserControlsShrinkLayout) = 0;
334 330
335 // Auto-Resize ----------------------------------------------------------- 331 // Auto-Resize -----------------------------------------------------------
336 332
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 // completed. 497 // completed.
502 WebWidget* widget() { return this; } 498 WebWidget* widget() { return this; }
503 499
504 protected: 500 protected:
505 ~WebView() {} 501 ~WebView() {}
506 }; 502 };
507 503
508 } // namespace blink 504 } // namespace blink
509 505
510 #endif 506 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698