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

Side by Side Diff: chrome/browser/ui/panels/panel_host.h

Issue 1345343003: Remove lots of old blur plumbing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase. Created 5 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
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/panels/panel_host.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 CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "content/public/browser/web_contents_delegate.h" 10 #include "content/public/browser/web_contents_delegate.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 const content::OpenURLParams& params) override; 52 const content::OpenURLParams& params) override;
53 void NavigationStateChanged(content::WebContents* source, 53 void NavigationStateChanged(content::WebContents* source,
54 content::InvalidateTypes changed_flags) override; 54 content::InvalidateTypes changed_flags) override;
55 void AddNewContents(content::WebContents* source, 55 void AddNewContents(content::WebContents* source,
56 content::WebContents* new_contents, 56 content::WebContents* new_contents,
57 WindowOpenDisposition disposition, 57 WindowOpenDisposition disposition,
58 const gfx::Rect& initial_rect, 58 const gfx::Rect& initial_rect,
59 bool user_gesture, 59 bool user_gesture,
60 bool* was_blocked) override; 60 bool* was_blocked) override;
61 void ActivateContents(content::WebContents* contents) override; 61 void ActivateContents(content::WebContents* contents) override;
62 void DeactivateContents(content::WebContents* contents) override;
63 void LoadingStateChanged(content::WebContents* source, 62 void LoadingStateChanged(content::WebContents* source,
64 bool to_different_document) override; 63 bool to_different_document) override;
65 void CloseContents(content::WebContents* source) override; 64 void CloseContents(content::WebContents* source) override;
66 void MoveContents(content::WebContents* source, 65 void MoveContents(content::WebContents* source,
67 const gfx::Rect& pos) override; 66 const gfx::Rect& pos) override;
68 bool IsPopupOrPanel(const content::WebContents* source) const override; 67 bool IsPopupOrPanel(const content::WebContents* source) const override;
69 void ContentsZoomChange(bool zoom_in) override; 68 void ContentsZoomChange(bool zoom_in) override;
70 void HandleKeyboardEvent( 69 void HandleKeyboardEvent(
71 content::WebContents* source, 70 content::WebContents* source,
72 const content::NativeWebKeyboardEvent& event) override; 71 const content::NativeWebKeyboardEvent& event) override;
(...skipping 23 matching lines...) Expand all
96 95
97 scoped_ptr<content::WebContents> web_contents_; 96 scoped_ptr<content::WebContents> web_contents_;
98 97
99 // The following factory is used to close the panel via the message loop. 98 // The following factory is used to close the panel via the message loop.
100 base::WeakPtrFactory<PanelHost> weak_factory_; 99 base::WeakPtrFactory<PanelHost> weak_factory_;
101 100
102 DISALLOW_COPY_AND_ASSIGN(PanelHost); 101 DISALLOW_COPY_AND_ASSIGN(PanelHost);
103 }; 102 };
104 103
105 #endif // CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_ 104 #endif // CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/panels/panel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698