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

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

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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_factory.cc ('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 <stdint.h>
9
8 #include <string> 10 #include <string>
9 11
10 #include "content/browser/web_contents/web_contents_impl.h" 12 #include "content/browser/web_contents/web_contents_impl.h"
11 #include "content/public/test/web_contents_tester.h" 13 #include "content/public/test/web_contents_tester.h"
12 #include "content/test/test_render_frame_host.h" 14 #include "content/test/test_render_frame_host.h"
13 #include "content/test/test_render_view_host.h" 15 #include "content/test/test_render_view_host.h"
14 #include "ui/base/page_transition_types.h" 16 #include "ui/base/page_transition_types.h"
15 17
16 class GURL; 18 class GURL;
17 class Referrer; 19 class Referrer;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 117
116 private: 118 private:
117 // WebContentsImpl overrides 119 // WebContentsImpl overrides
118 void CreateNewWindow( 120 void CreateNewWindow(
119 SiteInstance* source_site_instance, 121 SiteInstance* source_site_instance,
120 int32_t route_id, 122 int32_t route_id,
121 int32_t main_frame_route_id, 123 int32_t main_frame_route_id,
122 int32_t main_frame_widget_route_id, 124 int32_t main_frame_widget_route_id,
123 const ViewHostMsg_CreateWindow_Params& params, 125 const ViewHostMsg_CreateWindow_Params& params,
124 SessionStorageNamespace* session_storage_namespace) override; 126 SessionStorageNamespace* session_storage_namespace) override;
125 void CreateNewWidget(int32 render_process_id, 127 void CreateNewWidget(int32_t render_process_id,
126 int32 route_id, 128 int32_t route_id,
127 blink::WebPopupType popup_type) override; 129 blink::WebPopupType popup_type) override;
128 void CreateNewFullscreenWidget(int32 render_process_id, 130 void CreateNewFullscreenWidget(int32_t render_process_id,
129 int32 route_id) override; 131 int32_t route_id) override;
130 void ShowCreatedWindow(int route_id, 132 void ShowCreatedWindow(int route_id,
131 WindowOpenDisposition disposition, 133 WindowOpenDisposition disposition,
132 const gfx::Rect& initial_rect, 134 const gfx::Rect& initial_rect,
133 bool user_gesture) override; 135 bool user_gesture) override;
134 void ShowCreatedWidget(int route_id, const gfx::Rect& initial_rect) override; 136 void ShowCreatedWidget(int route_id, const gfx::Rect& initial_rect) override;
135 void ShowCreatedFullscreenWidget(int route_id) override; 137 void ShowCreatedFullscreenWidget(int route_id) override;
136 void SaveFrameWithHeaders(const GURL& url, 138 void SaveFrameWithHeaders(const GURL& url,
137 const Referrer& referrer, 139 const Referrer& referrer,
138 const std::string& headers) override; 140 const std::string& headers) override;
139 141
140 RenderViewHostDelegateView* delegate_view_override_; 142 RenderViewHostDelegateView* delegate_view_override_;
141 143
142 // Expectations for arguments of |SetHistoryOffsetAndLength()|. 144 // Expectations for arguments of |SetHistoryOffsetAndLength()|.
143 bool expect_set_history_offset_and_length_; 145 bool expect_set_history_offset_and_length_;
144 int expect_set_history_offset_and_length_history_offset_; 146 int expect_set_history_offset_and_length_history_offset_;
145 int expect_set_history_offset_and_length_history_length_; 147 int expect_set_history_offset_and_length_history_length_;
146 std::string save_frame_headers_; 148 std::string save_frame_headers_;
147 }; 149 };
148 150
149 } // namespace content 151 } // namespace content
150 152
151 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_ 153 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/test/test_render_view_host_factory.cc ('k') | content/test/test_web_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698