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

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

Issue 11953054: Fix high-DPI on Windows to make use of DIP scaling in WebKit. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove experimental changes to resource handling. Created 7 years, 11 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_GUEST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 6 #define CONTENT_BROWSER_RENDERER_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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; 167 virtual GdkEventButton* GetLastMouseDown() OVERRIDE;
168 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; 168 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE;
169 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; 169 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE;
170 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; 170 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE;
171 #endif // defined(TOOLKIT_GTK) 171 #endif // defined(TOOLKIT_GTK)
172 172
173 #if defined(OS_WIN) && !defined(USE_AURA) 173 #if defined(OS_WIN) && !defined(USE_AURA)
174 virtual void WillWmDestroy() OVERRIDE; 174 virtual void WillWmDestroy() OVERRIDE;
175 #endif // defined(OS_WIN) && !defined(USE_AURA) 175 #endif // defined(OS_WIN) && !defined(USE_AURA)
176 176
177 #if defined(OS_POSIX) || defined(USE_AURA)
178 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; 177 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE;
179 #endif // defined(OS_POSIX) || defined(USE_AURA)
180 protected: 178 protected:
181 friend class RenderWidgetHostView; 179 friend class RenderWidgetHostView;
182 180
183 private: 181 private:
184 // The model object. 182 // The model object.
185 RenderWidgetHostImpl* host_; 183 RenderWidgetHostImpl* host_;
186 184
187 // Whether or not this widget is hidden. 185 // Whether or not this widget is hidden.
188 bool is_hidden_; 186 bool is_hidden_;
189 187
190 BrowserPluginGuest *guest_; 188 BrowserPluginGuest *guest_;
191 gfx::Size size_; 189 gfx::Size size_;
192 190
193 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); 191 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest);
194 }; 192 };
195 193
196 } // namespace content 194 } // namespace content
197 195
198 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 196 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698