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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_child_frame.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 | « no previous file | content/browser/frame_host/render_widget_host_view_child_frame.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "content/browser/renderer_host/render_widget_host_view_base.h" 9 #include "content/browser/renderer_host/render_widget_host_view_base.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 void WasHidden() override; 63 void WasHidden() override;
64 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; 64 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override;
65 void Blur() override; 65 void Blur() override;
66 void UpdateCursor(const WebCursor& cursor) override; 66 void UpdateCursor(const WebCursor& cursor) override;
67 void SetIsLoading(bool is_loading) override; 67 void SetIsLoading(bool is_loading) override;
68 void TextInputTypeChanged(ui::TextInputType type, 68 void TextInputTypeChanged(ui::TextInputType type,
69 ui::TextInputMode input_mode, 69 ui::TextInputMode input_mode,
70 bool can_compose_inline, 70 bool can_compose_inline,
71 int flags) override; 71 int flags) override;
72 void ImeCancelComposition() override; 72 void ImeCancelComposition() override;
73 #if defined(OS_MACOSX) || defined(USE_AURA) || defined(OS_ANDROID)
74 void ImeCompositionRangeChanged( 73 void ImeCompositionRangeChanged(
75 const gfx::Range& range, 74 const gfx::Range& range,
76 const std::vector<gfx::Rect>& character_bounds) override; 75 const std::vector<gfx::Rect>& character_bounds) override;
77 #endif
78 void RenderProcessGone(base::TerminationStatus status, 76 void RenderProcessGone(base::TerminationStatus status,
79 int error_code) override; 77 int error_code) override;
80 void Destroy() override; 78 void Destroy() override;
81 void SetTooltipText(const base::string16& tooltip_text) override; 79 void SetTooltipText(const base::string16& tooltip_text) override;
82 void SelectionChanged(const base::string16& text, 80 void SelectionChanged(const base::string16& text,
83 size_t offset, 81 size_t offset,
84 const gfx::Range& range) override; 82 const gfx::Range& range) override;
85 void SelectionBoundsChanged( 83 void SelectionBoundsChanged(
86 const ViewHostMsg_SelectionBounds_Params& params) override; 84 const ViewHostMsg_SelectionBounds_Params& params) override;
87 void CopyFromCompositingSurface(const gfx::Rect& src_subrect, 85 void CopyFromCompositingSurface(const gfx::Rect& src_subrect,
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 // sent through it are routed to the embedding renderer process. 150 // sent through it are routed to the embedding renderer process.
153 CrossProcessFrameConnector* frame_connector_; 151 CrossProcessFrameConnector* frame_connector_;
154 152
155 private: 153 private:
156 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 154 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
157 }; 155 };
158 156
159 } // namespace content 157 } // namespace content
160 158
161 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 159 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_widget_host_view_child_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698