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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 blink::WebDateTimeChooserCompletion*) override; | 435 blink::WebDateTimeChooserCompletion*) override; |
436 virtual void didScrollWithKeyboard(const blink::WebSize& delta); | 436 virtual void didScrollWithKeyboard(const blink::WebSize& delta); |
437 #endif | 437 #endif |
438 | 438 |
439 // RenderView implementation ------------------------------------------------- | 439 // RenderView implementation ------------------------------------------------- |
440 | 440 |
441 bool Send(IPC::Message* message) override; | 441 bool Send(IPC::Message* message) override; |
442 RenderFrameImpl* GetMainRenderFrame() override; | 442 RenderFrameImpl* GetMainRenderFrame() override; |
443 int GetRoutingID() const override; | 443 int GetRoutingID() const override; |
444 gfx::Size GetSize() const override; | 444 gfx::Size GetSize() const override; |
| 445 float GetDeviceScaleFactor() const override; |
445 WebPreferences& GetWebkitPreferences() override; | 446 WebPreferences& GetWebkitPreferences() override; |
446 void SetWebkitPreferences(const WebPreferences& preferences) override; | 447 void SetWebkitPreferences(const WebPreferences& preferences) override; |
447 blink::WebView* GetWebView() override; | 448 blink::WebView* GetWebView() override; |
448 bool ShouldDisplayScrollbars(int width, int height) const override; | 449 bool ShouldDisplayScrollbars(int width, int height) const override; |
449 int GetEnabledBindings() const override; | 450 int GetEnabledBindings() const override; |
450 bool GetContentStateImmediately() const override; | 451 bool GetContentStateImmediately() const override; |
451 blink::WebPageVisibilityState GetVisibilityState() const override; | 452 blink::WebPageVisibilityState GetVisibilityState() const override; |
452 void DidStartLoading() override; | 453 void DidStartLoading() override; |
453 void DidStopLoading() override; | 454 void DidStopLoading() override; |
454 void Repaint(const gfx::Size& size) override; | 455 void Repaint(const gfx::Size& size) override; |
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1045 // use the Observer interface to filter IPC messages and receive frame change | 1046 // use the Observer interface to filter IPC messages and receive frame change |
1046 // notifications. | 1047 // notifications. |
1047 // --------------------------------------------------------------------------- | 1048 // --------------------------------------------------------------------------- |
1048 | 1049 |
1049 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1050 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1050 }; | 1051 }; |
1051 | 1052 |
1052 } // namespace content | 1053 } // namespace content |
1053 | 1054 |
1054 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1055 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |