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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.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
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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 // RenderWidgetHostView implementation. 86 // RenderWidgetHostView implementation.
87 void SetBackgroundColor(SkColor color) override; 87 void SetBackgroundColor(SkColor color) override;
88 void SetBackgroundColorToDefault() final; 88 void SetBackgroundColorToDefault() final;
89 bool GetBackgroundOpaque() override; 89 bool GetBackgroundOpaque() override;
90 ui::TextInputClient* GetTextInputClient() override; 90 ui::TextInputClient* GetTextInputClient() override;
91 void WasUnOccluded() override {} 91 void WasUnOccluded() override {}
92 void WasOccluded() override {} 92 void WasOccluded() override {}
93 bool IsShowingContextMenu() const override; 93 bool IsShowingContextMenu() const override;
94 void SetShowingContextMenu(bool showing_menu) override; 94 void SetShowingContextMenu(bool showing_menu) override;
95 base::string16 GetSelectedText() const override; 95 base::string16 GetSelectedText() override;
96 bool IsMouseLocked() override; 96 bool IsMouseLocked() override;
97 gfx::Size GetVisibleViewportSize() const override; 97 gfx::Size GetVisibleViewportSize() const override;
98 void SetInsets(const gfx::Insets& insets) override; 98 void SetInsets(const gfx::Insets& insets) override;
99 void BeginFrameSubscription( 99 void BeginFrameSubscription(
100 std::unique_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; 100 std::unique_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override;
101 void EndFrameSubscription() override; 101 void EndFrameSubscription() override;
102 void FocusedNodeTouched(const gfx::Point& location_dips_screen, 102 void FocusedNodeTouched(const gfx::Point& location_dips_screen,
103 bool editable) override; 103 bool editable) override;
104 104
105 // This only needs to be overridden by RenderWidgetHostViewBase subclasses 105 // This only needs to be overridden by RenderWidgetHostViewBase subclasses
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; 469 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_;
470 470
471 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 471 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
472 472
473 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 473 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
474 }; 474 };
475 475
476 } // namespace content 476 } // namespace content
477 477
478 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 478 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698