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

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

Issue 2216073002: Color: Add ColorCorrectRendering flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@decoder_profile
Patch Set: Rebase Created 4 years, 4 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/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.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_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 // Checks if the composition range or composition character bounds have been 350 // Checks if the composition range or composition character bounds have been
351 // changed. If they are changed, the new value will be sent to the browser 351 // changed. If they are changed, the new value will be sent to the browser
352 // process. This method does nothing when the browser process is not able to 352 // process. This method does nothing when the browser process is not able to
353 // handle composition range and composition character bounds. 353 // handle composition range and composition character bounds.
354 // If immediate_request is true, render sends the latest composition info to 354 // If immediate_request is true, render sends the latest composition info to
355 // the browser even if the composition info is not changed. 355 // the browser even if the composition info is not changed.
356 void UpdateCompositionInfo(bool immediate_request); 356 void UpdateCompositionInfo(bool immediate_request);
357 357
358 // Change the device ICC color profile while running a layout test. 358 // Change the device ICC color profile while running a layout test.
359 void SetDeviceColorProfileForTesting(const std::vector<char>& color_profile); 359 void SetDeviceColorProfileForTesting(const std::vector<char>& color_profile);
360 void ResetDeviceColorProfileForTesting();
361 360
362 // Called when the Widget has changed size as a result of an auto-resize. 361 // Called when the Widget has changed size as a result of an auto-resize.
363 void DidAutoResize(const gfx::Size& new_size); 362 void DidAutoResize(const gfx::Size& new_size);
364 363
365 // Called to get the position of the root window containing the widget in 364 // Called to get the position of the root window containing the widget in
366 // screen coordinates. 365 // screen coordinates.
367 gfx::Rect RootWindowRect(); 366 gfx::Rect RootWindowRect();
368 367
369 // Indicates whether this widget has focus. 368 // Indicates whether this widget has focus.
370 bool has_focus() const { return has_focus_; } 369 bool has_focus() const { return has_focus_; }
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 // This reference is set by the RenderFrame and is used to query the IME- 790 // This reference is set by the RenderFrame and is used to query the IME-
792 // related state from the plugin to later send to the browser. 791 // related state from the plugin to later send to the browser.
793 PepperPluginInstanceImpl* focused_pepper_plugin_; 792 PepperPluginInstanceImpl* focused_pepper_plugin_;
794 793
795 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 794 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
796 }; 795 };
797 796
798 } // namespace content 797 } // namespace content
799 798
800 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 799 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698