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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_child_frame.h

Issue 2132633002: Tracking composition range on the browser side (Aura) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatting Fixes Created 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 void SetBackgroundColor(SkColor color) override; 89 void SetBackgroundColor(SkColor color) override;
90 gfx::Size GetPhysicalBackingSize() const override; 90 gfx::Size GetPhysicalBackingSize() const override;
91 bool IsMouseLocked() override; 91 bool IsMouseLocked() override;
92 92
93 // RenderWidgetHostViewBase implementation. 93 // RenderWidgetHostViewBase implementation.
94 void InitAsPopup(RenderWidgetHostView* parent_host_view, 94 void InitAsPopup(RenderWidgetHostView* parent_host_view,
95 const gfx::Rect& bounds) override; 95 const gfx::Rect& bounds) override;
96 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; 96 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override;
97 void UpdateCursor(const WebCursor& cursor) override; 97 void UpdateCursor(const WebCursor& cursor) override;
98 void SetIsLoading(bool is_loading) override; 98 void SetIsLoading(bool is_loading) override;
99 void ImeCompositionRangeChanged(
100 const gfx::Range& range,
101 const std::vector<gfx::Rect>& character_bounds) override;
102 void RenderProcessGone(base::TerminationStatus status, 99 void RenderProcessGone(base::TerminationStatus status,
103 int error_code) override; 100 int error_code) override;
104 void Destroy() override; 101 void Destroy() override;
105 void SetTooltipText(const base::string16& tooltip_text) override; 102 void SetTooltipText(const base::string16& tooltip_text) override;
106 void SelectionChanged(const base::string16& text, 103 void SelectionChanged(const base::string16& text,
107 size_t offset, 104 size_t offset,
108 const gfx::Range& range) override; 105 const gfx::Range& range) override;
109 void CopyFromCompositingSurface( 106 void CopyFromCompositingSurface(
110 const gfx::Rect& src_subrect, 107 const gfx::Rect& src_subrect,
111 const gfx::Size& dst_size, 108 const gfx::Size& dst_size,
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 // The surface id namespace of the parent RenderWidgetHostView. 0 if none. 239 // The surface id namespace of the parent RenderWidgetHostView. 0 if none.
243 uint32_t parent_surface_id_namespace_; 240 uint32_t parent_surface_id_namespace_;
244 241
245 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; 242 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_;
246 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 243 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
247 }; 244 };
248 245
249 } // namespace content 246 } // namespace content
250 247
251 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 248 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698