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

Side by Side Diff: chrome/browser/ui/views/notifications/balloon_view_host.h

Issue 5841002: Finish deinlining virtual methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert parts of the balloon modifications Created 10 years 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_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_HOST_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_HOST_H_
6 #define CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_HOST_H_ 6 #define CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/notifications/balloon_host.h" 9 #include "chrome/browser/notifications/balloon_host.h"
10 #include "views/controls/native/native_view_host.h" 10 #include "views/controls/native/native_view_host.h"
(...skipping 21 matching lines...) Expand all
32 32
33 gfx::NativeView native_view() const { 33 gfx::NativeView native_view() const {
34 return native_host_->native_view(); 34 return native_host_->native_view();
35 } 35 }
36 36
37 // Initialize the view, parented to |parent|, and show it. 37 // Initialize the view, parented to |parent|, and show it.
38 void Init(gfx::NativeView parent); 38 void Init(gfx::NativeView parent);
39 39
40 protected: 40 protected:
41 virtual void InitRenderWidgetHostView(); 41 virtual void InitRenderWidgetHostView();
42 virtual RenderWidgetHostView* render_widget_host_view() const { 42 virtual RenderWidgetHostView* render_widget_host_view() const;
43 return render_widget_host_view_;
44 }
45 43
46 private: 44 private:
47 // The platform-specific widget host view. Pointer is owned by the RVH. 45 // The platform-specific widget host view. Pointer is owned by the RVH.
48 RenderWidgetHostView* render_widget_host_view_; 46 RenderWidgetHostView* render_widget_host_view_;
49 47
50 // The views-specific host view. Pointer owned by the views hierarchy. 48 // The views-specific host view. Pointer owned by the views hierarchy.
51 views::NativeViewHost* native_host_; 49 views::NativeViewHost* native_host_;
52 50
53 // The handle to the parent view. 51 // The handle to the parent view.
54 gfx::NativeView parent_native_view_; 52 gfx::NativeView parent_native_view_;
55 53
56 DISALLOW_COPY_AND_ASSIGN(BalloonViewHost); 54 DISALLOW_COPY_AND_ASSIGN(BalloonViewHost);
57 }; 55 };
58 56
59 #endif // CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_HOST_H_ 57 #endif // CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698