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 ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ | 5 #ifndef ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ |
6 #define ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ | 6 #define ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 void UpdatePageScaleFactor(); | 59 void UpdatePageScaleFactor(); |
60 | 60 |
61 void CheckContentsSize(); | 61 void CheckContentsSize(); |
62 | 62 |
63 bool capture_picture_enabled_; | 63 bool capture_picture_enabled_; |
64 | 64 |
65 float page_scale_factor_; | 65 float page_scale_factor_; |
66 | 66 |
67 gfx::Size last_sent_contents_size_; | 67 gfx::Size last_sent_contents_size_; |
68 base::OneShotTimer<AwRenderViewExt> check_contents_size_timer_; | 68 base::OneShotTimer check_contents_size_timer_; |
69 | 69 |
70 DISALLOW_COPY_AND_ASSIGN(AwRenderViewExt); | 70 DISALLOW_COPY_AND_ASSIGN(AwRenderViewExt); |
71 }; | 71 }; |
72 | 72 |
73 } // namespace android_webview | 73 } // namespace android_webview |
74 | 74 |
75 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ | 75 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ |
OLD | NEW |