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

Side by Side Diff: chrome/browser/notifications/notification_options_menu_model.h

Issue 10693139: Remove #pragma once from chrome/browser/{tab_contents,password_manager,profiles,search_engines,noti… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_NOTIFICATIONS_NOTIFICATION_OPTIONS_MENU_MODEL_H_ 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_OPTIONS_MENU_MODEL_H_
6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_OPTIONS_MENU_MODEL_H_ 6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_OPTIONS_MENU_MODEL_H_
7 #pragma once
8 7
9 #include "chrome/browser/notifications/balloon.h" 8 #include "chrome/browser/notifications/balloon.h"
10 #include "ui/base/models/simple_menu_model.h" 9 #include "ui/base/models/simple_menu_model.h"
11 10
12 // Model for the corner-selection submenu. 11 // Model for the corner-selection submenu.
13 class CornerSelectionMenuModel : public ui::SimpleMenuModel, 12 class CornerSelectionMenuModel : public ui::SimpleMenuModel,
14 public ui::SimpleMenuModel::Delegate { 13 public ui::SimpleMenuModel::Delegate {
15 public: 14 public:
16 explicit CornerSelectionMenuModel(Balloon* balloon); 15 explicit CornerSelectionMenuModel(Balloon* balloon);
17 virtual ~CornerSelectionMenuModel(); 16 virtual ~CornerSelectionMenuModel();
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 51
53 private: 52 private:
54 Balloon* balloon_; // Not owned. 53 Balloon* balloon_; // Not owned.
55 54
56 scoped_ptr<CornerSelectionMenuModel> corner_menu_model_; 55 scoped_ptr<CornerSelectionMenuModel> corner_menu_model_;
57 56
58 DISALLOW_COPY_AND_ASSIGN(NotificationOptionsMenuModel); 57 DISALLOW_COPY_AND_ASSIGN(NotificationOptionsMenuModel);
59 }; 58 };
60 59
61 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_OPTIONS_MENU_MODEL_H_ 60 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_OPTIONS_MENU_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/notifications/notification_object_proxy.h ('k') | chrome/browser/notifications/notification_prefs_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698