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

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

Issue 7125006: Get rid of Chrome notifications dependency, and instead go through ContentBrowserClient to show U... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix browsertest Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/memory/singleton.h" 7 #include "base/memory/singleton.h"
8 #include "content/common/renderer_preferences.h" 8 #include "content/common/renderer_preferences.h"
9 #include "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
10 #include "ui/gfx/rect.h" 10 #include "ui/gfx/rect.h"
(...skipping 29 matching lines...) Expand all
40 return NULL; 40 return NULL;
41 } 41 }
42 42
43 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { 43 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() {
44 return WebPreferences(); 44 return WebPreferences();
45 } 45 }
46 46
47 bool RenderViewHostDelegate::IsExternalTabContainer() const { 47 bool RenderViewHostDelegate::IsExternalTabContainer() const {
48 return false; 48 return false;
49 } 49 }
50
51 bool RenderViewHostDelegate::RequestDesktopNotificationPermission(
52 const GURL& source_origin, int callback_context) {
53 return false;
54 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698