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

Side by Side Diff: chrome/common/render_messages.h

Issue 115595: Have the browser process rewrite manifest.json and theme images that the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ 5 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_
6 #define CHROME_COMMON_RENDER_MESSAGES_H_ 6 #define CHROME_COMMON_RENDER_MESSAGES_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 #include <map> 10 #include <map>
(...skipping 29 matching lines...) Expand all
40 #include "webkit/glue/webview_delegate.h" 40 #include "webkit/glue/webview_delegate.h"
41 41
42 #if defined(OS_POSIX) 42 #if defined(OS_POSIX)
43 #include "third_party/skia/include/core/SkBitmap.h" 43 #include "third_party/skia/include/core/SkBitmap.h"
44 #endif 44 #endif
45 45
46 namespace base { 46 namespace base {
47 class Time; 47 class Time;
48 } 48 }
49 49
50 class SkBitmap;
51
50 // Parameters structure for ViewMsg_Navigate, which has too many data 52 // Parameters structure for ViewMsg_Navigate, which has too many data
51 // parameters to be reasonably put in a predefined IPC message. 53 // parameters to be reasonably put in a predefined IPC message.
52 struct ViewMsg_Navigate_Params { 54 struct ViewMsg_Navigate_Params {
53 // The page_id for this navigation, or -1 if it is a new navigation. Back, 55 // The page_id for this navigation, or -1 if it is a new navigation. Back,
54 // Forward, and Reload navigations should have a valid page_id. If the load 56 // Forward, and Reload navigations should have a valid page_id. If the load
55 // succeeds, then this page_id will be reflected in the resultant 57 // succeeds, then this page_id will be reflected in the resultant
56 // ViewHostMsg_FrameNavigate message. 58 // ViewHostMsg_FrameNavigate message.
57 int32 page_id; 59 int32 page_id;
58 60
59 // The URL to load. 61 // The URL to load.
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 // The height of each item in the menu. 380 // The height of each item in the menu.
379 int item_height; 381 int item_height;
380 382
381 // The currently selected (displayed) item in the menu. 383 // The currently selected (displayed) item in the menu.
382 int selected_item; 384 int selected_item;
383 385
384 // The entire list of items in the popup menu. 386 // The entire list of items in the popup menu.
385 std::vector<WebMenuItem> popup_items; 387 std::vector<WebMenuItem> popup_items;
386 }; 388 };
387 389
390 // Used by UtilityHostMsg_UnpackExtension_Succeeded. We must define a typedef
391 // because the preprocessor is stupid about commas inside macros.
392 typedef Tuple2<SkBitmap, FilePath> UnpackExtension_ImagePathPair;
393
388 namespace IPC { 394 namespace IPC {
389 395
390 template <> 396 template <>
391 struct ParamTraits<ResourceType::Type> { 397 struct ParamTraits<ResourceType::Type> {
392 typedef ResourceType::Type param_type; 398 typedef ResourceType::Type param_type;
393 static void Write(Message* m, const param_type& p) { 399 static void Write(Message* m, const param_type& p) {
394 m->WriteInt(p); 400 m->WriteInt(p);
395 } 401 }
396 static bool Read(const Message* m, void** iter, param_type* p) { 402 static bool Read(const Message* m, void** iter, param_type* p) {
397 int type; 403 int type;
(...skipping 1480 matching lines...) Expand 10 before | Expand all | Expand 10 after
1878 } 1884 }
1879 }; 1885 };
1880 1886
1881 } // namespace IPC 1887 } // namespace IPC
1882 1888
1883 1889
1884 #define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h" 1890 #define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h"
1885 #include "chrome/common/ipc_message_macros.h" 1891 #include "chrome/common/ipc_message_macros.h"
1886 1892
1887 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ 1893 #endif // CHROME_COMMON_RENDER_MESSAGES_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_unpacker.cc ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698