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

Side by Side Diff: third_party/WebKit/Source/web/tests/WebFrameTest.cpp

Issue 2774823002: Remove FrameHost class (Closed)
Patch Set: Rebase Created 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include "core/dom/NodeComputedStyle.h" 50 #include "core/dom/NodeComputedStyle.h"
51 #include "core/dom/Range.h" 51 #include "core/dom/Range.h"
52 #include "core/editing/Editor.h" 52 #include "core/editing/Editor.h"
53 #include "core/editing/EphemeralRange.h" 53 #include "core/editing/EphemeralRange.h"
54 #include "core/editing/FrameSelection.h" 54 #include "core/editing/FrameSelection.h"
55 #include "core/editing/VisiblePosition.h" 55 #include "core/editing/VisiblePosition.h"
56 #include "core/editing/markers/DocumentMarkerController.h" 56 #include "core/editing/markers/DocumentMarkerController.h"
57 #include "core/editing/spellcheck/IdleSpellCheckCallback.h" 57 #include "core/editing/spellcheck/IdleSpellCheckCallback.h"
58 #include "core/editing/spellcheck/SpellChecker.h" 58 #include "core/editing/spellcheck/SpellChecker.h"
59 #include "core/events/MouseEvent.h" 59 #include "core/events/MouseEvent.h"
60 #include "core/frame/FrameHost.h"
61 #include "core/frame/FrameView.h" 60 #include "core/frame/FrameView.h"
62 #include "core/frame/LocalFrame.h" 61 #include "core/frame/LocalFrame.h"
63 #include "core/frame/RemoteFrame.h" 62 #include "core/frame/RemoteFrame.h"
64 #include "core/frame/Settings.h" 63 #include "core/frame/Settings.h"
65 #include "core/frame/VisualViewport.h" 64 #include "core/frame/VisualViewport.h"
66 #include "core/html/HTMLBodyElement.h" 65 #include "core/html/HTMLBodyElement.h"
67 #include "core/html/HTMLFormElement.h" 66 #include "core/html/HTMLFormElement.h"
68 #include "core/html/HTMLIFrameElement.h" 67 #include "core/html/HTMLIFrameElement.h"
69 #include "core/html/HTMLVideoElement.h" 68 #include "core/html/HTMLVideoElement.h"
70 #include "core/html/ImageDocument.h" 69 #include "core/html/ImageDocument.h"
(...skipping 11371 matching lines...) Expand 10 before | Expand all | Expand 10 after
11442 EXPECT_FALSE(testSelectAll("<textarea></textarea>")); 11441 EXPECT_FALSE(testSelectAll("<textarea></textarea>"));
11443 EXPECT_TRUE(testSelectAll("<textarea>nonempty</textarea>")); 11442 EXPECT_TRUE(testSelectAll("<textarea>nonempty</textarea>"));
11444 EXPECT_FALSE(testSelectAll("<input>")); 11443 EXPECT_FALSE(testSelectAll("<input>"));
11445 EXPECT_TRUE(testSelectAll("<input value='nonempty'>")); 11444 EXPECT_TRUE(testSelectAll("<input value='nonempty'>"));
11446 // TODO(amaralp): Empty contenteditable should not have select all enabled. 11445 // TODO(amaralp): Empty contenteditable should not have select all enabled.
11447 EXPECT_TRUE(testSelectAll("<div contenteditable></div>")); 11446 EXPECT_TRUE(testSelectAll("<div contenteditable></div>"));
11448 EXPECT_TRUE(testSelectAll("<div contenteditable>nonempty</div>")); 11447 EXPECT_TRUE(testSelectAll("<div contenteditable>nonempty</div>"));
11449 } 11448 }
11450 11449
11451 } // namespace blink 11450 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698