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

Side by Side Diff: third_party/WebKit/Source/web/ColorChooserPopupUIController.h

Issue 1442543003: Oilpan: trace ColorChooserPopupUIController::m_chromeClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: leave out unrelated code tidying Created 5 years 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 19 matching lines...) Expand all
30 #include "web/ColorChooserUIController.h" 30 #include "web/ColorChooserUIController.h"
31 #include "wtf/OwnPtr.h" 31 #include "wtf/OwnPtr.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class ChromeClientImpl; 35 class ChromeClientImpl;
36 class ColorChooserClient; 36 class ColorChooserClient;
37 class PagePopup; 37 class PagePopup;
38 38
39 class ColorChooserPopupUIController final : public ColorChooserUIController, pub lic PagePopupClient { 39 class ColorChooserPopupUIController final : public ColorChooserUIController, pub lic PagePopupClient {
40 40 WILL_BE_USING_PRE_FINALIZER(ColorChooserPopupUIController, dispose);
41 public: 41 public:
42 static PassOwnPtrWillBeRawPtr<ColorChooserPopupUIController> create(LocalFra me* frame, ChromeClientImpl* chromeClient, ColorChooserClient* client) 42 static PassOwnPtrWillBeRawPtr<ColorChooserPopupUIController> create(LocalFra me* frame, ChromeClientImpl* chromeClient, ColorChooserClient* client)
43 { 43 {
44 return adoptPtrWillBeNoop(new ColorChooserPopupUIController(frame, chrom eClient, client)); 44 return adoptPtrWillBeNoop(new ColorChooserPopupUIController(frame, chrom eClient, client));
45 } 45 }
46 46
47 ~ColorChooserPopupUIController() override; 47 ~ColorChooserPopupUIController() override;
48 DECLARE_VIRTUAL_TRACE();
48 49
49 // ColorChooserUIController functions: 50 // ColorChooserUIController functions:
50 void openUI() override; 51 void openUI() override;
51 52
52 // ColorChooser functions 53 // ColorChooser functions
53 void endChooser() override; 54 void endChooser() override;
54 AXObject* rootAXObject() override; 55 AXObject* rootAXObject() override;
55 56
56 // PagePopupClient functions: 57 // PagePopupClient functions:
57 void writeDocument(SharedBuffer*) override; 58 void writeDocument(SharedBuffer*) override;
58 void selectFontsFromOwnerDocument(Document&) override { } 59 void selectFontsFromOwnerDocument(Document&) override { }
59 Locale& locale() override; 60 Locale& locale() override;
60 void setValueAndClosePopup(int, const String&) override; 61 void setValueAndClosePopup(int, const String&) override;
61 void setValue(const String&) override; 62 void setValue(const String&) override;
62 void closePopup() override; 63 void closePopup() override;
63 Element& ownerElement() override; 64 Element& ownerElement() override;
64 void didClosePopup() override; 65 void didClosePopup() override;
65 66
66 private: 67 private:
67 ColorChooserPopupUIController(LocalFrame*, ChromeClientImpl*, ColorChooserCl ient*); 68 ColorChooserPopupUIController(LocalFrame*, ChromeClientImpl*, ColorChooserCl ient*);
68 69
69 void openPopup(); 70 void openPopup();
71 void dispose();
70 72
71 ChromeClientImpl* m_chromeClient; 73 RawPtrWillBeMember<ChromeClientImpl> m_chromeClient;
72 PagePopup* m_popup; 74 PagePopup* m_popup;
73 Locale& m_locale; 75 Locale& m_locale;
74 }; 76 };
75 77
76 } // namespace blink 78 } // namespace blink
77 79
78 #endif // ColorChooserPopupUIController_h 80 #endif // ColorChooserPopupUIController_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698