OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/shell/browser/shell_web_contents_view_delegate.h" | 5 #include "content/shell/browser/shell_web_contents_view_delegate.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "content/public/browser/render_frame_host.h" | 8 #include "content/public/browser/render_frame_host.h" |
9 #include "content/public/browser/render_process_host.h" | 9 #include "content/public/browser/render_process_host.h" |
10 #include "content/public/browser/render_view_host.h" | 10 #include "content/public/browser/render_view_host.h" |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 web_contents_->GetController().Reload(false); | 225 web_contents_->GetController().Reload(false); |
226 web_contents_->Focus(); | 226 web_contents_->Focus(); |
227 break; | 227 break; |
228 case ShellContextMenuItemInspectId: { | 228 case ShellContextMenuItemInspectId: { |
229 ShellDevToolsFrontend::Show(web_contents_); | 229 ShellDevToolsFrontend::Show(web_contents_); |
230 break; | 230 break; |
231 } | 231 } |
232 } | 232 } |
233 } | 233 } |
234 | 234 |
| 235 #if defined(TOOLKIT_VIEWS) |
| 236 void ShellWebContentsViewDelegate::ShowDisambiguationPopup( |
| 237 const gfx::Rect& target_rect, |
| 238 const SkBitmap& zoomed_bitmap, |
| 239 const gfx::NativeView content, |
| 240 const base::Callback<void(ui::GestureEvent*)>& gesture_cb, |
| 241 const base::Callback<void(ui::MouseEvent*)>& mouse_cb) { |
| 242 } |
| 243 |
| 244 void ShellWebContentsViewDelegate::HideDisambiguationPopup() { |
| 245 } |
| 246 #endif |
| 247 |
235 } // namespace content | 248 } // namespace content |
OLD | NEW |