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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_gtk.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
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_widget_host_view_gtk.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_GTK_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gdk/gdk.h> 9 #include <gdk/gdk.h>
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 void InitAsChild(); 53 void InitAsChild();
54 54
55 // RenderWidgetHostView implementation. 55 // RenderWidgetHostView implementation.
56 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, 56 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view,
57 const gfx::Rect& pos); 57 const gfx::Rect& pos);
58 virtual void InitAsFullscreen(); 58 virtual void InitAsFullscreen();
59 virtual RenderWidgetHost* GetRenderWidgetHost() const; 59 virtual RenderWidgetHost* GetRenderWidgetHost() const;
60 virtual void DidBecomeSelected(); 60 virtual void DidBecomeSelected();
61 virtual void WasHidden(); 61 virtual void WasHidden();
62 virtual void SetSize(const gfx::Size& size); 62 virtual void SetSize(const gfx::Size& size);
63 virtual void SetBounds(const gfx::Rect& rect);
63 virtual gfx::NativeView GetNativeView(); 64 virtual gfx::NativeView GetNativeView();
64 virtual void MovePluginWindows( 65 virtual void MovePluginWindows(
65 const std::vector<webkit::npapi::WebPluginGeometry>& moves); 66 const std::vector<webkit::npapi::WebPluginGeometry>& moves);
66 virtual void Focus(); 67 virtual void Focus();
67 virtual void Blur(); 68 virtual void Blur();
68 virtual bool HasFocus(); 69 virtual bool HasFocus();
69 virtual void Show(); 70 virtual void Show();
70 virtual void Hide(); 71 virtual void Hide();
71 virtual bool IsShowing(); 72 virtual bool IsShowing();
72 virtual gfx::Rect GetViewBounds() const; 73 virtual gfx::Rect GetViewBounds() const;
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 236
236 bool accelerated_surface_acquired_; 237 bool accelerated_surface_acquired_;
237 238
238 #if defined(OS_CHROMEOS) 239 #if defined(OS_CHROMEOS)
239 // Custimized tooltip window. 240 // Custimized tooltip window.
240 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; 241 scoped_ptr<views::TooltipWindowGtk> tooltip_window_;
241 #endif // defined(OS_CHROMEOS) 242 #endif // defined(OS_CHROMEOS)
242 }; 243 };
243 244
244 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 245 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_widget_host_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698