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

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

Issue 10696158: Rename WasRestored to WasShown across all uses. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Bring to ToT to commit Created 8 years, 4 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 "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
10 #include "base/process.h" 10 #include "base/process.h"
(...skipping 20 matching lines...) Expand all
31 ContentViewCoreImpl* content_view_core); 31 ContentViewCoreImpl* content_view_core);
32 virtual ~RenderWidgetHostViewAndroid(); 32 virtual ~RenderWidgetHostViewAndroid();
33 33
34 // RenderWidgetHostView implementation. 34 // RenderWidgetHostView implementation.
35 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; 35 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE;
36 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, 36 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view,
37 const gfx::Rect& pos) OVERRIDE; 37 const gfx::Rect& pos) OVERRIDE;
38 virtual void InitAsFullscreen( 38 virtual void InitAsFullscreen(
39 RenderWidgetHostView* reference_host_view) OVERRIDE; 39 RenderWidgetHostView* reference_host_view) OVERRIDE;
40 virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; 40 virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE;
41 virtual void WasRestored() OVERRIDE; 41 virtual void WasShown() OVERRIDE;
42 virtual void WasHidden() OVERRIDE; 42 virtual void WasHidden() OVERRIDE;
43 virtual void SetSize(const gfx::Size& size) OVERRIDE; 43 virtual void SetSize(const gfx::Size& size) OVERRIDE;
44 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; 44 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE;
45 virtual gfx::NativeView GetNativeView() const OVERRIDE; 45 virtual gfx::NativeView GetNativeView() const OVERRIDE;
46 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; 46 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE;
47 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; 47 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE;
48 virtual void MovePluginWindows( 48 virtual void MovePluginWindows(
49 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; 49 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE;
50 virtual void Focus() OVERRIDE; 50 virtual void Focus() OVERRIDE;
51 virtual void Blur() OVERRIDE; 51 virtual void Blur() OVERRIDE;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // The size that we want the renderer to be. We keep this in a separate 118 // The size that we want the renderer to be. We keep this in a separate
119 // variable because resizing is async. 119 // variable because resizing is async.
120 gfx::Size requested_size_; 120 gfx::Size requested_size_;
121 121
122 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 122 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
123 }; 123 };
124 124
125 } // namespace content 125 } // namespace content
126 126
127 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 127 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698