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

Side by Side Diff: content/test/test_render_view_host.h

Issue 780343002: Remove always true guard (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comment Created 6 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
« no previous file with comments | « content/shell/app/shell_main_delegate.cc ('k') | 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 // 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 #ifndef CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 } 93 }
94 void Focus() override {} 94 void Focus() override {}
95 void Blur() override {} 95 void Blur() override {}
96 void SetIsLoading(bool is_loading) override {} 96 void SetIsLoading(bool is_loading) override {}
97 void UpdateCursor(const WebCursor& cursor) override {} 97 void UpdateCursor(const WebCursor& cursor) override {}
98 void TextInputTypeChanged(ui::TextInputType type, 98 void TextInputTypeChanged(ui::TextInputType type,
99 ui::TextInputMode input_mode, 99 ui::TextInputMode input_mode,
100 bool can_compose_inline, 100 bool can_compose_inline,
101 int flags) override {} 101 int flags) override {}
102 void ImeCancelComposition() override {} 102 void ImeCancelComposition() override {}
103 #if defined(OS_MACOSX) || defined(USE_AURA) || defined(OS_ANDROID)
104 void ImeCompositionRangeChanged( 103 void ImeCompositionRangeChanged(
105 const gfx::Range& range, 104 const gfx::Range& range,
106 const std::vector<gfx::Rect>& character_bounds) override {} 105 const std::vector<gfx::Rect>& character_bounds) override {}
107 #endif
108 void RenderProcessGone(base::TerminationStatus status, 106 void RenderProcessGone(base::TerminationStatus status,
109 int error_code) override; 107 int error_code) override;
110 void Destroy() override; 108 void Destroy() override;
111 void SetTooltipText(const base::string16& tooltip_text) override {} 109 void SetTooltipText(const base::string16& tooltip_text) override {}
112 void SelectionBoundsChanged( 110 void SelectionBoundsChanged(
113 const ViewHostMsg_SelectionBounds_Params& params) override {} 111 const ViewHostMsg_SelectionBounds_Params& params) override {}
114 void CopyFromCompositingSurface(const gfx::Rect& src_subrect, 112 void CopyFromCompositingSurface(const gfx::Rect& src_subrect,
115 const gfx::Size& dst_size, 113 const gfx::Size& dst_size,
116 ReadbackRequestCallback& callback, 114 ReadbackRequestCallback& callback,
117 const SkColorType color_type) override; 115 const SkColorType color_type) override;
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 private: 317 private:
320 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> 318 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors>
321 ScopedSetSupportedScaleFactors; 319 ScopedSetSupportedScaleFactors;
322 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 320 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
323 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 321 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
324 }; 322 };
325 323
326 } // namespace content 324 } // namespace content
327 325
328 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 326 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/shell/app/shell_main_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698