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

Side by Side Diff: services/ui/ws/window_tree.h

Issue 2603893002: Remove mojo::Map. (Closed)
Patch Set: Created 3 years, 11 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 SERVICES_UI_WS_WINDOW_TREE_H_ 5 #ifndef SERVICES_UI_WS_WINDOW_TREE_H_
6 #define SERVICES_UI_WS_WINDOW_TREE_H_ 6 #define SERVICES_UI_WS_WINDOW_TREE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 const ServerWindow* window) const override; 493 const ServerWindow* window) const override;
494 494
495 // DragSource: 495 // DragSource:
496 void OnDragCompleted(bool success, uint32_t action_taken) override; 496 void OnDragCompleted(bool success, uint32_t action_taken) override;
497 ServerWindow* GetWindowById(const WindowId& id) override; 497 ServerWindow* GetWindowById(const WindowId& id) override;
498 DragTargetConnection* GetDragTargetForWindow( 498 DragTargetConnection* GetDragTargetForWindow(
499 const ServerWindow* window) override; 499 const ServerWindow* window) override;
500 500
501 // DragTargetConnection: 501 // DragTargetConnection:
502 void PerformOnDragDropStart( 502 void PerformOnDragDropStart(
503 mojo::Map<mojo::String, mojo::Array<uint8_t>> mime_data) override; 503 std::unordered_map<std::string, std::vector<uint8_t>> mime_data) override;
504 void PerformOnDragEnter( 504 void PerformOnDragEnter(
505 const ServerWindow* window, 505 const ServerWindow* window,
506 uint32_t event_flags, 506 uint32_t event_flags,
507 const gfx::Point& cursor_offset, 507 const gfx::Point& cursor_offset,
508 uint32_t effect_bitmask, 508 uint32_t effect_bitmask,
509 const base::Callback<void(uint32_t)>& callback) override; 509 const base::Callback<void(uint32_t)>& callback) override;
510 void PerformOnDragOver( 510 void PerformOnDragOver(
511 const ServerWindow* window, 511 const ServerWindow* window,
512 uint32_t event_flags, 512 uint32_t event_flags,
513 const gfx::Point& cursor_offset, 513 const gfx::Point& cursor_offset,
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 waiting_for_top_level_window_info_; 578 waiting_for_top_level_window_info_;
579 bool embedder_intercepts_events_ = false; 579 bool embedder_intercepts_events_ = false;
580 580
581 DISALLOW_COPY_AND_ASSIGN(WindowTree); 581 DISALLOW_COPY_AND_ASSIGN(WindowTree);
582 }; 582 };
583 583
584 } // namespace ws 584 } // namespace ws
585 } // namespace ui 585 } // namespace ui
586 586
587 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ 587 #endif // SERVICES_UI_WS_WINDOW_TREE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698