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

Unified Diff: chrome/browser/browser.cc

Issue 164446: linux: More automation porting. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: automation ipc messages hack fix Created 11 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/browser.cc
===================================================================
--- chrome/browser/browser.cc (revision 23277)
+++ chrome/browser/browser.cc (working copy)
@@ -1015,12 +1015,14 @@
void Browser::Cut() {
UserMetrics::RecordAction(L"Cut", profile_);
- ui_controls::SendKeyPress(L'X', true, false, false);
+ ui_controls::SendKeyPress(window()->GetNativeHandle(), L'X', true, false,
+ false);
}
void Browser::Copy() {
UserMetrics::RecordAction(L"Copy", profile_);
- ui_controls::SendKeyPress(L'C', true, false, false);
+ ui_controls::SendKeyPress(window()->GetNativeHandle(), L'C', true, false,
+ false);
}
void Browser::CopyCurrentPageURL() {
@@ -1049,7 +1051,8 @@
void Browser::Paste() {
UserMetrics::RecordAction(L"Paste", profile_);
- ui_controls::SendKeyPress(L'V', true, false, false);
+ ui_controls::SendKeyPress(window()->GetNativeHandle(), L'V', true, false,
+ false);
}
#endif // #if defined(OS_WIN)

Powered by Google App Engine
This is Rietveld 408576698