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

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

Issue 616603004: Replacing the OVERRIDE with override and FINAL with final in content/browser/renderer_host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch Created 6 years, 2 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) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_RENDERER_HOST_LEGACY_RENDER_WIDGET_HOST_WIN_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_LEGACY_RENDER_WIDGET_HOST_WIN_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_LEGACY_RENDER_WIDGET_HOST_WIN_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_LEGACY_RENDER_WIDGET_HOST_WIN_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlwin.h> 9 #include <atlwin.h>
10 #include <atlcrack.h> 10 #include <atlcrack.h>
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // Resizes the window to the bounds passed in. 100 // Resizes the window to the bounds passed in.
101 void SetBounds(const gfx::Rect& bounds); 101 void SetBounds(const gfx::Rect& bounds);
102 102
103 // The pointer to the containing RenderWidgetHostViewAura instance is passed 103 // The pointer to the containing RenderWidgetHostViewAura instance is passed
104 // here. 104 // here.
105 void set_host(RenderWidgetHostViewAura* host) { 105 void set_host(RenderWidgetHostViewAura* host) {
106 host_ = host; 106 host_ = host;
107 } 107 }
108 108
109 protected: 109 protected:
110 virtual void OnFinalMessage(HWND hwnd) OVERRIDE; 110 virtual void OnFinalMessage(HWND hwnd) override;
111 111
112 private: 112 private:
113 LegacyRenderWidgetHostHWND(HWND parent); 113 LegacyRenderWidgetHostHWND(HWND parent);
114 ~LegacyRenderWidgetHostHWND(); 114 ~LegacyRenderWidgetHostHWND();
115 115
116 bool Init(); 116 bool Init();
117 117
118 // Returns the target to which the windows input events are forwarded. 118 // Returns the target to which the windows input events are forwarded.
119 static ui::WindowEventTarget* GetWindowEventTarget(HWND parent); 119 static ui::WindowEventTarget* GetWindowEventTarget(HWND parent);
120 120
(...skipping 22 matching lines...) Expand all
143 143
144 RenderWidgetHostViewAura* host_; 144 RenderWidgetHostViewAura* host_;
145 145
146 DISALLOW_COPY_AND_ASSIGN(LegacyRenderWidgetHostHWND); 146 DISALLOW_COPY_AND_ASSIGN(LegacyRenderWidgetHostHWND);
147 }; 147 };
148 148
149 } // namespace content 149 } // namespace content
150 150
151 #endif // CONTENT_BROWSER_RENDERER_HOST_LEGACY_RENDER_WIDGET_HOST_WIN_H_ 151 #endif // CONTENT_BROWSER_RENDERER_HOST_LEGACY_RENDER_WIDGET_HOST_WIN_H_
152 152
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698