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

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

Issue 6884001: Enforce no more includes through DEPS. I also added DEPS checking for gpu/plugin/worker directori... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/render_view.cc ('k') | content/renderer/renderer_glue.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) 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 "chrome/common/render_messages.h"
11 #include "chrome/test/render_view_test.h" 10 #include "chrome/test/render_view_test.h"
12 #include "content/common/native_web_keyboard_event.h" 11 #include "content/common/native_web_keyboard_event.h"
13 #include "content/common/view_messages.h" 12 #include "content/common/view_messages.h"
14 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
15 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLError.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLError.h"
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
19 #include "ui/base/keycodes/keyboard_codes.h" 18 #include "ui/base/keycodes/keyboard_codes.h"
20 #include "ui/gfx/codec/jpeg_codec.h" 19 #include "ui/gfx/codec/jpeg_codec.h"
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 // Frame should stay in view-source mode. 769 // Frame should stay in view-source mode.
771 EXPECT_TRUE(web_frame->isViewSourceModeEnabled()); 770 EXPECT_TRUE(web_frame->isViewSourceModeEnabled());
772 } 771 }
773 772
774 // Regression test for http://crbug.com/41562 773 // Regression test for http://crbug.com/41562
775 TEST_F(RenderViewTest, UpdateTargetURLWithInvalidURL) { 774 TEST_F(RenderViewTest, UpdateTargetURLWithInvalidURL) {
776 const GURL invalid_gurl("http://"); 775 const GURL invalid_gurl("http://");
777 view_->setMouseOverURL(WebKit::WebURL(invalid_gurl)); 776 view_->setMouseOverURL(WebKit::WebURL(invalid_gurl));
778 EXPECT_EQ(invalid_gurl, view_->target_url_); 777 EXPECT_EQ(invalid_gurl, view_->target_url_);
779 } 778 }
OLDNEW
« no previous file with comments | « content/renderer/render_view.cc ('k') | content/renderer/renderer_glue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698