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

Side by Side Diff: components/web_modal/web_contents_modal_dialog_manager_delegate.cc

Issue 14969012: components: Create web_modal component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-before-land Created 7 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 | Annotate | Revision Log
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 "chrome/browser/ui/web_contents_modal_dialog_manager_delegate.h" 5 #include "components/web_modal/web_contents_modal_dialog_manager_delegate.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 namespace web_modal {
10
9 void WebContentsModalDialogManagerDelegate::SetWebContentsBlocked( 11 void WebContentsModalDialogManagerDelegate::SetWebContentsBlocked(
10 content::WebContents* web_contents, bool blocked) { 12 content::WebContents* web_contents, bool blocked) {
11 } 13 }
12 14
13 WebContentsModalDialogHost* 15 WebContentsModalDialogHost*
14 WebContentsModalDialogManagerDelegate::GetWebContentsModalDialogHost() { 16 WebContentsModalDialogManagerDelegate::GetWebContentsModalDialogHost() {
15 return NULL; 17 return NULL;
16 } 18 }
17 19
20 bool WebContentsModalDialogManagerDelegate::IsWebContentsVisible(
21 content::WebContents* web_contents) {
22 return true;
23 }
24
18 WebContentsModalDialogManagerDelegate::~WebContentsModalDialogManagerDelegate( 25 WebContentsModalDialogManagerDelegate::~WebContentsModalDialogManagerDelegate(
19 ) {} 26 ) {}
27
28 } // namespace web_modal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698