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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 2970183002: color: Use ColorSpace for plumbing (Closed)
Patch Set: Add missed places Created 3 years, 5 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 | « content/public/test/layouttest_support.h ('k') | content/renderer/render_view_impl.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 class WebURLRequest; 79 class WebURLRequest;
80 struct WebActiveWheelFlingParameters; 80 struct WebActiveWheelFlingParameters;
81 struct WebDateTimeChooserParams; 81 struct WebDateTimeChooserParams;
82 struct WebMediaPlayerAction; 82 struct WebMediaPlayerAction;
83 struct WebPluginAction; 83 struct WebPluginAction;
84 struct WebPoint; 84 struct WebPoint;
85 struct WebWindowFeatures; 85 struct WebWindowFeatures;
86 } // namespace blink 86 } // namespace blink
87 87
88 namespace gfx { 88 namespace gfx {
89 class ICCProfile; 89 class ColorSpace;
90 } 90 }
91 91
92 namespace content { 92 namespace content {
93 93
94 class IdleUserDetector; 94 class IdleUserDetector;
95 class RendererDateTimePicker; 95 class RendererDateTimePicker;
96 class RenderViewImplTest; 96 class RenderViewImplTest;
97 class RenderViewObserver; 97 class RenderViewObserver;
98 class RenderViewTest; 98 class RenderViewTest;
99 class SpeechRecognitionDispatcher; 99 class SpeechRecognitionDispatcher;
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 226
227 // Invokes OnSetFocus and marks the widget as active depending on the value 227 // Invokes OnSetFocus and marks the widget as active depending on the value
228 // of |enable|. This is used for layout tests that need to control the focus 228 // of |enable|. This is used for layout tests that need to control the focus
229 // synchronously from the renderer. 229 // synchronously from the renderer.
230 void SetFocusAndActivateForTesting(bool enable); 230 void SetFocusAndActivateForTesting(bool enable);
231 231
232 // Change the device scale factor and force the compositor to resize. 232 // Change the device scale factor and force the compositor to resize.
233 void SetDeviceScaleFactorForTesting(float factor); 233 void SetDeviceScaleFactorForTesting(float factor);
234 234
235 // Change the device ICC color profile while running a layout test. 235 // Change the device ICC color profile while running a layout test.
236 void SetDeviceColorProfileForTesting(const gfx::ICCProfile& icc_profile); 236 void SetDeviceColorSpaceForTesting(const gfx::ColorSpace& color_space);
237 237
238 // Used to force the size of a window when running layout tests. 238 // Used to force the size of a window when running layout tests.
239 void ForceResizeForTesting(const gfx::Size& new_size); 239 void ForceResizeForTesting(const gfx::Size& new_size);
240 240
241 void UseSynchronousResizeModeForTesting(bool enable); 241 void UseSynchronousResizeModeForTesting(bool enable);
242 242
243 // Control autoresize mode. 243 // Control autoresize mode.
244 void EnableAutoResizeForTesting(const gfx::Size& min_size, 244 void EnableAutoResizeForTesting(const gfx::Size& min_size,
245 const gfx::Size& max_size); 245 const gfx::Size& max_size);
246 void DisableAutoResizeForTesting(const gfx::Size& new_size); 246 void DisableAutoResizeForTesting(const gfx::Size& new_size);
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 // --------------------------------------------------------------------------- 813 // ---------------------------------------------------------------------------
814 814
815 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_; 815 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_;
816 816
817 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 817 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
818 }; 818 };
819 819
820 } // namespace content 820 } // namespace content
821 821
822 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 822 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/test/layouttest_support.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698