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

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

Issue 19256012: Allow zoom-in as alternative to popup when tapping multiple targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 5 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 <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 1226 matching lines...) Expand 10 before | Expand all | Expand 10 after
1237 // scroll bars on windows smaller than this size. Used for windows that the 1237 // scroll bars on windows smaller than this size. Used for windows that the
1238 // browser resizes to the size of the content, such as browser action popups. 1238 // browser resizes to the size of the content, such as browser action popups.
1239 // If a render view is set to the minimum size of its content, webkit may add 1239 // If a render view is set to the minimum size of its content, webkit may add
1240 // scroll bars. This makes sense for fixed sized windows, but it does not 1240 // scroll bars. This makes sense for fixed sized windows, but it does not
1241 // make sense when the size of the view was chosen to fit the content. 1241 // make sense when the size of the view was chosen to fit the content.
1242 // This setting ensures that no scroll bars are drawn. The size limit exists 1242 // This setting ensures that no scroll bars are drawn. The size limit exists
1243 // because if the view grows beyond a size known to the browser, scroll bars 1243 // because if the view grows beyond a size known to the browser, scroll bars
1244 // should be drawn. 1244 // should be drawn.
1245 gfx::Size disable_scrollbars_size_limit_; 1245 gfx::Size disable_scrollbars_size_limit_;
1246 1246
1247 // How to handle a tap gesture touching multiple targets
1248 enum {
1249 MULTITARGET_ZOOM,
1250 MULTITARGET_POPUP
1251 } did_tap_multiple_targets_strategy_;
1252
1247 // Loading state ------------------------------------------------------------- 1253 // Loading state -------------------------------------------------------------
1248 1254
1249 // True if the top level frame is currently being loaded. 1255 // True if the top level frame is currently being loaded.
1250 bool is_loading_; 1256 bool is_loading_;
1251 1257
1252 // The gesture that initiated the current navigation. 1258 // The gesture that initiated the current navigation.
1253 NavigationGesture navigation_gesture_; 1259 NavigationGesture navigation_gesture_;
1254 1260
1255 // Used for popups. 1261 // Used for popups.
1256 bool opened_by_user_gesture_; 1262 bool opened_by_user_gesture_;
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
1574 // use the Observer interface to filter IPC messages and receive frame change 1580 // use the Observer interface to filter IPC messages and receive frame change
1575 // notifications. 1581 // notifications.
1576 // --------------------------------------------------------------------------- 1582 // ---------------------------------------------------------------------------
1577 1583
1578 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1584 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1579 }; 1585 };
1580 1586
1581 } // namespace content 1587 } // namespace content
1582 1588
1583 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1589 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | content/renderer/render_view_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698