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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_android.h

Issue 536063002: Clean up RenderWidgetHostView destruction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Safer scheme Created 6 years, 3 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 virtual bool IsShowing() OVERRIDE; 125 virtual bool IsShowing() OVERRIDE;
126 virtual gfx::Rect GetViewBounds() const OVERRIDE; 126 virtual gfx::Rect GetViewBounds() const OVERRIDE;
127 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; 127 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE;
128 virtual float GetTopControlsLayoutHeight() const OVERRIDE; 128 virtual float GetTopControlsLayoutHeight() const OVERRIDE;
129 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; 129 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE;
130 virtual void SetIsLoading(bool is_loading) OVERRIDE; 130 virtual void SetIsLoading(bool is_loading) OVERRIDE;
131 virtual void TextInputStateChanged( 131 virtual void TextInputStateChanged(
132 const ViewHostMsg_TextInputState_Params& params) OVERRIDE; 132 const ViewHostMsg_TextInputState_Params& params) OVERRIDE;
133 virtual void ImeCancelComposition() OVERRIDE; 133 virtual void ImeCancelComposition() OVERRIDE;
134 virtual void FocusedNodeChanged(bool is_editable_node) OVERRIDE; 134 virtual void FocusedNodeChanged(bool is_editable_node) OVERRIDE;
135 virtual void RenderProcessGone(base::TerminationStatus status,
136 int error_code) OVERRIDE;
137 virtual void Destroy() OVERRIDE; 135 virtual void Destroy() OVERRIDE;
138 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; 136 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE;
139 virtual void SelectionChanged(const base::string16& text, 137 virtual void SelectionChanged(const base::string16& text,
140 size_t offset, 138 size_t offset,
141 const gfx::Range& range) OVERRIDE; 139 const gfx::Range& range) OVERRIDE;
142 virtual void SelectionBoundsChanged( 140 virtual void SelectionBoundsChanged(
143 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; 141 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE;
144 virtual void AcceleratedSurfaceInitialized(int host_id, 142 virtual void AcceleratedSurfaceInitialized(int host_id,
145 int route_id) OVERRIDE; 143 int route_id) OVERRIDE;
146 virtual void AcceleratedSurfaceBuffersSwapped( 144 virtual void AcceleratedSurfaceBuffersSwapped(
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 429
432 // The last scroll offset of the view. 430 // The last scroll offset of the view.
433 gfx::Vector2dF last_scroll_offset_; 431 gfx::Vector2dF last_scroll_offset_;
434 432
435 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 433 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
436 }; 434 };
437 435
438 } // namespace content 436 } // namespace content
439 437
440 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 438 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698