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

Side by Side Diff: content/browser/renderer_host/render_widget_host.cc

Issue 8277018: Move content_switches to content\public\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | Annotate | Revision Log
OLDNEW
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 "content/browser/renderer_host/render_widget_host.h" 5 #include "content/browser/renderer_host/render_widget_host.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/i18n/rtl.h" 10 #include "base/i18n/rtl.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "base/metrics/histogram.h" 12 #include "base/metrics/histogram.h"
13 #include "base/metrics/stats_counters.h" 13 #include "base/metrics/stats_counters.h"
14 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
15 #include "content/browser/accessibility/browser_accessibility_state.h" 15 #include "content/browser/accessibility/browser_accessibility_state.h"
16 #include "content/browser/gpu/gpu_process_host.h" 16 #include "content/browser/gpu/gpu_process_host.h"
17 #include "content/browser/renderer_host/backing_store.h" 17 #include "content/browser/renderer_host/backing_store.h"
18 #include "content/browser/renderer_host/backing_store_manager.h" 18 #include "content/browser/renderer_host/backing_store_manager.h"
19 #include "content/browser/renderer_host/render_process_host.h" 19 #include "content/browser/renderer_host/render_process_host.h"
20 #include "content/browser/renderer_host/render_widget_helper.h" 20 #include "content/browser/renderer_host/render_widget_helper.h"
21 #include "content/browser/renderer_host/render_widget_host_view.h" 21 #include "content/browser/renderer_host/render_widget_host_view.h"
22 #include "content/browser/user_metrics.h" 22 #include "content/browser/user_metrics.h"
23 #include "content/common/content_switches.h"
24 #include "content/common/gpu/gpu_messages.h" 23 #include "content/common/gpu/gpu_messages.h"
25 #include "content/common/native_web_keyboard_event.h" 24 #include "content/common/native_web_keyboard_event.h"
26 #include "content/common/notification_service.h" 25 #include "content/common/notification_service.h"
27 #include "content/common/result_codes.h" 26 #include "content/common/result_codes.h"
28 #include "content/common/view_messages.h" 27 #include "content/common/view_messages.h"
28 #include "content/public/common/content_switches.h"
29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli ne.h" 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli ne.h"
30 #include "ui/base/keycodes/keyboard_codes.h" 30 #include "ui/base/keycodes/keyboard_codes.h"
31 #include "webkit/glue/webcursor.h" 31 #include "webkit/glue/webcursor.h"
32 #include "webkit/glue/webpreferences.h" 32 #include "webkit/glue/webpreferences.h"
33 #include "webkit/plugins/npapi/webplugin.h" 33 #include "webkit/plugins/npapi/webplugin.h"
34 34
35 using base::Time; 35 using base::Time;
36 using base::TimeDelta; 36 using base::TimeDelta;
37 using base::TimeTicks; 37 using base::TimeTicks;
38 38
(...skipping 1336 matching lines...) Expand 10 before | Expand all | Expand 10 after
1375 1375
1376 void RenderWidgetHost::Delete() { 1376 void RenderWidgetHost::Delete() {
1377 Send(new ViewMsg_Delete(routing_id())); 1377 Send(new ViewMsg_Delete(routing_id()));
1378 UserMetrics::RecordAction(UserMetricsAction("DeleteSelection")); 1378 UserMetrics::RecordAction(UserMetricsAction("DeleteSelection"));
1379 } 1379 }
1380 1380
1381 void RenderWidgetHost::SelectAll() { 1381 void RenderWidgetHost::SelectAll() {
1382 Send(new ViewMsg_SelectAll(routing_id())); 1382 Send(new ViewMsg_SelectAll(routing_id()));
1383 UserMetrics::RecordAction(UserMetricsAction("SelectAll")); 1383 UserMetrics::RecordAction(UserMetricsAction("SelectAll"));
1384 } 1384 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698