OLD | NEW |
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 "chrome/browser/dom_ui/html_dialog_ui.h" | 5 #include "chrome/browser/webui/html_dialog_ui.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/lazy_instance.h" | 8 #include "base/lazy_instance.h" |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 #include "chrome/browser/renderer_host/render_view_host.h" | 10 #include "chrome/browser/renderer_host/render_view_host.h" |
11 #include "chrome/browser/tab_contents/tab_contents.h" | 11 #include "chrome/browser/tab_contents/tab_contents.h" |
12 #include "chrome/browser/webui/web_ui_util.h" | 12 #include "chrome/browser/webui/web_ui_util.h" |
13 #include "chrome/common/bindings_policy.h" | 13 #include "chrome/common/bindings_policy.h" |
14 | 14 |
15 static base::LazyInstance<PropertyAccessor<HtmlDialogUIDelegate*> > | 15 static base::LazyInstance<PropertyAccessor<HtmlDialogUIDelegate*> > |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 // that are scoped in duration to the dialogs existence. | 79 // that are scoped in duration to the dialogs existence. |
80 bindings_ &= ~BindingsPolicy::WEB_UI; | 80 bindings_ &= ~BindingsPolicy::WEB_UI; |
81 } | 81 } |
82 | 82 |
83 ExternalHtmlDialogUI::~ExternalHtmlDialogUI() { | 83 ExternalHtmlDialogUI::~ExternalHtmlDialogUI() { |
84 } | 84 } |
85 | 85 |
86 bool HtmlDialogUIDelegate::HandleContextMenu(const ContextMenuParams& params) { | 86 bool HtmlDialogUIDelegate::HandleContextMenu(const ContextMenuParams& params) { |
87 return false; | 87 return false; |
88 } | 88 } |
OLD | NEW |