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

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

Issue 2649023004: Have one ICCProfile per WebScreenInfo in Blink. (Closed)
Patch Set: rebase Created 3 years, 10 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 class WebNode; 82 class WebNode;
83 struct WebPoint; 83 struct WebPoint;
84 } // namespace blink 84 } // namespace blink
85 85
86 namespace cc { 86 namespace cc {
87 class CompositorFrameSink; 87 class CompositorFrameSink;
88 class SwapPromise; 88 class SwapPromise;
89 } 89 }
90 90
91 namespace gfx { 91 namespace gfx {
92 class ICCProfile;
93 class Range; 92 class Range;
94 } 93 }
95 94
96 namespace ui { 95 namespace ui {
97 struct DidOverscrollParams; 96 struct DidOverscrollParams;
98 } 97 }
99 98
100 namespace content { 99 namespace content {
101 class CompositorDependencies; 100 class CompositorDependencies;
102 class ExternalPopupMenu; 101 class ExternalPopupMenu;
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 void OnShowHostContextMenu(ContextMenuParams* params); 380 void OnShowHostContextMenu(ContextMenuParams* params);
382 381
383 // Checks if the composition range or composition character bounds have been 382 // Checks if the composition range or composition character bounds have been
384 // changed. If they are changed, the new value will be sent to the browser 383 // changed. If they are changed, the new value will be sent to the browser
385 // process. This method does nothing when the browser process is not able to 384 // process. This method does nothing when the browser process is not able to
386 // handle composition range and composition character bounds. 385 // handle composition range and composition character bounds.
387 // If immediate_request is true, render sends the latest composition info to 386 // If immediate_request is true, render sends the latest composition info to
388 // the browser even if the composition info is not changed. 387 // the browser even if the composition info is not changed.
389 void UpdateCompositionInfo(bool immediate_request); 388 void UpdateCompositionInfo(bool immediate_request);
390 389
391 // Change the device ICC color profile while running a layout test.
392 void SetDeviceColorProfileForTesting(const gfx::ICCProfile& color_profile);
393
394 // Called when the Widget has changed size as a result of an auto-resize. 390 // Called when the Widget has changed size as a result of an auto-resize.
395 void DidAutoResize(const gfx::Size& new_size); 391 void DidAutoResize(const gfx::Size& new_size);
396 392
397 // Indicates whether this widget has focus. 393 // Indicates whether this widget has focus.
398 bool has_focus() const { return has_focus_; } 394 bool has_focus() const { return has_focus_; }
399 395
400 MouseLockDispatcher* mouse_lock_dispatcher() const { 396 MouseLockDispatcher* mouse_lock_dispatcher() const {
401 return mouse_lock_dispatcher_.get(); 397 return mouse_lock_dispatcher_.get();
402 } 398 }
403 399
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 DragEventSourceInfo possible_drag_event_info_; 843 DragEventSourceInfo possible_drag_event_info_;
848 844
849 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 845 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
850 846
851 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 847 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
852 }; 848 };
853 849
854 } // namespace content 850 } // namespace content
855 851
856 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 852 #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