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

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

Issue 4399003: Deleted code associated with --enable-gpu-rendering and... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 23 matching lines...) Expand all
34 class Size; 34 class Size;
35 class Rect; 35 class Rect;
36 } 36 }
37 37
38 namespace IPC { 38 namespace IPC {
39 class Message; 39 class Message;
40 } 40 }
41 41
42 class BackingStore; 42 class BackingStore;
43 class RenderWidgetHost; 43 class RenderWidgetHost;
44 class GpuViewHost;
45 44
46 typedef CWinTraits<WS_CHILD | WS_CLIPCHILDREN | WS_CLIPSIBLINGS, 0> 45 typedef CWinTraits<WS_CHILD | WS_CLIPCHILDREN | WS_CLIPSIBLINGS, 0>
47 RenderWidgetHostHWNDTraits; 46 RenderWidgetHostHWNDTraits;
48 47
49 static const wchar_t* const kRenderWidgetHostHWNDClass = 48 static const wchar_t* const kRenderWidgetHostHWNDClass =
50 L"Chrome_RenderWidgetHostHWND"; 49 L"Chrome_RenderWidgetHostHWND";
51 50
52 /////////////////////////////////////////////////////////////////////////////// 51 ///////////////////////////////////////////////////////////////////////////////
53 // RenderWidgetHostViewWin 52 // RenderWidgetHostViewWin
54 // 53 //
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 const gfx::Rect& caret_rect); 148 const gfx::Rect& caret_rect);
150 virtual void ImeCancelComposition(); 149 virtual void ImeCancelComposition();
151 virtual void DidUpdateBackingStore( 150 virtual void DidUpdateBackingStore(
152 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, 151 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
153 const std::vector<gfx::Rect>& copy_rects); 152 const std::vector<gfx::Rect>& copy_rects);
154 virtual void RenderViewGone(); 153 virtual void RenderViewGone();
155 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh); 154 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh);
156 virtual void Destroy(); 155 virtual void Destroy();
157 virtual void SetTooltipText(const std::wstring& tooltip_text); 156 virtual void SetTooltipText(const std::wstring& tooltip_text);
158 virtual BackingStore* AllocBackingStore(const gfx::Size& size); 157 virtual BackingStore* AllocBackingStore(const gfx::Size& size);
159 virtual VideoLayer* AllocVideoLayer(const gfx::Size& size);
160 virtual void SetBackground(const SkBitmap& background); 158 virtual void SetBackground(const SkBitmap& background);
161 virtual bool ContainsNativeView(gfx::NativeView native_view) const; 159 virtual bool ContainsNativeView(gfx::NativeView native_view) const;
162 virtual void SetVisuallyDeemphasized(bool deemphasized); 160 virtual void SetVisuallyDeemphasized(bool deemphasized);
163 virtual void OnAccessibilityNotifications( 161 virtual void OnAccessibilityNotifications(
164 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); 162 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params);
165 163
166 // Implementation of NotificationObserver: 164 // Implementation of NotificationObserver:
167 virtual void Observe(NotificationType type, 165 virtual void Observe(NotificationType type,
168 const NotificationSource& source, 166 const NotificationSource& source,
169 const NotificationDetails& details); 167 const NotificationDetails& details);
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 259
262 // Create an intermediate window between the given HWND and its parent. 260 // Create an intermediate window between the given HWND and its parent.
263 HWND ReparentWindow(HWND window); 261 HWND ReparentWindow(HWND window);
264 262
265 // Whether the window should be activated. 263 // Whether the window should be activated.
266 bool IsActivatable() const; 264 bool IsActivatable() const;
267 265
268 // The associated Model. 266 // The associated Model.
269 RenderWidgetHost* render_widget_host_; 267 RenderWidgetHost* render_widget_host_;
270 268
271 // If we're doing out-of-process painting, this member will be non-NULL,
272 // indicating the gpu view we're using for the painting.
273 scoped_ptr<GpuViewHost> gpu_view_host_;
274
275 // The cursor for the page. This is passed up from the renderer. 269 // The cursor for the page. This is passed up from the renderer.
276 WebCursor current_cursor_; 270 WebCursor current_cursor_;
277 271
278 // Indicates if the page is loading. 272 // Indicates if the page is loading.
279 bool is_loading_; 273 bool is_loading_;
280 274
281 // true if we are currently tracking WM_MOUSEEXIT messages. 275 // true if we are currently tracking WM_MOUSEEXIT messages.
282 bool track_mouse_leave_; 276 bool track_mouse_leave_;
283 277
284 // Wrapper class for IME input. 278 // Wrapper class for IME input.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 // Stores the current text input type received by ImeUpdateTextInputState() 343 // Stores the current text input type received by ImeUpdateTextInputState()
350 // method. 344 // method.
351 WebKit::WebTextInputType text_input_type_; 345 WebKit::WebTextInputType text_input_type_;
352 346
353 ScopedVector<app::win::ScopedProp> props_; 347 ScopedVector<app::win::ScopedProp> props_;
354 348
355 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 349 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
356 }; 350 };
357 351
358 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 352 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698