summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-23 23:06:49 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-23 23:06:49 +0000
commitdd576af62d44b9aaaefedbfe78822f6c83e4f310 (patch)
tree204f6827182bb0ec4c37b8bf93ef0a96879fc43a /chrome/common
parent1cea23942dddeeb854a0f8120812e87b5c962d34 (diff)
downloadchromium_src-dd576af62d44b9aaaefedbfe78822f6c83e4f310.zip
chromium_src-dd576af62d44b9aaaefedbfe78822f6c83e4f310.tar.gz
chromium_src-dd576af62d44b9aaaefedbfe78822f6c83e4f310.tar.bz2
Add about:gpuhang
BUG=None TEST=None Review URL: http://codereview.chromium.org/3447023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60373 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/gpu_messages_internal.h3
-rw-r--r--chrome/common/url_constants.cc1
-rw-r--r--chrome/common/url_constants.h1
3 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/gpu_messages_internal.h b/chrome/common/gpu_messages_internal.h
index 229e3db..0121e16 100644
--- a/chrome/common/gpu_messages_internal.h
+++ b/chrome/common/gpu_messages_internal.h
@@ -53,6 +53,9 @@ IPC_BEGIN_MESSAGES(Gpu)
// Tells the GPU process to crash.
IPC_MESSAGE_CONTROL0(GpuMsg_Crash)
+ // Tells the GPU process to hang.
+ IPC_MESSAGE_CONTROL0(GpuMsg_Hang)
+
// Creates a new backing store.
IPC_MESSAGE_ROUTED2(GpuMsg_NewBackingStore,
int32, /* backing_store_routing_id */
diff --git a/chrome/common/url_constants.cc b/chrome/common/url_constants.cc
index 5ae5181..8a119f9 100644
--- a/chrome/common/url_constants.cc
+++ b/chrome/common/url_constants.cc
@@ -50,6 +50,7 @@ const char kAboutCrashURL[] = "about:crash";
const char kAboutCreditsURL[] = "about:credits";
const char kAboutDNSURL[] = "about:dns";
const char kAboutGpuCrashURL[] = "about:gpucrash";
+const char kAboutGpuHangURL[] = "about:gpuhang";
const char kAboutHangURL[] = "about:hang";
const char kAboutHistogramsURL[] = "about:histograms";
const char kAboutLabsURL[] = "about:labs";
diff --git a/chrome/common/url_constants.h b/chrome/common/url_constants.h
index cd2f889..b665550 100644
--- a/chrome/common/url_constants.h
+++ b/chrome/common/url_constants.h
@@ -45,6 +45,7 @@ extern const char kAboutCrashURL[];
extern const char kAboutCreditsURL[];
extern const char kAboutDNSURL[];
extern const char kAboutGpuCrashURL[];
+extern const char kAboutGpuHangURL[];
extern const char kAboutHangURL[];
extern const char kAboutHistogramsURL[];
extern const char kAboutLabsURL[];