| OLD | NEW |
| 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 // Multiply-included file, no traditional include guard. | 5 // Multiply-included file, no traditional include guard. |
| 6 #include <map> | 6 #include <map> |
| 7 #include <set> | 7 #include <set> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "chrome/common/instant_types.h" | 22 #include "chrome/common/instant_types.h" |
| 23 #include "chrome/common/nacl_types.h" | 23 #include "chrome/common/nacl_types.h" |
| 24 #include "chrome/common/search_provider.h" | 24 #include "chrome/common/search_provider.h" |
| 25 #include "chrome/common/thumbnail_score.h" | 25 #include "chrome/common/thumbnail_score.h" |
| 26 #include "chrome/common/translate_errors.h" | 26 #include "chrome/common/translate_errors.h" |
| 27 #include "chrome/common/view_types.h" | 27 #include "chrome/common/view_types.h" |
| 28 #include "content/common/common_param_traits.h" | 28 #include "content/common/common_param_traits.h" |
| 29 #include "ipc/ipc_message_macros.h" | 29 #include "ipc/ipc_message_macros.h" |
| 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" | 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" |
| 31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" | 31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" |
| 32 #include "third_party/skia/include/core/SkBitmap.h" | |
| 33 #include "ui/gfx/rect.h" | 32 #include "ui/gfx/rect.h" |
| 34 | 33 |
| 35 // Singly-included section for enums and custom IPC traits. | 34 // Singly-included section for enums and custom IPC traits. |
| 36 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ | 35 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ |
| 37 #define CHROME_COMMON_RENDER_MESSAGES_H_ | 36 #define CHROME_COMMON_RENDER_MESSAGES_H_ |
| 38 | 37 |
| 38 class SkBitmap; |
| 39 |
| 39 // Command values for the cmd parameter of the | 40 // Command values for the cmd parameter of the |
| 40 // ViewHost_JavaScriptStressTestControl message. For each command the parameter | 41 // ViewHost_JavaScriptStressTestControl message. For each command the parameter |
| 41 // passed has a different meaning: | 42 // passed has a different meaning: |
| 42 // For the command kJavaScriptStressTestSetStressRunType the parameter it the | 43 // For the command kJavaScriptStressTestSetStressRunType the parameter it the |
| 43 // type taken from the enumeration v8::Testing::StressType. | 44 // type taken from the enumeration v8::Testing::StressType. |
| 44 // For the command kJavaScriptStressTestPrepareStressRun the parameter it the | 45 // For the command kJavaScriptStressTestPrepareStressRun the parameter it the |
| 45 // number of the stress run about to take place. | 46 // number of the stress run about to take place. |
| 46 enum ViewHostMsg_JavaScriptStressTestControl_Commands { | 47 enum ViewHostMsg_JavaScriptStressTestControl_Commands { |
| 47 kJavaScriptStressTestSetStressRunType = 0, | 48 kJavaScriptStressTestSetStressRunType = 0, |
| 48 kJavaScriptStressTestPrepareStressRun = 1, | 49 kJavaScriptStressTestPrepareStressRun = 1, |
| (...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 469 int32 /* page_id */, | 470 int32 /* page_id */, |
| 470 bool /* result */) | 471 bool /* result */) |
| 471 | 472 |
| 472 // JavaScript related messages ----------------------------------------------- | 473 // JavaScript related messages ----------------------------------------------- |
| 473 | 474 |
| 474 // Notify the JavaScript engine in the render to change its parameters | 475 // Notify the JavaScript engine in the render to change its parameters |
| 475 // while performing stress testing. | 476 // while performing stress testing. |
| 476 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 477 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
| 477 int /* cmd */, | 478 int /* cmd */, |
| 478 int /* param */) | 479 int /* param */) |
| OLD | NEW |