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

Side by Side Diff: content/test/test_web_contents.h

Issue 889403004: Rename initial_pos to initial_rect in ShowWidget and ShowView IPCs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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
« no previous file with comments | « content/test/test_render_view_host.h ('k') | content/test/test_web_contents.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_TEST_TEST_WEB_CONTENTS_H_ 5 #ifndef CONTENT_TEST_TEST_WEB_CONTENTS_H_
6 #define CONTENT_TEST_TEST_WEB_CONTENTS_H_ 6 #define CONTENT_TEST_TEST_WEB_CONTENTS_H_
7 7
8 #include "content/browser/web_contents/web_contents_impl.h" 8 #include "content/browser/web_contents/web_contents_impl.h"
9 #include "content/public/common/web_preferences.h" 9 #include "content/public/common/web_preferences.h"
10 #include "content/public/test/web_contents_tester.h" 10 #include "content/public/test/web_contents_tester.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 int route_id, 105 int route_id,
106 int main_frame_route_id, 106 int main_frame_route_id,
107 const ViewHostMsg_CreateWindow_Params& params, 107 const ViewHostMsg_CreateWindow_Params& params,
108 SessionStorageNamespace* session_storage_namespace) override; 108 SessionStorageNamespace* session_storage_namespace) override;
109 void CreateNewWidget(int render_process_id, 109 void CreateNewWidget(int render_process_id,
110 int route_id, 110 int route_id,
111 blink::WebPopupType popup_type) override; 111 blink::WebPopupType popup_type) override;
112 void CreateNewFullscreenWidget(int render_process_id, int route_id) override; 112 void CreateNewFullscreenWidget(int render_process_id, int route_id) override;
113 void ShowCreatedWindow(int route_id, 113 void ShowCreatedWindow(int route_id,
114 WindowOpenDisposition disposition, 114 WindowOpenDisposition disposition,
115 const gfx::Rect& initial_pos, 115 const gfx::Rect& initial_rect,
116 bool user_gesture) override; 116 bool user_gesture) override;
117 void ShowCreatedWidget(int route_id, const gfx::Rect& initial_pos) override; 117 void ShowCreatedWidget(int route_id, const gfx::Rect& initial_rect) override;
118 void ShowCreatedFullscreenWidget(int route_id) override; 118 void ShowCreatedFullscreenWidget(int route_id) override;
119 119
120 RenderViewHostDelegateView* delegate_view_override_; 120 RenderViewHostDelegateView* delegate_view_override_;
121 121
122 // Expectations for arguments of |SetHistoryOffsetAndLength()|. 122 // Expectations for arguments of |SetHistoryOffsetAndLength()|.
123 bool expect_set_history_offset_and_length_; 123 bool expect_set_history_offset_and_length_;
124 int expect_set_history_offset_and_length_history_offset_; 124 int expect_set_history_offset_and_length_history_offset_;
125 int expect_set_history_offset_and_length_history_length_; 125 int expect_set_history_offset_and_length_history_length_;
126 }; 126 };
127 127
128 } // namespace content 128 } // namespace content
129 129
130 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_ 130 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/test/test_render_view_host.h ('k') | content/test/test_web_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698