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

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 692973005: Pass origin information for remote frame creation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add EXPECT_TRUE to NavigateToURL in new tests; nits Created 6 years, 1 month 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
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 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/memory/memory_pressure_listener.h" 12 #include "base/memory/memory_pressure_listener.h"
13 #include "base/metrics/user_metrics_action.h" 13 #include "base/metrics/user_metrics_action.h"
14 #include "base/observer_list.h" 14 #include "base/observer_list.h"
15 #include "base/strings/string16.h" 15 #include "base/strings/string16.h"
16 #include "base/threading/thread_checker.h" 16 #include "base/threading/thread_checker.h"
17 #include "base/timer/timer.h" 17 #include "base/timer/timer.h"
18 #include "build/build_config.h" 18 #include "build/build_config.h"
19 #include "content/child/child_thread.h" 19 #include "content/child/child_thread.h"
20 #include "content/common/content_export.h" 20 #include "content/common/content_export.h"
21 #include "content/common/frame_replication_state.h"
21 #include "content/common/gpu/client/gpu_channel_host.h" 22 #include "content/common/gpu/client/gpu_channel_host.h"
22 #include "content/common/gpu/gpu_result_codes.h" 23 #include "content/common/gpu/gpu_result_codes.h"
23 #include "content/public/renderer/render_thread.h" 24 #include "content/public/renderer/render_thread.h"
24 #include "net/base/network_change_notifier.h" 25 #include "net/base/network_change_notifier.h"
25 #include "third_party/WebKit/public/platform/WebConnectionType.h" 26 #include "third_party/WebKit/public/platform/WebConnectionType.h"
26 #include "ui/gfx/native_widget_types.h" 27 #include "ui/gfx/native_widget_types.h"
27 28
28 #if defined(OS_MACOSX) 29 #if defined(OS_MACOSX)
29 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" 30 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h"
30 #endif 31 #endif
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 const GPUCreateCommandBufferConfig& init_params, 421 const GPUCreateCommandBufferConfig& init_params,
421 int32 route_id) override; 422 int32 route_id) override;
422 423
423 void Init(); 424 void Init();
424 425
425 void OnCreateNewFrame(int routing_id, 426 void OnCreateNewFrame(int routing_id,
426 int parent_routing_id, 427 int parent_routing_id,
427 int proxy_routing_id); 428 int proxy_routing_id);
428 void OnCreateNewFrameProxy(int routing_id, 429 void OnCreateNewFrameProxy(int routing_id,
429 int parent_routing_id, 430 int parent_routing_id,
430 int render_view_routing_id); 431 int render_view_routing_id,
432 const FrameReplicationState& replicated_state);
431 void OnSetZoomLevelForCurrentURL(const std::string& scheme, 433 void OnSetZoomLevelForCurrentURL(const std::string& scheme,
432 const std::string& host, 434 const std::string& host,
433 double zoom_level); 435 double zoom_level);
434 void OnCreateNewView(const ViewMsg_New_Params& params); 436 void OnCreateNewView(const ViewMsg_New_Params& params);
435 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); 437 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id);
436 #if defined(ENABLE_PLUGINS) 438 #if defined(ENABLE_PLUGINS)
437 void OnPurgePluginListCache(bool reload_pages); 439 void OnPurgePluginListCache(bool reload_pages);
438 #endif 440 #endif
439 void OnNetworkTypeChanged(net::NetworkChangeNotifier::ConnectionType type); 441 void OnNetworkTypeChanged(net::NetworkChangeNotifier::ConnectionType type);
440 void OnGetAccessibilityTree(); 442 void OnGetAccessibilityTree();
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 bool is_one_copy_enabled_; 585 bool is_one_copy_enabled_;
584 586
585 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; 587 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_;
586 588
587 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 589 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
588 }; 590 };
589 591
590 } // namespace content 592 } // namespace content
591 593
592 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 594 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698