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

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

Issue 2152073002: Removed const from RenderWidgetHostView::GetSelectedText() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | content/browser/frame_host/render_widget_host_view_guest.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 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_GUEST_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 void SetBounds(const gfx::Rect& rect) override; 61 void SetBounds(const gfx::Rect& rect) override;
62 void Focus() override; 62 void Focus() override;
63 bool HasFocus() const override; 63 bool HasFocus() const override;
64 void Show() override; 64 void Show() override;
65 void Hide() override; 65 void Hide() override;
66 gfx::NativeView GetNativeView() const override; 66 gfx::NativeView GetNativeView() const override;
67 gfx::NativeViewAccessible GetNativeViewAccessible() override; 67 gfx::NativeViewAccessible GetNativeViewAccessible() override;
68 gfx::Rect GetViewBounds() const override; 68 gfx::Rect GetViewBounds() const override;
69 gfx::Rect GetBoundsInRootWindow() override; 69 gfx::Rect GetBoundsInRootWindow() override;
70 gfx::Size GetPhysicalBackingSize() const override; 70 gfx::Size GetPhysicalBackingSize() const override;
71 base::string16 GetSelectedText() const override; 71 base::string16 GetSelectedText() override;
72 72
73 // RenderWidgetHostViewBase implementation. 73 // RenderWidgetHostViewBase implementation.
74 void InitAsPopup(RenderWidgetHostView* parent_host_view, 74 void InitAsPopup(RenderWidgetHostView* parent_host_view,
75 const gfx::Rect& bounds) override; 75 const gfx::Rect& bounds) override;
76 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; 76 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override;
77 void UpdateCursor(const WebCursor& cursor) override; 77 void UpdateCursor(const WebCursor& cursor) override;
78 void SetIsLoading(bool is_loading) override; 78 void SetIsLoading(bool is_loading) override;
79 void TextInputStateChanged(const TextInputState& params) override; 79 void TextInputStateChanged(const TextInputState& params) override;
80 void ImeCancelComposition() override; 80 void ImeCancelComposition() override;
81 #if defined(OS_MACOSX) || defined(USE_AURA) 81 #if defined(OS_MACOSX) || defined(USE_AURA)
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 // The platform view for this RenderWidgetHostView. 141 // The platform view for this RenderWidgetHostView.
142 // RenderWidgetHostViewGuest mostly only cares about stuff related to 142 // RenderWidgetHostViewGuest mostly only cares about stuff related to
143 // compositing, the rest are directly forwarded to this |platform_view_|. 143 // compositing, the rest are directly forwarded to this |platform_view_|.
144 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; 144 base::WeakPtr<RenderWidgetHostViewBase> platform_view_;
145 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); 145 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest);
146 }; 146 };
147 147
148 } // namespace content 148 } // namespace content
149 149
150 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 150 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_widget_host_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698