mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Remove DISALLOW_ macro from libcef/ (see issue #3234)
Also perform related C++ cleanup: - Use =default instead of {} for default implementations of constructors/destructors. - Replace typedef with using.
This commit is contained in:
@@ -33,6 +33,9 @@ class CefSimpleMenuModel : public ui::MenuModel {
|
||||
// disabled.
|
||||
explicit CefSimpleMenuModel(CefMenuModelImpl* impl) : impl_(impl) {}
|
||||
|
||||
CefSimpleMenuModel(const CefSimpleMenuModel&) = delete;
|
||||
CefSimpleMenuModel& operator=(const CefSimpleMenuModel&) = delete;
|
||||
|
||||
// MenuModel methods.
|
||||
bool HasIcons() const override { return false; }
|
||||
|
||||
@@ -165,8 +168,6 @@ class CefSimpleMenuModel : public ui::MenuModel {
|
||||
|
||||
private:
|
||||
CefMenuModelImpl* impl_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(CefSimpleMenuModel);
|
||||
};
|
||||
|
||||
cef_menu_color_type_t GetMenuColorType(bool is_text,
|
||||
|
Reference in New Issue
Block a user