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

Side by Side Diff: content/shell/browser/shell_web_contents_view_delegate_win.cc

Issue 507363002: MacViews: Guard Objective-C bits in content::WebContentsViewDelegate with __OBJC__ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: OS_MACOSX -> __OBJC__ + void* Created 6 years, 3 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
« no previous file with comments | « content/shell/browser/shell_web_contents_view_delegate_mac.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 WebDragDestDelegate* ShellWebContentsViewDelegate::GetDragDestDelegate() {
236 return NULL;
237 }
238
239 void ShellWebContentsViewDelegate::StoreFocus() {
240 }
241
242 void ShellWebContentsViewDelegate::RestoreFocus() {
243 }
244
245 bool ShellWebContentsViewDelegate::Focus() {
246 return false;
247 }
248
249 void ShellWebContentsViewDelegate::TakeFocus(bool reverse) {
250 }
251
252 void ShellWebContentsViewDelegate::SizeChanged(const gfx::Size& size) {
253 }
254
255 } // namespace content 235 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/browser/shell_web_contents_view_delegate_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698