Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Side by Side Diff: android_webview/renderer/aw_render_view_ext.h

Issue 418883002: Simplify wrap_contents mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix findbugs Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « android_webview/native/aw_settings.cc ('k') | android_webview/renderer/aw_render_view_ext.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 void OnDocumentHasImagesRequest(int id); 42 void OnDocumentHasImagesRequest(int id);
43 43
44 void OnDoHitTest(int view_x, int view_y); 44 void OnDoHitTest(int view_x, int view_y);
45 45
46 void OnSetTextZoomFactor(float zoom_factor); 46 void OnSetTextZoomFactor(float zoom_factor);
47 47
48 void OnResetScrollAndScaleState(); 48 void OnResetScrollAndScaleState();
49 49
50 void OnSetInitialPageScale(double page_scale_factor); 50 void OnSetInitialPageScale(double page_scale_factor);
51 51
52 void OnSetFixedLayoutSize(const gfx::Size& size);
53
54 void OnSetBackgroundColor(SkColor c); 52 void OnSetBackgroundColor(SkColor c);
55 53
56 void UpdatePageScaleFactor(); 54 void UpdatePageScaleFactor();
57 55
58 void CheckContentsSize(); 56 void CheckContentsSize();
59 57
60 bool capture_picture_enabled_; 58 bool capture_picture_enabled_;
61 59
62 float page_scale_factor_; 60 float page_scale_factor_;
63 61
64 gfx::Size last_sent_contents_size_; 62 gfx::Size last_sent_contents_size_;
65 base::OneShotTimer<AwRenderViewExt> check_contents_size_timer_; 63 base::OneShotTimer<AwRenderViewExt> check_contents_size_timer_;
66 64
67 DISALLOW_COPY_AND_ASSIGN(AwRenderViewExt); 65 DISALLOW_COPY_AND_ASSIGN(AwRenderViewExt);
68 }; 66 };
69 67
70 } // namespace android_webview 68 } // namespace android_webview
71 69
72 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ 70 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_
OLDNEW
« no previous file with comments | « android_webview/native/aw_settings.cc ('k') | android_webview/renderer/aw_render_view_ext.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698