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

Side by Side Diff: chrome/browser/ui/cocoa/web_contents_modal_dialog_host_cocoa.h

Issue 2637403002: Fix header guards in //chrome (Closed)
Patch Set: Created 3 years, 11 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_COCOA_WEB_CONTENTS_DIALOG_HOST_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_WEB_CONTENTS_MODAL_DIALOG_HOST_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_WEB_CONTENTS_DIALOG_HOST_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_WEB_CONTENTS_MODAL_DIALOG_HOST_COCOA_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/web_modal/web_contents_modal_dialog_host.h" 9 #include "components/web_modal/web_contents_modal_dialog_host.h"
10 10
11 @class ConstrainedWindowSheetController; 11 @class ConstrainedWindowSheetController;
12 12
13 // In a Cocoa browser, the modal dialog host is a simple bridge to the 13 // In a Cocoa browser, the modal dialog host is a simple bridge to the
14 // ConstrainedWindowSheetController to get the dialog size and parent window. 14 // ConstrainedWindowSheetController to get the dialog size and parent window.
15 class WebContentsModalDialogHostCocoa 15 class WebContentsModalDialogHostCocoa
16 : public web_modal::WebContentsModalDialogHost { 16 : public web_modal::WebContentsModalDialogHost {
(...skipping 10 matching lines...) Expand all
27 27
28 // web_modal::WebContentsModalDialogHost: 28 // web_modal::WebContentsModalDialogHost:
29 gfx::Size GetMaximumDialogSize() override; 29 gfx::Size GetMaximumDialogSize() override;
30 30
31 private: 31 private:
32 ConstrainedWindowSheetController* sheet_controller_; // Weak. Owns |this|. 32 ConstrainedWindowSheetController* sheet_controller_; // Weak. Owns |this|.
33 33
34 DISALLOW_COPY_AND_ASSIGN(WebContentsModalDialogHostCocoa); 34 DISALLOW_COPY_AND_ASSIGN(WebContentsModalDialogHostCocoa);
35 }; 35 };
36 36
37 #endif // CHROME_BROWSER_UI_COCOA_WEB_CONTENTS_DIALOG_HOST_COCOA_H_ 37 #endif // CHROME_BROWSER_UI_COCOA_WEB_CONTENTS_MODAL_DIALOG_HOST_COCOA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698