| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/tab_contents/tab_contents.h" | 5 #include "chrome/browser/tab_contents/tab_contents.h" |
| 6 | 6 |
| 7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 8 #include "app/resource_bundle.h" | 8 #include "app/resource_bundle.h" |
| 9 #include "base/file_version_info.h" | 9 #include "base/file_version_info.h" |
| 10 #include "base/process_util.h" | 10 #include "base/process_util.h" |
| (...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 720 } | 720 } |
| 721 | 721 |
| 722 void TabContents::Cut() { | 722 void TabContents::Cut() { |
| 723 render_view_host()->Cut(); | 723 render_view_host()->Cut(); |
| 724 } | 724 } |
| 725 | 725 |
| 726 void TabContents::Copy() { | 726 void TabContents::Copy() { |
| 727 render_view_host()->Copy(); | 727 render_view_host()->Copy(); |
| 728 } | 728 } |
| 729 | 729 |
| 730 void TabContents::CopyToFindPboard() { |
| 731 render_view_host()->CopyToFindPboard(); |
| 732 } |
| 733 |
| 730 void TabContents::Paste() { | 734 void TabContents::Paste() { |
| 731 render_view_host()->Paste(); | 735 render_view_host()->Paste(); |
| 732 } | 736 } |
| 733 | 737 |
| 734 void TabContents::DisassociateFromPopupCount() { | 738 void TabContents::DisassociateFromPopupCount() { |
| 735 render_view_host()->DisassociateFromPopupCount(); | 739 render_view_host()->DisassociateFromPopupCount(); |
| 736 } | 740 } |
| 737 | 741 |
| 738 TabContents* TabContents::Clone() { | 742 TabContents* TabContents::Clone() { |
| 739 // We create a new SiteInstance so that the new tab won't share processes | 743 // We create a new SiteInstance so that the new tab won't share processes |
| (...skipping 1762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2502 | 2506 |
| 2503 default: | 2507 default: |
| 2504 NOTREACHED(); | 2508 NOTREACHED(); |
| 2505 } | 2509 } |
| 2506 } | 2510 } |
| 2507 | 2511 |
| 2508 void TabContents::set_encoding(const std::string& encoding) { | 2512 void TabContents::set_encoding(const std::string& encoding) { |
| 2509 encoding_ = CharacterEncoding::GetCanonicalEncodingNameByAliasName(encoding); | 2513 encoding_ = CharacterEncoding::GetCanonicalEncodingNameByAliasName(encoding); |
| 2510 } | 2514 } |
| 2511 | 2515 |
| OLD | NEW |