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

Side by Side Diff: content/common/view_messages.h

Issue 84703003: Allow data URL > 2MB for loadDataWithBaseURL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 IPC_STRUCT_MEMBER(int, current_history_list_length) 635 IPC_STRUCT_MEMBER(int, current_history_list_length)
636 636
637 // Informs the RenderView the session history should be cleared. In that 637 // Informs the RenderView the session history should be cleared. In that
638 // case, the RenderView needs to notify the browser that the clearing was 638 // case, the RenderView needs to notify the browser that the clearing was
639 // succesful when the navigation commits. 639 // succesful when the navigation commits.
640 IPC_STRUCT_MEMBER(bool, should_clear_history_list) 640 IPC_STRUCT_MEMBER(bool, should_clear_history_list)
641 641
642 // The URL to load. 642 // The URL to load.
643 IPC_STRUCT_MEMBER(GURL, url) 643 IPC_STRUCT_MEMBER(GURL, url)
644 644
645 // Data payload for use in WebKit's SubstituteData.
646 // Is only used if base_url_for_data_url is also specified.
647 IPC_STRUCT_MEMBER(scoped_refptr<base::RefCountedMemory>, data_for_data_url)
648
645 // Base URL for use in WebKit's SubstituteData. 649 // Base URL for use in WebKit's SubstituteData.
646 // Is only used with data: URLs. 650 // Is only used with data: URLs.
647 IPC_STRUCT_MEMBER(GURL, base_url_for_data_url) 651 IPC_STRUCT_MEMBER(GURL, base_url_for_data_url)
648 652
649 // History URL for use in WebKit's SubstituteData. 653 // History URL for use in WebKit's SubstituteData.
650 // Is only used with data: URLs. 654 // Is only used with data: URLs.
651 IPC_STRUCT_MEMBER(GURL, history_url_for_data_url) 655 IPC_STRUCT_MEMBER(GURL, history_url_for_data_url)
652 656
653 // The URL to send in the "Referer" header field. Can be empty if there is 657 // The URL to send in the "Referer" header field. Can be empty if there is
654 // no referrer. 658 // no referrer.
(...skipping 1699 matching lines...) Expand 10 before | Expand all | Expand 10 after
2354 // synchronously (see crbug.com/120597). This IPC message sends the character 2358 // synchronously (see crbug.com/120597). This IPC message sends the character
2355 // bounds after every composition change to always have correct bound info. 2359 // bounds after every composition change to always have correct bound info.
2356 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2360 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2357 gfx::Range /* composition range */, 2361 gfx::Range /* composition range */,
2358 std::vector<gfx::Rect> /* character bounds */) 2362 std::vector<gfx::Rect> /* character bounds */)
2359 #endif 2363 #endif
2360 2364
2361 // Adding a new message? Stick to the sort order above: first platform 2365 // Adding a new message? Stick to the sort order above: first platform
2362 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2366 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2363 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2367 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698