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

Side by Side Diff: content/browser/web_contents/web_contents_view_win.h

Issue 10833013: Coverity: Initialize member variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix. Created 8 years, 4 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 | « chrome/browser/profiles/profile_io_data.cc ('k') | net/disk_cache/sparse_control.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) 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_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/timer.h" 10 #include "base/timer.h"
(...skipping 13 matching lines...) Expand all
24 } 24 }
25 25
26 namespace ui { 26 namespace ui {
27 class HWNDMessageFilter; 27 class HWNDMessageFilter;
28 } 28 }
29 29
30 // An implementation of WebContentsView for Windows. 30 // An implementation of WebContentsView for Windows.
31 class CONTENT_EXPORT WebContentsViewWin 31 class CONTENT_EXPORT WebContentsViewWin
32 : public content::WebContentsView, 32 : public content::WebContentsView,
33 public content::RenderViewHostDelegateView, 33 public content::RenderViewHostDelegateView,
34 public ui::WindowImpl { 34 public ui::WindowImpl {
35 public: 35 public:
36 WebContentsViewWin(WebContentsImpl* web_contents, 36 WebContentsViewWin(WebContentsImpl* web_contents,
37 content::WebContentsViewDelegate* delegate); 37 content::WebContentsViewDelegate* delegate);
38 virtual ~WebContentsViewWin(); 38 virtual ~WebContentsViewWin();
39 39
40 BEGIN_MSG_MAP_EX(WebContentsViewWin) 40 BEGIN_MSG_MAP_EX(WebContentsViewWin)
41 MESSAGE_HANDLER(WM_CREATE, OnCreate) 41 MESSAGE_HANDLER(WM_CREATE, OnCreate)
42 MESSAGE_HANDLER(WM_DESTROY, OnDestroy) 42 MESSAGE_HANDLER(WM_DESTROY, OnDestroy)
43 MESSAGE_HANDLER(WM_WINDOWPOSCHANGED, OnWindowPosChanged) 43 MESSAGE_HANDLER(WM_WINDOWPOSCHANGED, OnWindowPosChanged)
44 MESSAGE_HANDLER(WM_LBUTTONDOWN, OnMouseDown) 44 MESSAGE_HANDLER(WM_LBUTTONDOWN, OnMouseDown)
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 145
146 // Used to close the tab after the stack has unwound. 146 // Used to close the tab after the stack has unwound.
147 base::OneShotTimer<WebContentsViewWin> close_tab_timer_; 147 base::OneShotTimer<WebContentsViewWin> close_tab_timer_;
148 148
149 scoped_ptr<ui::HWNDMessageFilter> hwnd_message_filter_; 149 scoped_ptr<ui::HWNDMessageFilter> hwnd_message_filter_;
150 150
151 DISALLOW_COPY_AND_ASSIGN(WebContentsViewWin); 151 DISALLOW_COPY_AND_ASSIGN(WebContentsViewWin);
152 }; 152 };
153 153
154 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ 154 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_io_data.cc ('k') | net/disk_cache/sparse_control.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698