| Index: chrome/common/render_messages_internal.h
 | 
| ===================================================================
 | 
| --- chrome/common/render_messages_internal.h	(revision 13181)
 | 
| +++ chrome/common/render_messages_internal.h	(working copy)
 | 
| @@ -19,6 +19,7 @@
 | 
|  #include "chrome/common/transport_dib.h"
 | 
|  #include "skia/include/SkBitmap.h"
 | 
|  #include "webkit/glue/dom_operations.h"
 | 
| +#include "webkit/glue/webappcachecontext.h"
 | 
|  #include "webkit/glue/webcursor.h"
 | 
|  #include "webkit/glue/webplugin.h"
 | 
|  
 | 
| @@ -483,6 +484,14 @@
 | 
|    // into a full window).
 | 
|    IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount)
 | 
|  
 | 
| +  // Notifies the renderer of the AppCache that has been selected for a
 | 
| +  // a particular context (or frame). This is sent in reply to
 | 
| +  // one of the two AppCacheMsg_SelectAppCache messages.
 | 
| +  IPC_MESSAGE_CONTROL3(AppCacheMsg_AppCacheSelected,
 | 
| +                       int /* context_id */,
 | 
| +                       int /* select_request_id */,
 | 
| +                       int64 /* cache_id */)
 | 
| +
 | 
|    // Reply to the ViewHostMsg_QueryFormFieldAutofill message with the autofill
 | 
|    // suggestions.
 | 
|    IPC_MESSAGE_ROUTED4(ViewMsg_AutofillSuggestions,
 | 
| @@ -1195,6 +1204,34 @@
 | 
|                               gfx::NativeViewId /* window */,
 | 
|                               gfx::Rect /* Out: Window location */)
 | 
|  
 | 
| +  // Informs the browser of a new context.
 | 
| +  IPC_MESSAGE_CONTROL3(AppCacheMsg_ContextCreated,
 | 
| +                       WebAppCacheContext::ContextType,
 | 
| +                       int /* context_id */,
 | 
| +                       int /* opt_parent_context_id */)
 | 
| +
 | 
| +  // Informs the browser of a context being destroyed.
 | 
| +  IPC_MESSAGE_CONTROL1(AppCacheMsg_ContextDestroyed,
 | 
| +                       int /* context_id */)
 | 
| +
 | 
| +  // Initiates the cache selection algorithm for the given context.
 | 
| +  // This is sent after new content has been committed, but prior to
 | 
| +  // any subresource loads. An AppCacheMsg_AppCacheSelected message will
 | 
| +  // be sent in response.
 | 
| +  // 'context_id' indentifies a specific frame or worker
 | 
| +  // 'select_request_id' indentifies this particular invocation the algorithm
 | 
| +  //    and will be returned to the caller with the response
 | 
| +  // 'document_url' the url of the main resource commited to the frame
 | 
| +  // 'cache_document_was_loaded_frame' the id of the appcache the main resource
 | 
| +  //    was loaded from or kNoAppCacheId
 | 
| +  // 'opt_manifest_url' the manifest url specified in the <html> tag if any
 | 
| +  IPC_MESSAGE_CONTROL5(AppCacheMsg_SelectAppCache,
 | 
| +                       int /* context_id */,
 | 
| +                       int /* select_request_id */,
 | 
| +                       GURL  /* document_url */,
 | 
| +                       int64 /* cache_document_was_loaded_from */,
 | 
| +                       GURL  /* opt_manifest_url */)
 | 
| +
 | 
|    // Returns the resizer box location in the window this widget is embeded.
 | 
|    // Important for Mac OS X, but not Win or Linux.
 | 
|    IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetRootWindowResizerRect,
 | 
| 
 |