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

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

Issue 2641973002: Use gfx::ICCProfile type consistently (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/icc_profile.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 /* 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 ICCProfile;
45 }
46
43 namespace blink { 47 namespace blink {
44 48
45 class WebAXObject; 49 class WebAXObject;
46 class WebCompositedDisplayList; 50 class WebCompositedDisplayList;
47 class WebCredentialManagerClient; 51 class WebCredentialManagerClient;
48 class WebFrame; 52 class WebFrame;
49 class WebHitTestResult; 53 class WebHitTestResult;
50 class WebLocalFrame; 54 class WebLocalFrame;
51 class WebPageImportanceSignals; 55 class WebPageImportanceSignals;
52 class WebPrerendererClient; 56 class WebPrerendererClient;
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 // TODO(oshima): Remove this once the device scale factor implementation is 314 // TODO(oshima): Remove this once the device scale factor implementation is
311 // fully migrated to use zooming mechanism. 315 // fully migrated to use zooming mechanism.
312 virtual void setDeviceScaleFactor(float) = 0; 316 virtual void setDeviceScaleFactor(float) = 0;
313 317
314 // Sets the additional zoom factor used for device scale factor. This is used 318 // Sets the additional zoom factor used for device scale factor. This is used
315 // to scale the content by the device scale factor, without affecting zoom 319 // to scale the content by the device scale factor, without affecting zoom
316 // level. 320 // level.
317 virtual void setZoomFactorForDeviceScaleFactor(float) = 0; 321 virtual void setZoomFactorForDeviceScaleFactor(float) = 0;
318 322
319 // Set and reset the device color profile. 323 // Set and reset the device color profile.
320 virtual void setDeviceColorProfile(const WebVector<char>&) = 0; 324 virtual void setDeviceColorProfile(const gfx::ICCProfile&) = 0;
321 325
322 // Resize the view at the same time as changing the state of the top 326 // Resize the view at the same time as changing the state of the top
323 // controls. If |browserControlsShrinkLayout| is true, the embedder shrunk the 327 // controls. If |browserControlsShrinkLayout| is true, the embedder shrunk the
324 // WebView size by the browser controls height. 328 // WebView size by the browser controls height.
325 virtual void resizeWithBrowserControls(const WebSize&, 329 virtual void resizeWithBrowserControls(const WebSize&,
326 float browserControlsHeight, 330 float browserControlsHeight,
327 bool browserControlsShrinkLayout) = 0; 331 bool browserControlsShrinkLayout) = 0;
328 332
329 // Auto-Resize ----------------------------------------------------------- 333 // Auto-Resize -----------------------------------------------------------
330 334
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 // completed. 499 // completed.
496 WebWidget* widget() { return this; } 500 WebWidget* widget() { return this; }
497 501
498 protected: 502 protected:
499 ~WebView() {} 503 ~WebView() {}
500 }; 504 };
501 505
502 } // namespace blink 506 } // namespace blink
503 507
504 #endif 508 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | ui/gfx/icc_profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698