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

Side by Side Diff: content/renderer/render_view_browsertest.cc

Issue 8788003: Update includes to new header locations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/render_view_impl.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "base/basictypes.h" 5 #include "base/basictypes.h"
6 6
7 #include "base/shared_memory.h" 7 #include "base/shared_memory.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "content/common/view_messages.h" 10 #include "content/common/view_messages.h"
11 #include "content/public/browser/native_web_keyboard_event.h" 11 #include "content/public/browser/native_web_keyboard_event.h"
12 #include "content/renderer/render_view_impl.h" 12 #include "content/renderer/render_view_impl.h"
13 #include "content/test/render_view_test.h" 13 #include "content/test/render_view_test.h"
14 #include "net/base/net_errors.h" 14 #include "net/base/net_errors.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLError.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLError. h"
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
19 #include "ui/base/keycodes/keyboard_codes.h" 19 #include "ui/base/keycodes/keyboard_codes.h"
20 #include "ui/base/range/range.h" 20 #include "ui/base/range/range.h"
21 #include "ui/gfx/codec/jpeg_codec.h" 21 #include "ui/gfx/codec/jpeg_codec.h"
22 #include "webkit/glue/web_io_operators.h" 22 #include "webkit/glue/web_io_operators.h"
23 23
24 using WebKit::WebFrame; 24 using WebKit::WebFrame;
25 using WebKit::WebString; 25 using WebKit::WebString;
26 using WebKit::WebTextDirection; 26 using WebKit::WebTextDirection;
27 using WebKit::WebURLError; 27 using WebKit::WebURLError;
(...skipping 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after
1091 expected_page_id_2 = view()->page_id_; 1091 expected_page_id_2 = view()->page_id_;
1092 EXPECT_GT(expected_page_id_2, expected_page_id); 1092 EXPECT_GT(expected_page_id_2, expected_page_id);
1093 view()->OnSetHistoryLengthAndPrune(2, -1); 1093 view()->OnSetHistoryLengthAndPrune(2, -1);
1094 EXPECT_EQ(4, view()->history_list_length_); 1094 EXPECT_EQ(4, view()->history_list_length_);
1095 EXPECT_EQ(3, view()->history_list_offset_); 1095 EXPECT_EQ(3, view()->history_list_offset_);
1096 EXPECT_EQ(-1, view()->history_page_ids_[0]); 1096 EXPECT_EQ(-1, view()->history_page_ids_[0]);
1097 EXPECT_EQ(-1, view()->history_page_ids_[1]); 1097 EXPECT_EQ(-1, view()->history_page_ids_[1]);
1098 EXPECT_EQ(expected_page_id, view()->history_page_ids_[2]); 1098 EXPECT_EQ(expected_page_id, view()->history_page_ids_[2]);
1099 EXPECT_EQ(expected_page_id_2, view()->history_page_ids_[3]); 1099 EXPECT_EQ(expected_page_id_2, view()->history_page_ids_[3]);
1100 } 1100 }
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698