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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura_unittest.cc

Issue 2811083002: Move frame eviction into components (Closed)
Patch Set: 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 // 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 #include "content/browser/renderer_host/render_widget_host_view_aura.h" 5 #include "content/browser/renderer_host/render_widget_host_view_aura.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <tuple> 10 #include <tuple>
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 #include "ui/wm/core/window_util.h" 102 #include "ui/wm/core/window_util.h"
103 103
104 using testing::_; 104 using testing::_;
105 105
106 using blink::WebGestureEvent; 106 using blink::WebGestureEvent;
107 using blink::WebInputEvent; 107 using blink::WebInputEvent;
108 using blink::WebMouseEvent; 108 using blink::WebMouseEvent;
109 using blink::WebMouseWheelEvent; 109 using blink::WebMouseWheelEvent;
110 using blink::WebTouchEvent; 110 using blink::WebTouchEvent;
111 using blink::WebTouchPoint; 111 using blink::WebTouchPoint;
112 using display_compositor::RendererFrameManager;
112 using ui::WebInputEventTraits; 113 using ui::WebInputEventTraits;
113 114
114 namespace content { 115 namespace content {
115 116
116 void InstallDelegatedFrameHostClient( 117 void InstallDelegatedFrameHostClient(
117 RenderWidgetHostViewAura* render_widget_host_view, 118 RenderWidgetHostViewAura* render_widget_host_view,
118 std::unique_ptr<DelegatedFrameHostClient> delegated_frame_host_client); 119 std::unique_ptr<DelegatedFrameHostClient> delegated_frame_host_client);
119 120
120 namespace { 121 namespace {
121 122
(...skipping 5310 matching lines...) Expand 10 before | Expand all | Expand 10 after
5432 // There is no composition in the beginning. 5433 // There is no composition in the beginning.
5433 EXPECT_FALSE(has_composition_text()); 5434 EXPECT_FALSE(has_composition_text());
5434 SetHasCompositionTextToTrue(); 5435 SetHasCompositionTextToTrue();
5435 view->ImeCancelComposition(); 5436 view->ImeCancelComposition();
5436 // The composition must have been canceled. 5437 // The composition must have been canceled.
5437 EXPECT_FALSE(has_composition_text()); 5438 EXPECT_FALSE(has_composition_text());
5438 } 5439 }
5439 } 5440 }
5440 5441
5441 } // namespace content 5442 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698