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

Side by Side Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 712723002: suppress link disambiguation popup when virtual keyboard requested (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix linux build Created 6 years, 1 month 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 | « no previous file | content/browser/renderer_host/render_view_host_delegate.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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 // Returns true if the RenderViewHost will never be visible. 273 // Returns true if the RenderViewHost will never be visible.
274 virtual bool IsNeverVisible(); 274 virtual bool IsNeverVisible();
275 275
276 // Returns the FrameTree the render view should use. Guaranteed to be constant 276 // Returns the FrameTree the render view should use. Guaranteed to be constant
277 // for the lifetime of the render view. 277 // for the lifetime of the render view.
278 // 278 //
279 // TODO(ajwong): Remove once the main frame RenderFrameHost is no longer 279 // TODO(ajwong): Remove once the main frame RenderFrameHost is no longer
280 // created by the RenderViewHost. 280 // created by the RenderViewHost.
281 virtual FrameTree* GetFrameTree(); 281 virtual FrameTree* GetFrameTree();
282 282
283 // Optional state storage for if the Virtual Keyboard has been requested by
284 // this page or not. If it has, this can be used to suppress things like the
285 // link disambiguation dialog, which doesn't interact well with the virtual
286 // keyboard.
287 virtual void SetIsVirtualKeyboardRequested(bool requested) {}
288 virtual bool IsVirtualKeyboardRequested();
289
283 protected: 290 protected:
284 virtual ~RenderViewHostDelegate() {} 291 virtual ~RenderViewHostDelegate() {}
285 }; 292 };
286 293
287 } // namespace content 294 } // namespace content
288 295
289 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 296 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698