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

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

Issue 2862753002: Mark Render{Frame,View}::GetWebkitPreferences() return values as const. (Closed)
Patch Set: Created 3 years, 7 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_frame_impl.cc ('k') | content/renderer/render_view_impl.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_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 virtual void didScrollWithKeyboard(const blink::WebSize& delta); 345 virtual void didScrollWithKeyboard(const blink::WebSize& delta);
346 #endif 346 #endif
347 347
348 // RenderView implementation ------------------------------------------------- 348 // RenderView implementation -------------------------------------------------
349 349
350 bool Send(IPC::Message* message) override; 350 bool Send(IPC::Message* message) override;
351 RenderFrameImpl* GetMainRenderFrame() override; 351 RenderFrameImpl* GetMainRenderFrame() override;
352 int GetRoutingID() const override; 352 int GetRoutingID() const override;
353 gfx::Size GetSize() const override; 353 gfx::Size GetSize() const override;
354 float GetDeviceScaleFactor() const override; 354 float GetDeviceScaleFactor() const override;
355 WebPreferences& GetWebkitPreferences() override; 355 const WebPreferences& GetWebkitPreferences() override;
356 void SetWebkitPreferences(const WebPreferences& preferences) override; 356 void SetWebkitPreferences(const WebPreferences& preferences) override;
357 blink::WebView* GetWebView() override; 357 blink::WebView* GetWebView() override;
358 blink::WebFrameWidget* GetWebFrameWidget() override; 358 blink::WebFrameWidget* GetWebFrameWidget() override;
359 bool ShouldDisplayScrollbars(int width, int height) const override; 359 bool ShouldDisplayScrollbars(int width, int height) const override;
360 bool GetContentStateImmediately() const override; 360 bool GetContentStateImmediately() const override;
361 void Repaint(const gfx::Size& size) override; 361 void Repaint(const gfx::Size& size) override;
362 void SetEditCommandForNextKeyEvent(const std::string& name, 362 void SetEditCommandForNextKeyEvent(const std::string& name,
363 const std::string& value) override; 363 const std::string& value) override;
364 void ClearEditCommands() override; 364 void ClearEditCommands() override;
365 const std::string& GetAcceptLanguages() const override; 365 const std::string& GetAcceptLanguages() const override;
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 // --------------------------------------------------------------------------- 829 // ---------------------------------------------------------------------------
830 830
831 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_; 831 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_;
832 832
833 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 833 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
834 }; 834 };
835 835
836 } // namespace content 836 } // namespace content
837 837
838 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 838 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698