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_tab_contents_delegate.h" | 5 #include "chrome/browser/webui/html_dialog_tab_contents_delegate.h" |
6 | 6 |
7 #include "chrome/browser/profiles/profile.h" | 7 #include "chrome/browser/profiles/profile.h" |
8 #include "chrome/browser/tab_contents/tab_contents.h" | 8 #include "chrome/browser/tab_contents/tab_contents.h" |
9 #include "chrome/browser/tabs/tab_strip_model.h" | 9 #include "chrome/browser/tabs/tab_strip_model.h" |
10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
11 #include "chrome/browser/ui/browser_navigator.h" | 11 #include "chrome/browser/ui/browser_navigator.h" |
12 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" | 12 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
13 | 13 |
14 // Incognito profiles are not long-lived, so we always want to store a | 14 // Incognito profiles are not long-lived, so we always want to store a |
15 // non-incognito profile. | 15 // non-incognito profile. |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 void HtmlDialogTabContentsDelegate::UpdateTargetURL(TabContents* source, | 99 void HtmlDialogTabContentsDelegate::UpdateTargetURL(TabContents* source, |
100 const GURL& url) { | 100 const GURL& url) { |
101 // Ignored. | 101 // Ignored. |
102 } | 102 } |
103 | 103 |
104 bool HtmlDialogTabContentsDelegate::ShouldAddNavigationToHistory( | 104 bool HtmlDialogTabContentsDelegate::ShouldAddNavigationToHistory( |
105 const history::HistoryAddPageArgs& add_page_args, | 105 const history::HistoryAddPageArgs& add_page_args, |
106 NavigationType::Type navigation_type) { | 106 NavigationType::Type navigation_type) { |
107 return false; | 107 return false; |
108 } | 108 } |
OLD | NEW |