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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_win.h

Issue 6024008: Consider the popup window position when the window shows upward. This patch depends on WebKit patch. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fix CPoint to POINT. Created 9 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <atlbase.h> 9 #include <atlbase.h>
10 #include <atlapp.h> 10 #include <atlapp.h>
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 END_MSG_MAP() 124 END_MSG_MAP()
125 125
126 // Implementation of RenderWidgetHostView: 126 // Implementation of RenderWidgetHostView:
127 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, 127 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view,
128 const gfx::Rect& pos); 128 const gfx::Rect& pos);
129 virtual void InitAsFullscreen(); 129 virtual void InitAsFullscreen();
130 virtual RenderWidgetHost* GetRenderWidgetHost() const; 130 virtual RenderWidgetHost* GetRenderWidgetHost() const;
131 virtual void DidBecomeSelected(); 131 virtual void DidBecomeSelected();
132 virtual void WasHidden(); 132 virtual void WasHidden();
133 virtual void SetSize(const gfx::Size& size); 133 virtual void SetSize(const gfx::Size& size);
134 virtual void SetBounds(const gfx::Rect& rect);
134 virtual gfx::NativeView GetNativeView(); 135 virtual gfx::NativeView GetNativeView();
135 virtual void MovePluginWindows( 136 virtual void MovePluginWindows(
136 const std::vector<webkit::npapi::WebPluginGeometry>& moves); 137 const std::vector<webkit::npapi::WebPluginGeometry>& moves);
137 virtual void Focus(); 138 virtual void Focus();
138 virtual void Blur(); 139 virtual void Blur();
139 virtual bool HasFocus(); 140 virtual bool HasFocus();
140 virtual void Show(); 141 virtual void Show();
141 virtual void Hide(); 142 virtual void Hide();
142 virtual bool IsShowing(); 143 virtual bool IsShowing();
143 virtual gfx::Rect GetViewBounds() const; 144 virtual gfx::Rect GetViewBounds() const;
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 WebKit::WebTextInputType text_input_type_; 357 WebKit::WebTextInputType text_input_type_;
357 358
358 ScopedVector<ui::ViewProp> props_; 359 ScopedVector<ui::ViewProp> props_;
359 360
360 scoped_ptr<ui::ViewProp> accessibility_prop_; 361 scoped_ptr<ui::ViewProp> accessibility_prop_;
361 362
362 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 363 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
363 }; 364 };
364 365
365 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 366 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698