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

Side by Side Diff: chrome/browser/dom_ui/constrained_html_ui.cc

Issue 5162001: X.509-related cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More files broke Created 10 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/dom_ui/slideshow_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/constrained_html_ui.h" 5 #include "chrome/browser/dom_ui/constrained_html_ui.h"
6 6
7 #include "base/singleton.h"
7 #include "chrome/browser/dom_ui/dom_ui_util.h" 8 #include "chrome/browser/dom_ui/dom_ui_util.h"
8 #include "chrome/browser/dom_ui/html_dialog_ui.h" 9 #include "chrome/browser/dom_ui/html_dialog_ui.h"
9 #include "chrome/browser/renderer_host/render_view_host.h" 10 #include "chrome/browser/renderer_host/render_view_host.h"
10 #include "chrome/common/bindings_policy.h" 11 #include "chrome/common/bindings_policy.h"
11 12
12 ConstrainedHtmlUI::ConstrainedHtmlUI(TabContents* contents) 13 ConstrainedHtmlUI::ConstrainedHtmlUI(TabContents* contents)
13 : DOMUI(contents) { 14 : DOMUI(contents) {
14 } 15 }
15 16
16 ConstrainedHtmlUI::~ConstrainedHtmlUI() { 17 ConstrainedHtmlUI::~ConstrainedHtmlUI() {
(...skipping 27 matching lines...) Expand all
44 ConstrainedHtmlUIDelegate* 45 ConstrainedHtmlUIDelegate*
45 ConstrainedHtmlUI::GetConstrainedDelegate() { 46 ConstrainedHtmlUI::GetConstrainedDelegate() {
46 return *GetPropertyAccessor().GetProperty(tab_contents()->property_bag()); 47 return *GetPropertyAccessor().GetProperty(tab_contents()->property_bag());
47 } 48 }
48 49
49 // static 50 // static
50 PropertyAccessor<ConstrainedHtmlUIDelegate*>& 51 PropertyAccessor<ConstrainedHtmlUIDelegate*>&
51 ConstrainedHtmlUI::GetPropertyAccessor() { 52 ConstrainedHtmlUI::GetPropertyAccessor() {
52 return *Singleton<PropertyAccessor<ConstrainedHtmlUIDelegate*> >::get(); 53 return *Singleton<PropertyAccessor<ConstrainedHtmlUIDelegate*> >::get();
53 } 54 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/dom_ui/slideshow_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698