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

Unified Diff: chrome/browser/views/options/exception_editor_view.h

Issue 650011: windows: Show an icon to the right indicating if the host is valid or not.... (Closed) Base URL: http://src.chromium.org/svn/trunk/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/views/options/exception_editor_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/options/exception_editor_view.h
===================================================================
--- chrome/browser/views/options/exception_editor_view.h (revision 38675)
+++ chrome/browser/views/options/exception_editor_view.h (working copy)
@@ -15,6 +15,7 @@
#include "views/controls/textfield/textfield.h"
namespace views {
+class ImageView;
class Label;
}
@@ -96,6 +97,10 @@
// Returns true if we're adding a new item.
bool is_new() const { return index_ == -1; }
+ bool IsHostValid(const std::string& host) const;
+
+ void UpdateImageView(views::ImageView* image_view, bool is_valid);
+
Delegate* delegate_;
ContentExceptionsTableModel* model_;
ActionComboboxModel cb_model_;
@@ -106,6 +111,7 @@
const ContentSetting setting_;
views::Textfield* host_tf_;
+ views::ImageView* host_iv_;
views::Combobox* action_cb_;
DISALLOW_COPY_AND_ASSIGN(ExceptionEditorView);
« no previous file with comments | « no previous file | chrome/browser/views/options/exception_editor_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698