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

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

Issue 1135693006: Fix X11DesktopHandler::ActivateWindow on Unity for known user gestures Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 #include "content/browser/renderer_host/render_view_host_delegate.h" 5 #include "content/browser/renderer_host/render_view_host_delegate.h"
6 6
7 #include "content/public/common/web_preferences.h" 7 #include "content/public/common/web_preferences.h"
8 #include "url/gurl.h" 8 #include "url/gurl.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 RenderViewHostDelegateView* RenderViewHostDelegate::GetDelegateView() { 12 RenderViewHostDelegateView* RenderViewHostDelegate::GetDelegateView() {
13 return NULL; 13 return NULL;
14 } 14 }
15 15
16 bool RenderViewHostDelegate::OnMessageReceived(RenderViewHost* render_view_host, 16 bool RenderViewHostDelegate::OnMessageReceived(RenderViewHost* render_view_host,
17 const IPC::Message& message) { 17 const IPC::Message& message) {
18 return false; 18 return false;
19 } 19 }
20 20
21 WebContents* RenderViewHostDelegate::GetAsWebContents() { 21 WebContents* RenderViewHostDelegate::GetAsWebContents() {
22 return NULL; 22 return NULL;
23 } 23 }
24 24
25 void RenderViewHostDelegate::ActivateForUserGesture() {
26 Activate();
27 }
28
25 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const { 29 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const {
26 return false; 30 return false;
27 } 31 }
28 32
29 blink::WebDisplayMode RenderViewHostDelegate::GetDisplayMode() const { 33 blink::WebDisplayMode RenderViewHostDelegate::GetDisplayMode() const {
30 return blink::WebDisplayModeBrowser; 34 return blink::WebDisplayModeBrowser;
31 } 35 }
32 36
33 SessionStorageNamespace* RenderViewHostDelegate::GetSessionStorageNamespace( 37 SessionStorageNamespace* RenderViewHostDelegate::GetSessionStorageNamespace(
34 SiteInstance* instance) { 38 SiteInstance* instance) {
(...skipping 11 matching lines...) Expand all
46 50
47 bool RenderViewHostDelegate::IsNeverVisible() { 51 bool RenderViewHostDelegate::IsNeverVisible() {
48 return false; 52 return false;
49 } 53 }
50 54
51 bool RenderViewHostDelegate::IsVirtualKeyboardRequested() { 55 bool RenderViewHostDelegate::IsVirtualKeyboardRequested() {
52 return false; 56 return false;
53 } 57 }
54 58
55 } // namespace content 59 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698