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

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

Issue 2890143003: Move ContextMenu show/hide state tracking to WebContents (Closed)
Patch Set: Remove #if def Created 3 years, 6 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_widget_host_delegate.h" 5 #include "content/browser/renderer_host/render_widget_host_delegate.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "components/rappor/public/sample.h" 8 #include "components/rappor/public/sample.h"
9 #include "content/browser/renderer_host/render_view_host_delegate_view.h" 9 #include "content/browser/renderer_host/render_view_host_delegate_view.h"
10 #include "content/public/browser/keyboard_event_processing_result.h" 10 #include "content/public/browser/keyboard_event_processing_result.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 ukm::SourceId ukm_source_id) {} 112 ukm::SourceId ukm_source_id) {}
113 113
114 gfx::Size RenderWidgetHostDelegate::GetAutoResizeSize() { 114 gfx::Size RenderWidgetHostDelegate::GetAutoResizeSize() {
115 return gfx::Size(); 115 return gfx::Size();
116 } 116 }
117 117
118 WebContents* RenderWidgetHostDelegate::GetAsWebContents() { 118 WebContents* RenderWidgetHostDelegate::GetAsWebContents() {
119 return nullptr; 119 return nullptr;
120 } 120 }
121 121
122 bool RenderWidgetHostDelegate::IsShowingContextMenuOnPage() const {
123 return false;
124 }
125
122 } // namespace content 126 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698