| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |