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

Side by Side Diff: chrome/browser/tab_contents/tab_contents.cc

Issue 197035: [mac] Let cmd-e write the selection into the find pasteboard. (Closed)
Patch Set: Add comment, merge with ToT Created 11 years, 3 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
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.h ('k') | chrome/browser/tab_contents/tab_contents_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698