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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 1685213002: Propagate window coordinates to out-of-process iframes renderers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sendscreenrects
Patch Set: rebase Created 4 years, 10 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
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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional>
10 #include <map> 11 #include <map>
11 #include <set> 12 #include <set>
12 #include <string> 13 #include <string>
13 14
14 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
15 #include "base/containers/scoped_ptr_hash_map.h" 16 #include "base/containers/scoped_ptr_hash_map.h"
16 #include "base/gtest_prod_util.h" 17 #include "base/gtest_prod_util.h"
17 #include "base/macros.h" 18 #include "base/macros.h"
18 #include "base/memory/scoped_ptr.h" 19 #include "base/memory/scoped_ptr.h"
19 #include "base/observer_list.h" 20 #include "base/observer_list.h"
(...skipping 944 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 965
965 // Finds the new RenderWidgetHost and returns it. Note that this can only be 966 // Finds the new RenderWidgetHost and returns it. Note that this can only be
966 // called once as this call also removes it from the internal map. 967 // called once as this call also removes it from the internal map.
967 RenderWidgetHostView* GetCreatedWidget(int route_id); 968 RenderWidgetHostView* GetCreatedWidget(int route_id);
968 969
969 // Finds the new WebContentsImpl by route_id, initializes it for 970 // Finds the new WebContentsImpl by route_id, initializes it for
970 // renderer-initiated creation, and returns it. Note that this can only be 971 // renderer-initiated creation, and returns it. Note that this can only be
971 // called once as this call also removes it from the internal map. 972 // called once as this call also removes it from the internal map.
972 WebContentsImpl* GetCreatedWindow(int route_id); 973 WebContentsImpl* GetCreatedWindow(int route_id);
973 974
975 // Sends a Page message IPC.
976 void SendPageMsg(IPC::Message* msg);
nasko 2016/02/12 18:14:08 nit: Same as in RFHM - SendPageMessage.
lfg 2016/03/02 18:29:08 Done.
977
974 // Tracking loading progress ------------------------------------------------- 978 // Tracking loading progress -------------------------------------------------
975 979
976 // Resets the tracking state of the current load progress. 980 // Resets the tracking state of the current load progress.
977 void ResetLoadProgressState(); 981 void ResetLoadProgressState();
978 982
979 // Notifies the delegate that the load progress was updated. 983 // Notifies the delegate that the load progress was updated.
980 void SendChangeLoadProgress(); 984 void SendChangeLoadProgress();
981 985
982 // Misc non-view stuff ------------------------------------------------------- 986 // Misc non-view stuff -------------------------------------------------------
983 987
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
1327 // Adds/removes a callback called on creation of each new WebContents. 1331 // Adds/removes a callback called on creation of each new WebContents.
1328 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1332 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1329 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1333 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1330 1334
1331 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1335 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1332 }; 1336 };
1333 1337
1334 } // namespace content 1338 } // namespace content
1335 1339
1336 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1340 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698