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

Side by Side Diff: chrome/browser/views/options/exceptions_view.h

Issue 593024: Merge 38516 - Prevent the user from triggering multiple copies of a particula... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/249/src/
Patch Set: Created 10 years, 10 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 | « no previous file | chrome/browser/views/options/exceptions_view.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) 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_VIEWS_OPTIONS_EXCEPTIONS_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_OPTIONS_EXCEPTIONS_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_OPTIONS_EXCEPTIONS_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_OPTIONS_EXCEPTIONS_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/views/options/content_exceptions_table_model.h" 10 #include "chrome/browser/views/options/content_exceptions_table_model.h"
(...skipping 20 matching lines...) Expand all
31 // for a specific type. ExceptionsView is deleted when the window closes. 31 // for a specific type. ExceptionsView is deleted when the window closes.
32 class ExceptionsView : public ExceptionEditorView::Delegate, 32 class ExceptionsView : public ExceptionEditorView::Delegate,
33 public views::View, 33 public views::View,
34 public views::ButtonListener, 34 public views::ButtonListener,
35 public views::DialogDelegate, 35 public views::DialogDelegate,
36 public views::TableViewObserver { 36 public views::TableViewObserver {
37 public: 37 public:
38 // Shows the Exceptions window. 38 // Shows the Exceptions window.
39 static void ShowExceptionsWindow(gfx::NativeWindow parent, 39 static void ShowExceptionsWindow(gfx::NativeWindow parent,
40 HostContentSettingsMap* map, 40 HostContentSettingsMap* map,
41 ContentSettingsType type); 41 ContentSettingsType content_type);
42 42
43 virtual ~ExceptionsView(); 43 virtual ~ExceptionsView();
44 44
45 // TableViewObserver overrides: 45 // TableViewObserver overrides:
46 virtual void OnSelectionChanged(); 46 virtual void OnSelectionChanged();
47 virtual void OnDoubleClick(); 47 virtual void OnDoubleClick();
48 virtual void OnTableViewDelete(views::TableView* table_view); 48 virtual void OnTableViewDelete(views::TableView* table_view);
49 49
50 // views::ButtonListener implementation. 50 // views::ButtonListener implementation.
51 virtual void ButtonPressed(views::Button* sender, const views::Event& event); 51 virtual void ButtonPressed(views::Button* sender, const views::Event& event);
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 views::NativeButton* add_button_; 99 views::NativeButton* add_button_;
100 views::NativeButton* edit_button_; 100 views::NativeButton* edit_button_;
101 views::NativeButton* remove_button_; 101 views::NativeButton* remove_button_;
102 views::NativeButton* remove_all_button_; 102 views::NativeButton* remove_all_button_;
103 103
104 DISALLOW_COPY_AND_ASSIGN(ExceptionsView); 104 DISALLOW_COPY_AND_ASSIGN(ExceptionsView);
105 }; 105 };
106 106
107 #endif // CHROME_BROWSER_VIEWS_OPTIONS_EXCEPTIONS_VIEW_H_ 107 #endif // CHROME_BROWSER_VIEWS_OPTIONS_EXCEPTIONS_VIEW_H_
108 108
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/views/options/exceptions_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698