| 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_WIDGET_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
| 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 759 // are sent to each frame in the list for events such as changing | 759 // are sent to each frame in the list for events such as changing |
| 760 // visibility state for example. | 760 // visibility state for example. |
| 761 base::ObserverList<RenderFrameImpl> render_frames_; | 761 base::ObserverList<RenderFrameImpl> render_frames_; |
| 762 | 762 |
| 763 bool has_host_context_menu_location_; | 763 bool has_host_context_menu_location_; |
| 764 gfx::Point host_context_menu_location_; | 764 gfx::Point host_context_menu_location_; |
| 765 | 765 |
| 766 scoped_ptr<scheduler::RenderWidgetSchedulingState> | 766 scoped_ptr<scheduler::RenderWidgetSchedulingState> |
| 767 render_widget_scheduling_state_; | 767 render_widget_scheduling_state_; |
| 768 | 768 |
| 769 private: |
| 770 // When emulated, this returns original device scale factor. |
| 771 float GetOriginalDeviceScaleFactor() const; |
| 772 |
| 769 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 773 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 770 }; | 774 }; |
| 771 | 775 |
| 772 } // namespace content | 776 } // namespace content |
| 773 | 777 |
| 774 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 778 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |