| 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 <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 588 virtual bool CanComposeInline() OVERRIDE; | 588 virtual bool CanComposeInline() OVERRIDE; |
| 589 virtual void DidCommitCompositorFrame() OVERRIDE; | 589 virtual void DidCommitCompositorFrame() OVERRIDE; |
| 590 virtual void InstrumentWillBeginFrame(int frame_id) OVERRIDE; | 590 virtual void InstrumentWillBeginFrame(int frame_id) OVERRIDE; |
| 591 virtual void InstrumentDidBeginFrame() OVERRIDE; | 591 virtual void InstrumentDidBeginFrame() OVERRIDE; |
| 592 virtual void InstrumentDidCancelFrame() OVERRIDE; | 592 virtual void InstrumentDidCancelFrame() OVERRIDE; |
| 593 virtual void InstrumentWillComposite() OVERRIDE; | 593 virtual void InstrumentWillComposite() OVERRIDE; |
| 594 #if defined(OS_ANDROID) | 594 #if defined(OS_ANDROID) |
| 595 virtual void UpdateSelectionRootBounds() OVERRIDE; | 595 virtual void UpdateSelectionRootBounds() OVERRIDE; |
| 596 #endif | 596 #endif |
| 597 | 597 |
| 598 void OnSelectForSearch(); |
| 599 |
| 598 protected: | 600 protected: |
| 599 explicit RenderViewImpl(RenderViewImplParams* params); | 601 explicit RenderViewImpl(RenderViewImplParams* params); |
| 600 | 602 |
| 601 void Initialize(RenderViewImplParams* params); | 603 void Initialize(RenderViewImplParams* params); |
| 602 virtual void SetScreenMetricsEmulationParameters( | 604 virtual void SetScreenMetricsEmulationParameters( |
| 603 float device_scale_factor, | 605 float device_scale_factor, |
| 604 const gfx::Point& root_layer_offset, | 606 const gfx::Point& root_layer_offset, |
| 605 float root_layer_scale) OVERRIDE; | 607 float root_layer_scale) OVERRIDE; |
| 606 | 608 |
| 607 // Do not delete directly. This class is reference counted. | 609 // Do not delete directly. This class is reference counted. |
| (...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1301 // use the Observer interface to filter IPC messages and receive frame change | 1303 // use the Observer interface to filter IPC messages and receive frame change |
| 1302 // notifications. | 1304 // notifications. |
| 1303 // --------------------------------------------------------------------------- | 1305 // --------------------------------------------------------------------------- |
| 1304 | 1306 |
| 1305 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1307 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1306 }; | 1308 }; |
| 1307 | 1309 |
| 1308 } // namespace content | 1310 } // namespace content |
| 1309 | 1311 |
| 1310 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1312 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |