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

Side by Side Diff: content/renderer/render_widget_owner_delegate.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 | « content/renderer/render_widget.cc ('k') | content/test/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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_OWNER_DELEGATE_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_OWNER_DELEGATE_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_OWNER_DELEGATE_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_OWNER_DELEGATE_H_
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 9
10 namespace blink { 10 namespace blink {
11 class WebMouseEvent; 11 class WebMouseEvent;
12 } 12 }
13 13
14 namespace gfx { 14 namespace gfx {
15 class ColorSpace;
16 class Point; 15 class Point;
17 } 16 }
18 17
19 namespace content { 18 namespace content {
20 19
21 // 20 //
22 // RenderWidgetOwnerDelegate 21 // RenderWidgetOwnerDelegate
23 // 22 //
24 // An interface implemented by an object owning a RenderWidget. This is 23 // An interface implemented by an object owning a RenderWidget. This is
25 // intended to be temporary until the RenderViewImpl and RenderWidget classes 24 // intended to be temporary until the RenderViewImpl and RenderWidget classes
26 // are disentangled; see http://crbug.com/583347 and http://crbug.com/478281. 25 // are disentangled; see http://crbug.com/583347 and http://crbug.com/478281.
27 class CONTENT_EXPORT RenderWidgetOwnerDelegate { 26 class CONTENT_EXPORT RenderWidgetOwnerDelegate {
28 public: 27 public:
29 // The RenderWidget set a color space. 28 // The RenderWidget set a color profile.
30 virtual void RenderWidgetDidSetColorSpace( 29 virtual void RenderWidgetDidSetColorProfile(
31 const gfx::ColorSpace& color_space) = 0; 30 const std::vector<char>& color_profile) = 0;
32 31
33 // As in RenderWidgetInputHandlerDelegate. 32 // As in RenderWidgetInputHandlerDelegate.
34 virtual void RenderWidgetFocusChangeComplete() = 0; 33 virtual void RenderWidgetFocusChangeComplete() = 0;
35 virtual bool DoesRenderWidgetHaveTouchEventHandlersAt( 34 virtual bool DoesRenderWidgetHaveTouchEventHandlersAt(
36 const gfx::Point& point) const = 0; 35 const gfx::Point& point) const = 0;
37 virtual bool RenderWidgetWillHandleMouseEvent( 36 virtual bool RenderWidgetWillHandleMouseEvent(
38 const blink::WebMouseEvent& event) = 0; 37 const blink::WebMouseEvent& event) = 0;
39 38
40 protected: 39 protected:
41 virtual ~RenderWidgetOwnerDelegate() {} 40 virtual ~RenderWidgetOwnerDelegate() {}
42 }; 41 };
43 42
44 } // namespace content 43 } // namespace content
45 44
46 #endif // CONTENT_RENDERER_RENDER_WIDGET_OWNER_DELEGATE_H_ 45 #endif // CONTENT_RENDERER_RENDER_WIDGET_OWNER_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/renderer/render_widget.cc ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698