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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_guest.h

Issue 889403004: Rename initial_pos to initial_rect in ShowWidget and ShowView IPCs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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 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_GUEST_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 gfx::NativeView GetNativeView() const override; 60 gfx::NativeView GetNativeView() const override;
61 gfx::NativeViewId GetNativeViewId() const override; 61 gfx::NativeViewId GetNativeViewId() const override;
62 gfx::NativeViewAccessible GetNativeViewAccessible() override; 62 gfx::NativeViewAccessible GetNativeViewAccessible() override;
63 gfx::Rect GetViewBounds() const override; 63 gfx::Rect GetViewBounds() const override;
64 void SetBackgroundColor(SkColor color) override; 64 void SetBackgroundColor(SkColor color) override;
65 gfx::Size GetPhysicalBackingSize() const override; 65 gfx::Size GetPhysicalBackingSize() const override;
66 base::string16 GetSelectedText() const override; 66 base::string16 GetSelectedText() const override;
67 67
68 // RenderWidgetHostViewBase implementation. 68 // RenderWidgetHostViewBase implementation.
69 void InitAsPopup(RenderWidgetHostView* parent_host_view, 69 void InitAsPopup(RenderWidgetHostView* parent_host_view,
70 const gfx::Rect& pos) override; 70 const gfx::Rect& bounds) override;
71 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; 71 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override;
72 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; 72 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override;
73 void UpdateCursor(const WebCursor& cursor) override; 73 void UpdateCursor(const WebCursor& cursor) override;
74 void SetIsLoading(bool is_loading) override; 74 void SetIsLoading(bool is_loading) override;
75 void TextInputTypeChanged(ui::TextInputType type, 75 void TextInputTypeChanged(ui::TextInputType type,
76 ui::TextInputMode input_mode, 76 ui::TextInputMode input_mode,
77 bool can_compose_inline, 77 bool can_compose_inline,
78 int flags) override; 78 int flags) override;
79 void ImeCancelComposition() override; 79 void ImeCancelComposition() override;
80 #if defined(OS_MACOSX) || defined(USE_AURA) 80 #if defined(OS_MACOSX) || defined(USE_AURA)
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; 171 base::WeakPtr<RenderWidgetHostViewBase> platform_view_;
172 #if defined(USE_AURA) 172 #if defined(USE_AURA)
173 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; 173 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_;
174 #endif 174 #endif
175 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); 175 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest);
176 }; 176 };
177 177
178 } // namespace content 178 } // namespace content
179 179
180 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 180 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698