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

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

Issue 9500015: Pass DefaultDeviceScaleFactor to webkit (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Style nit Created 8 years, 9 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view_impl.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 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 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after
1013 // scroll bars on windows smaller than this size. Used for windows that the 1013 // scroll bars on windows smaller than this size. Used for windows that the
1014 // browser resizes to the size of the content, such as browser action popups. 1014 // browser resizes to the size of the content, such as browser action popups.
1015 // If a render view is set to the minimum size of its content, webkit may add 1015 // If a render view is set to the minimum size of its content, webkit may add
1016 // scroll bars. This makes sense for fixed sized windows, but it does not 1016 // scroll bars. This makes sense for fixed sized windows, but it does not
1017 // make sense when the size of the view was chosen to fit the content. 1017 // make sense when the size of the view was chosen to fit the content.
1018 // This setting ensures that no scroll bars are drawn. The size limit exists 1018 // This setting ensures that no scroll bars are drawn. The size limit exists
1019 // because if the view grows beyond a size known to the browser, scroll bars 1019 // because if the view grows beyond a size known to the browser, scroll bars
1020 // should be drawn. 1020 // should be drawn.
1021 gfx::Size disable_scrollbars_size_limit_; 1021 gfx::Size disable_scrollbars_size_limit_;
1022 1022
1023 int default_device_scale_factor_;
1024
1025 // Loading state ------------------------------------------------------------- 1023 // Loading state -------------------------------------------------------------
1026 1024
1027 // True if the top level frame is currently being loaded. 1025 // True if the top level frame is currently being loaded.
1028 bool is_loading_; 1026 bool is_loading_;
1029 1027
1030 // The gesture that initiated the current navigation. 1028 // The gesture that initiated the current navigation.
1031 NavigationGesture navigation_gesture_; 1029 NavigationGesture navigation_gesture_;
1032 1030
1033 // Used for popups. 1031 // Used for popups.
1034 bool opened_by_user_gesture_; 1032 bool opened_by_user_gesture_;
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
1288 // bunch of stuff, you should probably create a helper class and put your 1286 // bunch of stuff, you should probably create a helper class and put your
1289 // data and methods on that to avoid bloating RenderView more. You can 1287 // data and methods on that to avoid bloating RenderView more. You can
1290 // use the Observer interface to filter IPC messages and receive frame change 1288 // use the Observer interface to filter IPC messages and receive frame change
1291 // notifications. 1289 // notifications.
1292 // --------------------------------------------------------------------------- 1290 // ---------------------------------------------------------------------------
1293 1291
1294 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1292 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1295 }; 1293 };
1296 1294
1297 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1295 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698