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

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

Issue 1185683002: Add <stdarg.h> include required for va_start/va_end in GCC (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 #include "public/web/WebViewClient.h" 114 #include "public/web/WebViewClient.h"
115 #include "web/WebLocalFrameImpl.h" 115 #include "web/WebLocalFrameImpl.h"
116 #include "web/WebRemoteFrameImpl.h" 116 #include "web/WebRemoteFrameImpl.h"
117 #include "web/WebViewImpl.h" 117 #include "web/WebViewImpl.h"
118 #include "web/tests/FrameTestHelpers.h" 118 #include "web/tests/FrameTestHelpers.h"
119 #include "wtf/Forward.h" 119 #include "wtf/Forward.h"
120 #include "wtf/dtoa/utils.h" 120 #include "wtf/dtoa/utils.h"
121 #include <gmock/gmock.h> 121 #include <gmock/gmock.h>
122 #include <gtest/gtest.h> 122 #include <gtest/gtest.h>
123 #include <map> 123 #include <map>
124 #include <stdarg.h>
124 #include <v8.h> 125 #include <v8.h>
125 126
126 using blink::URLTestHelpers::toKURL; 127 using blink::URLTestHelpers::toKURL;
127 using blink::FrameTestHelpers::UseMockScrollbarSettings; 128 using blink::FrameTestHelpers::UseMockScrollbarSettings;
128 using blink::testing::runPendingTasks; 129 using blink::testing::runPendingTasks;
129 using testing::ElementsAre; 130 using testing::ElementsAre;
130 using ::testing::Mock; 131 using ::testing::Mock;
131 132
132 namespace blink { 133 namespace blink {
133 134
(...skipping 7592 matching lines...) Expand 10 before | Expand all | Expand 10 after
7726 TEST_F(WebFrameTest, OrientationFrameDetach) 7727 TEST_F(WebFrameTest, OrientationFrameDetach)
7727 { 7728 {
7728 RuntimeEnabledFeatures::setOrientationEventEnabled(true); 7729 RuntimeEnabledFeatures::setOrientationEventEnabled(true);
7729 registerMockedHttpURLLoad("orientation-frame-detach.html"); 7730 registerMockedHttpURLLoad("orientation-frame-detach.html");
7730 FrameTestHelpers::WebViewHelper webViewHelper; 7731 FrameTestHelpers::WebViewHelper webViewHelper;
7731 WebViewImpl* webViewImpl = webViewHelper.initializeAndLoad(m_baseURL + "orie ntation-frame-detach.html", true); 7732 WebViewImpl* webViewImpl = webViewHelper.initializeAndLoad(m_baseURL + "orie ntation-frame-detach.html", true);
7732 webViewImpl->mainFrameImpl()->sendOrientationChangeEvent(); 7733 webViewImpl->mainFrameImpl()->sendOrientationChangeEvent();
7733 } 7734 }
7734 7735
7735 } // namespace blink 7736 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698