| 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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 // Only used on Android since all other platforms implement | 422 // Only used on Android since all other platforms implement |
| 423 // date and time input fields using MULTIPLE_FIELDS_UI | 423 // date and time input fields using MULTIPLE_FIELDS_UI |
| 424 bool openDateTimeChooser(const blink::WebDateTimeChooserParams&, | 424 bool openDateTimeChooser(const blink::WebDateTimeChooserParams&, |
| 425 blink::WebDateTimeChooserCompletion*) override; | 425 blink::WebDateTimeChooserCompletion*) override; |
| 426 virtual void didScrollWithKeyboard(const blink::WebSize& delta); | 426 virtual void didScrollWithKeyboard(const blink::WebSize& delta); |
| 427 #endif | 427 #endif |
| 428 | 428 |
| 429 // RenderView implementation ------------------------------------------------- | 429 // RenderView implementation ------------------------------------------------- |
| 430 | 430 |
| 431 bool Send(IPC::Message* message) override; | 431 bool Send(IPC::Message* message) override; |
| 432 RenderWidget* GetWidget() const override; | |
| 433 RenderFrameImpl* GetMainRenderFrame() override; | 432 RenderFrameImpl* GetMainRenderFrame() override; |
| 434 int GetRoutingID() const override; | 433 int GetRoutingID() const override; |
| 435 gfx::Size GetSize() const override; | 434 gfx::Size GetSize() const override; |
| 436 float GetDeviceScaleFactor() const override; | 435 float GetDeviceScaleFactor() const override; |
| 437 WebPreferences& GetWebkitPreferences() override; | 436 WebPreferences& GetWebkitPreferences() override; |
| 438 void SetWebkitPreferences(const WebPreferences& preferences) override; | 437 void SetWebkitPreferences(const WebPreferences& preferences) override; |
| 439 blink::WebView* GetWebView() override; | 438 blink::WebView* GetWebView() override; |
| 440 bool ShouldDisplayScrollbars(int width, int height) const override; | 439 bool ShouldDisplayScrollbars(int width, int height) const override; |
| 441 int GetEnabledBindings() const override; | 440 int GetEnabledBindings() const override; |
| 442 bool GetContentStateImmediately() const override; | 441 bool GetContentStateImmediately() const override; |
| (...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1015 // use the Observer interface to filter IPC messages and receive frame change | 1014 // use the Observer interface to filter IPC messages and receive frame change |
| 1016 // notifications. | 1015 // notifications. |
| 1017 // --------------------------------------------------------------------------- | 1016 // --------------------------------------------------------------------------- |
| 1018 | 1017 |
| 1019 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1018 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1020 }; | 1019 }; |
| 1021 | 1020 |
| 1022 } // namespace content | 1021 } // namespace content |
| 1023 | 1022 |
| 1024 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1023 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |