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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 1918183004: Switch the inheritance of WebView from WebWidget to protected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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
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 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 884 matching lines...) Expand 10 before | Expand all | Expand 10 after
895 bool top_controls_shrink_blink_size_; 895 bool top_controls_shrink_blink_size_;
896 896
897 // The height of the top controls. 897 // The height of the top controls.
898 float top_controls_height_; 898 float top_controls_height_;
899 899
900 // Indicates whether this page has been focused/unfocused by the browser. 900 // Indicates whether this page has been focused/unfocused by the browser.
901 bool has_focus_; 901 bool has_focus_;
902 902
903 // View ---------------------------------------------------------------------- 903 // View ----------------------------------------------------------------------
904 904
905 blink::WebView* webview_;
906
905 // Cache the preferred size of the page in order to prevent sending the IPC 907 // Cache the preferred size of the page in order to prevent sending the IPC
906 // when layout() recomputes but doesn't actually change sizes. 908 // when layout() recomputes but doesn't actually change sizes.
907 gfx::Size preferred_size_; 909 gfx::Size preferred_size_;
908 910
909 // Used to delay determining the preferred size (to avoid intermediate 911 // Used to delay determining the preferred size (to avoid intermediate
910 // states for the sizes). 912 // states for the sizes).
911 base::OneShotTimer check_preferred_size_timer_; 913 base::OneShotTimer check_preferred_size_timer_;
912 914
913 // Bookkeeping to suppress redundant scroll and focus requests for an already 915 // Bookkeeping to suppress redundant scroll and focus requests for an already
914 // scrolled and focused editable node. 916 // scrolled and focused editable node.
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
1023 // use the Observer interface to filter IPC messages and receive frame change 1025 // use the Observer interface to filter IPC messages and receive frame change
1024 // notifications. 1026 // notifications.
1025 // --------------------------------------------------------------------------- 1027 // ---------------------------------------------------------------------------
1026 1028
1027 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1029 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1028 }; 1030 };
1029 1031
1030 } // namespace content 1032 } // namespace content
1031 1033
1032 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1034 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « components/test_runner/test_runner_for_specific_view.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698